AWS SDK for C++

AWS SDK for C++ Version 1.11.760

Loading...
Searching...
No Matches
UpdateShardCountResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kinesis/Kinesis_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace Kinesis {
23namespace Model {
25 public:
26 AWS_KINESIS_API UpdateShardCountResult() = default;
29
31
34 inline const Aws::String& GetStreamName() const { return m_streamName; }
35 template <typename StreamNameT = Aws::String>
36 void SetStreamName(StreamNameT&& value) {
37 m_streamNameHasBeenSet = true;
38 m_streamName = std::forward<StreamNameT>(value);
39 }
40 template <typename StreamNameT = Aws::String>
41 UpdateShardCountResult& WithStreamName(StreamNameT&& value) {
42 SetStreamName(std::forward<StreamNameT>(value));
43 return *this;
44 }
46
48
51 inline int GetCurrentShardCount() const { return m_currentShardCount; }
52 inline void SetCurrentShardCount(int value) {
53 m_currentShardCountHasBeenSet = true;
54 m_currentShardCount = value;
55 }
58 return *this;
59 }
61
63
66 inline int GetTargetShardCount() const { return m_targetShardCount; }
67 inline void SetTargetShardCount(int value) {
68 m_targetShardCountHasBeenSet = true;
69 m_targetShardCount = value;
70 }
73 return *this;
74 }
76
78
81 inline const Aws::String& GetStreamARN() const { return m_streamARN; }
82 template <typename StreamARNT = Aws::String>
83 void SetStreamARN(StreamARNT&& value) {
84 m_streamARNHasBeenSet = true;
85 m_streamARN = std::forward<StreamARNT>(value);
86 }
87 template <typename StreamARNT = Aws::String>
89 SetStreamARN(std::forward<StreamARNT>(value));
90 return *this;
91 }
93
95
96 inline const Aws::String& GetRequestId() const { return m_requestId; }
97 template <typename RequestIdT = Aws::String>
98 void SetRequestId(RequestIdT&& value) {
99 m_requestIdHasBeenSet = true;
100 m_requestId = std::forward<RequestIdT>(value);
101 }
102 template <typename RequestIdT = Aws::String>
104 SetRequestId(std::forward<RequestIdT>(value));
105 return *this;
106 }
108 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
109
110 private:
111 Aws::String m_streamName;
112
113 int m_currentShardCount{0};
114
115 int m_targetShardCount{0};
116
117 Aws::String m_streamARN;
118
119 Aws::String m_requestId;
120 Aws::Http::HttpResponseCode m_HttpResponseCode;
121 bool m_streamNameHasBeenSet = false;
122 bool m_currentShardCountHasBeenSet = false;
123 bool m_targetShardCountHasBeenSet = false;
124 bool m_streamARNHasBeenSet = false;
125 bool m_requestIdHasBeenSet = false;
126};
127
128} // namespace Model
129} // namespace Kinesis
130} // namespace Aws
UpdateShardCountResult & WithRequestId(RequestIdT &&value)
UpdateShardCountResult & WithStreamName(StreamNameT &&value)
UpdateShardCountResult & WithTargetShardCount(int value)
AWS_KINESIS_API UpdateShardCountResult()=default
AWS_KINESIS_API UpdateShardCountResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateShardCountResult & WithStreamARN(StreamARNT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_KINESIS_API UpdateShardCountResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateShardCountResult & WithCurrentShardCount(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue