AWS SDK for C++  1.9.104
AWS SDK for C++
ListStreamConsumersRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Kinesis
16 {
17 namespace Model
18 {
19 
23  {
24  public:
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 "ListStreamConsumers"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
44  inline const Aws::String& GetStreamARN() const{ return m_streamARN; }
45 
52  inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; }
53 
60  inline void SetStreamARN(const Aws::String& value) { m_streamARNHasBeenSet = true; m_streamARN = value; }
61 
68  inline void SetStreamARN(Aws::String&& value) { m_streamARNHasBeenSet = true; m_streamARN = std::move(value); }
69 
76  inline void SetStreamARN(const char* value) { m_streamARNHasBeenSet = true; m_streamARN.assign(value); }
77 
84  inline ListStreamConsumersRequest& WithStreamARN(const Aws::String& value) { SetStreamARN(value); return *this;}
85 
92  inline ListStreamConsumersRequest& WithStreamARN(Aws::String&& value) { SetStreamARN(std::move(value)); return *this;}
93 
100  inline ListStreamConsumersRequest& WithStreamARN(const char* value) { SetStreamARN(value); return *this;}
101 
102 
126  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
127 
151  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
152 
176  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
177 
201  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
202 
226  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
227 
251  inline ListStreamConsumersRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
252 
276  inline ListStreamConsumersRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
277 
301  inline ListStreamConsumersRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
302 
303 
308  inline int GetMaxResults() const{ return m_maxResults; }
309 
314  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
315 
320  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
321 
326  inline ListStreamConsumersRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
327 
328 
336  inline const Aws::Utils::DateTime& GetStreamCreationTimestamp() const{ return m_streamCreationTimestamp; }
337 
345  inline bool StreamCreationTimestampHasBeenSet() const { return m_streamCreationTimestampHasBeenSet; }
346 
354  inline void SetStreamCreationTimestamp(const Aws::Utils::DateTime& value) { m_streamCreationTimestampHasBeenSet = true; m_streamCreationTimestamp = value; }
355 
363  inline void SetStreamCreationTimestamp(Aws::Utils::DateTime&& value) { m_streamCreationTimestampHasBeenSet = true; m_streamCreationTimestamp = std::move(value); }
364 
372  inline ListStreamConsumersRequest& WithStreamCreationTimestamp(const Aws::Utils::DateTime& value) { SetStreamCreationTimestamp(value); return *this;}
373 
381  inline ListStreamConsumersRequest& WithStreamCreationTimestamp(Aws::Utils::DateTime&& value) { SetStreamCreationTimestamp(std::move(value)); return *this;}
382 
383  private:
384 
385  Aws::String m_streamARN;
386  bool m_streamARNHasBeenSet;
387 
388  Aws::String m_nextToken;
389  bool m_nextTokenHasBeenSet;
390 
391  int m_maxResults;
392  bool m_maxResultsHasBeenSet;
393 
394  Aws::Utils::DateTime m_streamCreationTimestamp;
395  bool m_streamCreationTimestampHasBeenSet;
396  };
397 
398 } // namespace Model
399 } // namespace Kinesis
400 } // namespace Aws
Aws::Kinesis::Model::ListStreamConsumersRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListStreamConsumersRequest.h:320
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::Kinesis::Model::ListStreamConsumersRequest::SetStreamCreationTimestamp
void SetStreamCreationTimestamp(Aws::Utils::DateTime &&value)
Definition: ListStreamConsumersRequest.h:363
Aws::Kinesis::Model::ListStreamConsumersRequest::WithNextToken
ListStreamConsumersRequest & WithNextToken(const Aws::String &value)
Definition: ListStreamConsumersRequest.h:251
Aws::Kinesis::Model::ListStreamConsumersRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListStreamConsumersRequest.h:314
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Kinesis::Model::ListStreamConsumersRequest::WithStreamARN
ListStreamConsumersRequest & WithStreamARN(const char *value)
Definition: ListStreamConsumersRequest.h:100
Aws::Kinesis::Model::ListStreamConsumersRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DateTime.h
Aws::Kinesis::Model::ListStreamConsumersRequest
Definition: ListStreamConsumersRequest.h:23
Aws::Kinesis::Model::ListStreamConsumersRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListStreamConsumersRequest.h:201
AWS_KINESIS_API
#define AWS_KINESIS_API
Definition: Kinesis_EXPORTS.h:28
Aws::Kinesis::Model::ListStreamConsumersRequest::SetStreamARN
void SetStreamARN(const char *value)
Definition: ListStreamConsumersRequest.h:76
KinesisRequest.h
Aws::Kinesis::Model::ListStreamConsumersRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListStreamConsumersRequest.h:151
Aws::Kinesis::Model::ListStreamConsumersRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListStreamConsumersRequest.h:126
Aws::Kinesis::Model::ListStreamConsumersRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListStreamConsumersRequest.h:226
Aws::Kinesis::Model::ListStreamConsumersRequest::GetStreamARN
const Aws::String & GetStreamARN() const
Definition: ListStreamConsumersRequest.h:44
Aws::Kinesis::Model::ListStreamConsumersRequest::WithNextToken
ListStreamConsumersRequest & WithNextToken(const char *value)
Definition: ListStreamConsumersRequest.h:301
Aws::Kinesis::Model::ListStreamConsumersRequest::GetStreamCreationTimestamp
const Aws::Utils::DateTime & GetStreamCreationTimestamp() const
Definition: ListStreamConsumersRequest.h:336
Aws::Kinesis::Model::ListStreamConsumersRequest::WithNextToken
ListStreamConsumersRequest & WithNextToken(Aws::String &&value)
Definition: ListStreamConsumersRequest.h:276
Aws::Kinesis::Model::ListStreamConsumersRequest::SetStreamARN
void SetStreamARN(Aws::String &&value)
Definition: ListStreamConsumersRequest.h:68
Aws::Kinesis::Model::ListStreamConsumersRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListStreamConsumersRequest.h:176
AWSString.h
Aws::Kinesis::KinesisRequest
Definition: KinesisRequest.h:17
Aws::Kinesis::Model::ListStreamConsumersRequest::WithMaxResults
ListStreamConsumersRequest & WithMaxResults(int value)
Definition: ListStreamConsumersRequest.h:326
Aws::Kinesis::Model::ListStreamConsumersRequest::WithStreamCreationTimestamp
ListStreamConsumersRequest & WithStreamCreationTimestamp(Aws::Utils::DateTime &&value)
Definition: ListStreamConsumersRequest.h:381
Kinesis_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Kinesis::Model::ListStreamConsumersRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Kinesis::Model::ListStreamConsumersRequest::WithStreamARN
ListStreamConsumersRequest & WithStreamARN(const Aws::String &value)
Definition: ListStreamConsumersRequest.h:84
Aws::Kinesis::Model::ListStreamConsumersRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListStreamConsumersRequest.h:31
Aws::Kinesis::Model::ListStreamConsumersRequest::GetMaxResults
int GetMaxResults() const
Definition: ListStreamConsumersRequest.h:308
Aws::Kinesis::Model::ListStreamConsumersRequest::StreamARNHasBeenSet
bool StreamARNHasBeenSet() const
Definition: ListStreamConsumersRequest.h:52
Aws::Kinesis::Model::ListStreamConsumersRequest::ListStreamConsumersRequest
ListStreamConsumersRequest()
Aws::Kinesis::Model::ListStreamConsumersRequest::WithStreamARN
ListStreamConsumersRequest & WithStreamARN(Aws::String &&value)
Definition: ListStreamConsumersRequest.h:92
Aws::Kinesis::Model::ListStreamConsumersRequest::WithStreamCreationTimestamp
ListStreamConsumersRequest & WithStreamCreationTimestamp(const Aws::Utils::DateTime &value)
Definition: ListStreamConsumersRequest.h:372
Aws::Kinesis::Model::ListStreamConsumersRequest::SetStreamCreationTimestamp
void SetStreamCreationTimestamp(const Aws::Utils::DateTime &value)
Definition: ListStreamConsumersRequest.h:354
Aws::Kinesis::Model::ListStreamConsumersRequest::SetStreamARN
void SetStreamARN(const Aws::String &value)
Definition: ListStreamConsumersRequest.h:60
Aws::Kinesis::Model::ListStreamConsumersRequest::StreamCreationTimestampHasBeenSet
bool StreamCreationTimestampHasBeenSet() const
Definition: ListStreamConsumersRequest.h:345