AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListStreamConsumersRequest.h
1
6#pragma once
7#include <aws/kinesis/Kinesis_EXPORTS.h>
8#include <aws/kinesis/KinesisRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Kinesis
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_KINESIS_API ListStreamConsumersRequest();
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_KINESIS_API Aws::String SerializePayload() const override;
34
36
40 AWS_KINESIS_API EndpointParameters GetEndpointContextParams() const override;
41
43
49 inline const Aws::String& GetStreamARN() const{ return m_streamARN; }
50 inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; }
51 inline void SetStreamARN(const Aws::String& value) { m_streamARNHasBeenSet = true; m_streamARN = value; }
52 inline void SetStreamARN(Aws::String&& value) { m_streamARNHasBeenSet = true; m_streamARN = std::move(value); }
53 inline void SetStreamARN(const char* value) { m_streamARNHasBeenSet = true; m_streamARN.assign(value); }
54 inline ListStreamConsumersRequest& WithStreamARN(const Aws::String& value) { SetStreamARN(value); return *this;}
55 inline ListStreamConsumersRequest& WithStreamARN(Aws::String&& value) { SetStreamARN(std::move(value)); return *this;}
56 inline ListStreamConsumersRequest& WithStreamARN(const char* value) { SetStreamARN(value); return *this;}
58
60
83 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
84 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
85 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
86 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
87 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
88 inline ListStreamConsumersRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
89 inline ListStreamConsumersRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
90 inline ListStreamConsumersRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
92
94
99 inline int GetMaxResults() const{ return m_maxResults; }
100 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
101 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
102 inline ListStreamConsumersRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
104
106
113 inline const Aws::Utils::DateTime& GetStreamCreationTimestamp() const{ return m_streamCreationTimestamp; }
114 inline bool StreamCreationTimestampHasBeenSet() const { return m_streamCreationTimestampHasBeenSet; }
115 inline void SetStreamCreationTimestamp(const Aws::Utils::DateTime& value) { m_streamCreationTimestampHasBeenSet = true; m_streamCreationTimestamp = value; }
116 inline void SetStreamCreationTimestamp(Aws::Utils::DateTime&& value) { m_streamCreationTimestampHasBeenSet = true; m_streamCreationTimestamp = std::move(value); }
120 private:
121
122 Aws::String m_streamARN;
123 bool m_streamARNHasBeenSet = false;
124
125 Aws::String m_nextToken;
126 bool m_nextTokenHasBeenSet = false;
127
128 int m_maxResults;
129 bool m_maxResultsHasBeenSet = false;
130
131 Aws::Utils::DateTime m_streamCreationTimestamp;
132 bool m_streamCreationTimestampHasBeenSet = false;
133 };
134
135} // namespace Model
136} // namespace Kinesis
137} // namespace Aws
Aws::Endpoint::EndpointParameters EndpointParameters
ListStreamConsumersRequest & WithNextToken(Aws::String &&value)
ListStreamConsumersRequest & WithMaxResults(int value)
ListStreamConsumersRequest & WithStreamCreationTimestamp(Aws::Utils::DateTime &&value)
ListStreamConsumersRequest & WithNextToken(const char *value)
ListStreamConsumersRequest & WithNextToken(const Aws::String &value)
void SetStreamCreationTimestamp(Aws::Utils::DateTime &&value)
ListStreamConsumersRequest & WithStreamARN(const char *value)
ListStreamConsumersRequest & WithStreamARN(Aws::String &&value)
ListStreamConsumersRequest & WithStreamCreationTimestamp(const Aws::Utils::DateTime &value)
void SetStreamCreationTimestamp(const Aws::Utils::DateTime &value)
AWS_KINESIS_API EndpointParameters GetEndpointContextParams() const override
ListStreamConsumersRequest & WithStreamARN(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
AWS_KINESIS_API Aws::String SerializePayload() const override
const Aws::Utils::DateTime & GetStreamCreationTimestamp() const
AWS_KINESIS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String