AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
UpdateShardCountRequest.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#include <aws/kinesis/model/ScalingType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Kinesis {
16namespace Model {
17
21 public:
22 AWS_KINESIS_API UpdateShardCountRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateShardCount"; }
29
30 AWS_KINESIS_API Aws::String SerializePayload() const override;
31
33
37 AWS_KINESIS_API EndpointParameters GetEndpointContextParams() const override;
38
40
43 inline const Aws::String& GetStreamName() const { return m_streamName; }
44 inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; }
45 template <typename StreamNameT = Aws::String>
46 void SetStreamName(StreamNameT&& value) {
47 m_streamNameHasBeenSet = true;
48 m_streamName = std::forward<StreamNameT>(value);
49 }
50 template <typename StreamNameT = Aws::String>
52 SetStreamName(std::forward<StreamNameT>(value));
53 return *this;
54 }
56
58
68 inline int GetTargetShardCount() const { return m_targetShardCount; }
69 inline bool TargetShardCountHasBeenSet() const { return m_targetShardCountHasBeenSet; }
70 inline void SetTargetShardCount(int value) {
71 m_targetShardCountHasBeenSet = true;
72 m_targetShardCount = value;
73 }
76 return *this;
77 }
79
81
84 inline ScalingType GetScalingType() const { return m_scalingType; }
85 inline bool ScalingTypeHasBeenSet() const { return m_scalingTypeHasBeenSet; }
86 inline void SetScalingType(ScalingType value) {
87 m_scalingTypeHasBeenSet = true;
88 m_scalingType = value;
89 }
91 SetScalingType(value);
92 return *this;
93 }
95
97
100 inline const Aws::String& GetStreamARN() const { return m_streamARN; }
101 inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; }
102 template <typename StreamARNT = Aws::String>
103 void SetStreamARN(StreamARNT&& value) {
104 m_streamARNHasBeenSet = true;
105 m_streamARN = std::forward<StreamARNT>(value);
106 }
107 template <typename StreamARNT = Aws::String>
109 SetStreamARN(std::forward<StreamARNT>(value));
110 return *this;
111 }
113
115
118 inline const Aws::String& GetStreamId() const { return m_streamId; }
119 inline bool StreamIdHasBeenSet() const { return m_streamIdHasBeenSet; }
120 template <typename StreamIdT = Aws::String>
121 void SetStreamId(StreamIdT&& value) {
122 m_streamIdHasBeenSet = true;
123 m_streamId = std::forward<StreamIdT>(value);
124 }
125 template <typename StreamIdT = Aws::String>
127 SetStreamId(std::forward<StreamIdT>(value));
128 return *this;
129 }
131 private:
132 Aws::String m_streamName;
133
134 int m_targetShardCount{0};
135
136 ScalingType m_scalingType{ScalingType::NOT_SET};
137
138 Aws::String m_streamARN;
139
140 Aws::String m_streamId;
141 bool m_streamNameHasBeenSet = false;
142 bool m_targetShardCountHasBeenSet = false;
143 bool m_scalingTypeHasBeenSet = false;
144 bool m_streamARNHasBeenSet = false;
145 bool m_streamIdHasBeenSet = false;
146};
147
148} // namespace Model
149} // namespace Kinesis
150} // namespace Aws
Aws::Endpoint::EndpointParameters EndpointParameters
AWS_KINESIS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
AWS_KINESIS_API UpdateShardCountRequest()=default
AWS_KINESIS_API EndpointParameters GetEndpointContextParams() const override
UpdateShardCountRequest & WithScalingType(ScalingType value)
UpdateShardCountRequest & WithStreamId(StreamIdT &&value)
UpdateShardCountRequest & WithStreamARN(StreamARNT &&value)
UpdateShardCountRequest & WithTargetShardCount(int value)
UpdateShardCountRequest & WithStreamName(StreamNameT &&value)
AWS_KINESIS_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String