AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
DescribeStreamRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kinesis/KinesisRequest.h>
9#include <aws/kinesis/Kinesis_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Kinesis {
15namespace Model {
16
24 public:
25 AWS_KINESIS_API DescribeStreamRequest() = 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 "DescribeStream"; }
32
33 AWS_KINESIS_API Aws::String SerializePayload() const override;
34
36
40 AWS_KINESIS_API EndpointParameters GetEndpointContextParams() const override;
41
43
46 inline const Aws::String& GetStreamName() const { return m_streamName; }
47 inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; }
48 template <typename StreamNameT = Aws::String>
49 void SetStreamName(StreamNameT&& value) {
50 m_streamNameHasBeenSet = true;
51 m_streamName = std::forward<StreamNameT>(value);
52 }
53 template <typename StreamNameT = Aws::String>
54 DescribeStreamRequest& WithStreamName(StreamNameT&& value) {
55 SetStreamName(std::forward<StreamNameT>(value));
56 return *this;
57 }
59
61
66 inline int GetLimit() const { return m_limit; }
67 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
68 inline void SetLimit(int value) {
69 m_limitHasBeenSet = true;
70 m_limit = value;
71 }
72 inline DescribeStreamRequest& WithLimit(int value) {
73 SetLimit(value);
74 return *this;
75 }
77
79
86 inline const Aws::String& GetExclusiveStartShardId() const { return m_exclusiveStartShardId; }
87 inline bool ExclusiveStartShardIdHasBeenSet() const { return m_exclusiveStartShardIdHasBeenSet; }
88 template <typename ExclusiveStartShardIdT = Aws::String>
89 void SetExclusiveStartShardId(ExclusiveStartShardIdT&& value) {
90 m_exclusiveStartShardIdHasBeenSet = true;
91 m_exclusiveStartShardId = std::forward<ExclusiveStartShardIdT>(value);
92 }
93 template <typename ExclusiveStartShardIdT = Aws::String>
94 DescribeStreamRequest& WithExclusiveStartShardId(ExclusiveStartShardIdT&& value) {
95 SetExclusiveStartShardId(std::forward<ExclusiveStartShardIdT>(value));
96 return *this;
97 }
99
101
104 inline const Aws::String& GetStreamARN() const { return m_streamARN; }
105 inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; }
106 template <typename StreamARNT = Aws::String>
107 void SetStreamARN(StreamARNT&& value) {
108 m_streamARNHasBeenSet = true;
109 m_streamARN = std::forward<StreamARNT>(value);
110 }
111 template <typename StreamARNT = Aws::String>
113 SetStreamARN(std::forward<StreamARNT>(value));
114 return *this;
115 }
117
119
122 inline const Aws::String& GetStreamId() const { return m_streamId; }
123 inline bool StreamIdHasBeenSet() const { return m_streamIdHasBeenSet; }
124 template <typename StreamIdT = Aws::String>
125 void SetStreamId(StreamIdT&& value) {
126 m_streamIdHasBeenSet = true;
127 m_streamId = std::forward<StreamIdT>(value);
128 }
129 template <typename StreamIdT = Aws::String>
131 SetStreamId(std::forward<StreamIdT>(value));
132 return *this;
133 }
135 private:
136 Aws::String m_streamName;
137
138 int m_limit{0};
139
140 Aws::String m_exclusiveStartShardId;
141
142 Aws::String m_streamARN;
143
144 Aws::String m_streamId;
145 bool m_streamNameHasBeenSet = false;
146 bool m_limitHasBeenSet = false;
147 bool m_exclusiveStartShardIdHasBeenSet = false;
148 bool m_streamARNHasBeenSet = false;
149 bool m_streamIdHasBeenSet = false;
150};
151
152} // namespace Model
153} // namespace Kinesis
154} // namespace Aws
Aws::Endpoint::EndpointParameters EndpointParameters
AWS_KINESIS_API Aws::String SerializePayload() const override
DescribeStreamRequest & WithStreamId(StreamIdT &&value)
void SetExclusiveStartShardId(ExclusiveStartShardIdT &&value)
AWS_KINESIS_API EndpointParameters GetEndpointContextParams() const override
DescribeStreamRequest & WithStreamName(StreamNameT &&value)
virtual const char * GetServiceRequestName() const override
DescribeStreamRequest & WithStreamARN(StreamARNT &&value)
AWS_KINESIS_API DescribeStreamRequest()=default
DescribeStreamRequest & WithLimit(int value)
const Aws::String & GetExclusiveStartShardId() const
DescribeStreamRequest & WithExclusiveStartShardId(ExclusiveStartShardIdT &&value)
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