AWS SDK for C++  1.9.40
AWS SDK for C++
DeregisterStreamConsumerRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Kinesis
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "DeregisterStreamConsumer"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
43  inline const Aws::String& GetStreamARN() const{ return m_streamARN; }
44 
51  inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; }
52 
59  inline void SetStreamARN(const Aws::String& value) { m_streamARNHasBeenSet = true; m_streamARN = value; }
60 
67  inline void SetStreamARN(Aws::String&& value) { m_streamARNHasBeenSet = true; m_streamARN = std::move(value); }
68 
75  inline void SetStreamARN(const char* value) { m_streamARNHasBeenSet = true; m_streamARN.assign(value); }
76 
83  inline DeregisterStreamConsumerRequest& WithStreamARN(const Aws::String& value) { SetStreamARN(value); return *this;}
84 
91  inline DeregisterStreamConsumerRequest& WithStreamARN(Aws::String&& value) { SetStreamARN(std::move(value)); return *this;}
92 
99  inline DeregisterStreamConsumerRequest& WithStreamARN(const char* value) { SetStreamARN(value); return *this;}
100 
101 
105  inline const Aws::String& GetConsumerName() const{ return m_consumerName; }
106 
110  inline bool ConsumerNameHasBeenSet() const { return m_consumerNameHasBeenSet; }
111 
115  inline void SetConsumerName(const Aws::String& value) { m_consumerNameHasBeenSet = true; m_consumerName = value; }
116 
120  inline void SetConsumerName(Aws::String&& value) { m_consumerNameHasBeenSet = true; m_consumerName = std::move(value); }
121 
125  inline void SetConsumerName(const char* value) { m_consumerNameHasBeenSet = true; m_consumerName.assign(value); }
126 
130  inline DeregisterStreamConsumerRequest& WithConsumerName(const Aws::String& value) { SetConsumerName(value); return *this;}
131 
135  inline DeregisterStreamConsumerRequest& WithConsumerName(Aws::String&& value) { SetConsumerName(std::move(value)); return *this;}
136 
140  inline DeregisterStreamConsumerRequest& WithConsumerName(const char* value) { SetConsumerName(value); return *this;}
141 
142 
150  inline const Aws::String& GetConsumerARN() const{ return m_consumerARN; }
151 
159  inline bool ConsumerARNHasBeenSet() const { return m_consumerARNHasBeenSet; }
160 
168  inline void SetConsumerARN(const Aws::String& value) { m_consumerARNHasBeenSet = true; m_consumerARN = value; }
169 
177  inline void SetConsumerARN(Aws::String&& value) { m_consumerARNHasBeenSet = true; m_consumerARN = std::move(value); }
178 
186  inline void SetConsumerARN(const char* value) { m_consumerARNHasBeenSet = true; m_consumerARN.assign(value); }
187 
195  inline DeregisterStreamConsumerRequest& WithConsumerARN(const Aws::String& value) { SetConsumerARN(value); return *this;}
196 
204  inline DeregisterStreamConsumerRequest& WithConsumerARN(Aws::String&& value) { SetConsumerARN(std::move(value)); return *this;}
205 
213  inline DeregisterStreamConsumerRequest& WithConsumerARN(const char* value) { SetConsumerARN(value); return *this;}
214 
215  private:
216 
217  Aws::String m_streamARN;
218  bool m_streamARNHasBeenSet;
219 
220  Aws::String m_consumerName;
221  bool m_consumerNameHasBeenSet;
222 
223  Aws::String m_consumerARN;
224  bool m_consumerARNHasBeenSet;
225  };
226 
227 } // namespace Model
228 } // namespace Kinesis
229 } // namespace Aws
Aws::Kinesis::Model::DeregisterStreamConsumerRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Kinesis::Model::DeregisterStreamConsumerRequest::GetStreamARN
const Aws::String & GetStreamARN() const
Definition: DeregisterStreamConsumerRequest.h:43
Aws::Kinesis::Model::DeregisterStreamConsumerRequest::SetConsumerARN
void SetConsumerARN(const Aws::String &value)
Definition: DeregisterStreamConsumerRequest.h:168
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Kinesis::Model::DeregisterStreamConsumerRequest::WithConsumerName
DeregisterStreamConsumerRequest & WithConsumerName(const Aws::String &value)
Definition: DeregisterStreamConsumerRequest.h:130
Aws::Kinesis::Model::DeregisterStreamConsumerRequest::SetConsumerName
void SetConsumerName(Aws::String &&value)
Definition: DeregisterStreamConsumerRequest.h:120
Aws::Kinesis::Model::DeregisterStreamConsumerRequest::GetConsumerName
const Aws::String & GetConsumerName() const
Definition: DeregisterStreamConsumerRequest.h:105
Aws::Kinesis::Model::DeregisterStreamConsumerRequest::DeregisterStreamConsumerRequest
DeregisterStreamConsumerRequest()
Aws::Kinesis::Model::DeregisterStreamConsumerRequest::WithConsumerARN
DeregisterStreamConsumerRequest & WithConsumerARN(Aws::String &&value)
Definition: DeregisterStreamConsumerRequest.h:204
Aws::Kinesis::Model::DeregisterStreamConsumerRequest::WithStreamARN
DeregisterStreamConsumerRequest & WithStreamARN(Aws::String &&value)
Definition: DeregisterStreamConsumerRequest.h:91
Aws::Kinesis::Model::DeregisterStreamConsumerRequest::StreamARNHasBeenSet
bool StreamARNHasBeenSet() const
Definition: DeregisterStreamConsumerRequest.h:51
AWS_KINESIS_API
#define AWS_KINESIS_API
Definition: Kinesis_EXPORTS.h:28
Aws::Kinesis::Model::DeregisterStreamConsumerRequest::SerializePayload
Aws::String SerializePayload() const override
KinesisRequest.h
Aws::Kinesis::Model::DeregisterStreamConsumerRequest::SetStreamARN
void SetStreamARN(Aws::String &&value)
Definition: DeregisterStreamConsumerRequest.h:67
Aws::Kinesis::Model::DeregisterStreamConsumerRequest::GetConsumerARN
const Aws::String & GetConsumerARN() const
Definition: DeregisterStreamConsumerRequest.h:150
Aws::Kinesis::Model::DeregisterStreamConsumerRequest::WithConsumerName
DeregisterStreamConsumerRequest & WithConsumerName(const char *value)
Definition: DeregisterStreamConsumerRequest.h:140
Aws::Kinesis::Model::DeregisterStreamConsumerRequest::SetConsumerARN
void SetConsumerARN(const char *value)
Definition: DeregisterStreamConsumerRequest.h:186
AWSString.h
Aws::Kinesis::Model::DeregisterStreamConsumerRequest::SetStreamARN
void SetStreamARN(const Aws::String &value)
Definition: DeregisterStreamConsumerRequest.h:59
Aws::Kinesis::KinesisRequest
Definition: KinesisRequest.h:17
Aws::Kinesis::Model::DeregisterStreamConsumerRequest::WithConsumerARN
DeregisterStreamConsumerRequest & WithConsumerARN(const Aws::String &value)
Definition: DeregisterStreamConsumerRequest.h:195
Kinesis_EXPORTS.h
Aws::Kinesis::Model::DeregisterStreamConsumerRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeregisterStreamConsumerRequest.h:30
Aws::Kinesis::Model::DeregisterStreamConsumerRequest::ConsumerNameHasBeenSet
bool ConsumerNameHasBeenSet() const
Definition: DeregisterStreamConsumerRequest.h:110
Aws
Definition: AccessManagementClient.h:15
Aws::Kinesis::Model::DeregisterStreamConsumerRequest::SetConsumerName
void SetConsumerName(const Aws::String &value)
Definition: DeregisterStreamConsumerRequest.h:115
Aws::Kinesis::Model::DeregisterStreamConsumerRequest::WithConsumerARN
DeregisterStreamConsumerRequest & WithConsumerARN(const char *value)
Definition: DeregisterStreamConsumerRequest.h:213
Aws::Kinesis::Model::DeregisterStreamConsumerRequest::WithStreamARN
DeregisterStreamConsumerRequest & WithStreamARN(const char *value)
Definition: DeregisterStreamConsumerRequest.h:99
Aws::Kinesis::Model::DeregisterStreamConsumerRequest::ConsumerARNHasBeenSet
bool ConsumerARNHasBeenSet() const
Definition: DeregisterStreamConsumerRequest.h:159
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Kinesis::Model::DeregisterStreamConsumerRequest::SetConsumerName
void SetConsumerName(const char *value)
Definition: DeregisterStreamConsumerRequest.h:125
Aws::Kinesis::Model::DeregisterStreamConsumerRequest::SetConsumerARN
void SetConsumerARN(Aws::String &&value)
Definition: DeregisterStreamConsumerRequest.h:177
Aws::Kinesis::Model::DeregisterStreamConsumerRequest
Definition: DeregisterStreamConsumerRequest.h:22
Aws::Kinesis::Model::DeregisterStreamConsumerRequest::WithStreamARN
DeregisterStreamConsumerRequest & WithStreamARN(const Aws::String &value)
Definition: DeregisterStreamConsumerRequest.h:83
Aws::Kinesis::Model::DeregisterStreamConsumerRequest::WithConsumerName
DeregisterStreamConsumerRequest & WithConsumerName(Aws::String &&value)
Definition: DeregisterStreamConsumerRequest.h:135
Aws::Kinesis::Model::DeregisterStreamConsumerRequest::SetStreamARN
void SetStreamARN(const char *value)
Definition: DeregisterStreamConsumerRequest.h:75