AWS SDK for C++

AWS SDK for C++ Version 1.11.945

Loading...
Searching...
No Matches
DeleteStreamRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dsql/DSQLRequest.h>
10#include <aws/dsql/DSQL_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace DSQL {
19namespace Model {
20
24 public:
25 AWS_DSQL_API DeleteStreamRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DeleteStream"; }
32
33 AWS_DSQL_API Aws::String SerializePayload() const override;
34
35 AWS_DSQL_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
36
38
41 inline const Aws::String& GetClusterIdentifier() const { return m_clusterIdentifier; }
42 inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
43 template <typename ClusterIdentifierT = Aws::String>
44 void SetClusterIdentifier(ClusterIdentifierT&& value) {
45 m_clusterIdentifierHasBeenSet = true;
46 m_clusterIdentifier = std::forward<ClusterIdentifierT>(value);
47 }
48 template <typename ClusterIdentifierT = Aws::String>
49 DeleteStreamRequest& WithClusterIdentifier(ClusterIdentifierT&& value) {
50 SetClusterIdentifier(std::forward<ClusterIdentifierT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetStreamIdentifier() const { return m_streamIdentifier; }
60 inline bool StreamIdentifierHasBeenSet() const { return m_streamIdentifierHasBeenSet; }
61 template <typename StreamIdentifierT = Aws::String>
62 void SetStreamIdentifier(StreamIdentifierT&& value) {
63 m_streamIdentifierHasBeenSet = true;
64 m_streamIdentifier = std::forward<StreamIdentifierT>(value);
65 }
66 template <typename StreamIdentifierT = Aws::String>
67 DeleteStreamRequest& WithStreamIdentifier(StreamIdentifierT&& value) {
68 SetStreamIdentifier(std::forward<StreamIdentifierT>(value));
69 return *this;
70 }
72
74
83 inline const Aws::String& GetClientToken() const { return m_clientToken; }
84 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
85 template <typename ClientTokenT = Aws::String>
86 void SetClientToken(ClientTokenT&& value) {
87 m_clientTokenHasBeenSet = true;
88 m_clientToken = std::forward<ClientTokenT>(value);
89 }
90 template <typename ClientTokenT = Aws::String>
91 DeleteStreamRequest& WithClientToken(ClientTokenT&& value) {
92 SetClientToken(std::forward<ClientTokenT>(value));
93 return *this;
94 }
96 private:
97 Aws::String m_clusterIdentifier;
98
99 Aws::String m_streamIdentifier;
100
102 bool m_clusterIdentifierHasBeenSet = false;
103 bool m_streamIdentifierHasBeenSet = false;
104 bool m_clientTokenHasBeenSet = true;
105};
106
107} // namespace Model
108} // namespace DSQL
109} // namespace Aws
AWS_DSQL_API DeleteStreamRequest()=default
const Aws::String & GetClientToken() const
AWS_DSQL_API Aws::String SerializePayload() const override
DeleteStreamRequest & WithClientToken(ClientTokenT &&value)
const Aws::String & GetStreamIdentifier() const
AWS_DSQL_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetClientToken(ClientTokenT &&value)
virtual const char * GetServiceRequestName() const override
void SetStreamIdentifier(StreamIdentifierT &&value)
DeleteStreamRequest & WithStreamIdentifier(StreamIdentifierT &&value)
const Aws::String & GetClusterIdentifier() const
void SetClusterIdentifier(ClusterIdentifierT &&value)
DeleteStreamRequest & WithClusterIdentifier(ClusterIdentifierT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String