AWS SDK for C++  1.8.95
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 
35  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
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
virtual const char * GetServiceRequestName() const override
ListStreamConsumersRequest & WithStreamARN(Aws::String &&value)
ListStreamConsumersRequest & WithStreamCreationTimestamp(Aws::Utils::DateTime &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
ListStreamConsumersRequest & WithNextToken(const Aws::String &value)
ListStreamConsumersRequest & WithStreamARN(const char *value)
void SetStreamCreationTimestamp(const Aws::Utils::DateTime &value)
#define AWS_KINESIS_API
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
const Aws::Utils::DateTime & GetStreamCreationTimestamp() const
ListStreamConsumersRequest & WithStreamARN(const Aws::String &value)
ListStreamConsumersRequest & WithNextToken(const char *value)
ListStreamConsumersRequest & WithStreamCreationTimestamp(const Aws::Utils::DateTime &value)
ListStreamConsumersRequest & WithNextToken(Aws::String &&value)
void SetStreamCreationTimestamp(Aws::Utils::DateTime &&value)
ListStreamConsumersRequest & WithMaxResults(int value)