AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateShardCountResult.h
1
6#pragma once
7#include <aws/kinesis/Kinesis_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Kinesis
24{
25namespace Model
26{
28 {
29 public:
30 AWS_KINESIS_API UpdateShardCountResult() = default;
33
34
36
39 inline const Aws::String& GetStreamName() const { return m_streamName; }
40 template<typename StreamNameT = Aws::String>
41 void SetStreamName(StreamNameT&& value) { m_streamNameHasBeenSet = true; m_streamName = std::forward<StreamNameT>(value); }
42 template<typename StreamNameT = Aws::String>
43 UpdateShardCountResult& WithStreamName(StreamNameT&& value) { SetStreamName(std::forward<StreamNameT>(value)); return *this;}
45
47
50 inline int GetCurrentShardCount() const { return m_currentShardCount; }
51 inline void SetCurrentShardCount(int value) { m_currentShardCountHasBeenSet = true; m_currentShardCount = value; }
52 inline UpdateShardCountResult& WithCurrentShardCount(int value) { SetCurrentShardCount(value); return *this;}
54
56
59 inline int GetTargetShardCount() const { return m_targetShardCount; }
60 inline void SetTargetShardCount(int value) { m_targetShardCountHasBeenSet = true; m_targetShardCount = value; }
61 inline UpdateShardCountResult& WithTargetShardCount(int value) { SetTargetShardCount(value); return *this;}
63
65
68 inline const Aws::String& GetStreamARN() const { return m_streamARN; }
69 template<typename StreamARNT = Aws::String>
70 void SetStreamARN(StreamARNT&& value) { m_streamARNHasBeenSet = true; m_streamARN = std::forward<StreamARNT>(value); }
71 template<typename StreamARNT = Aws::String>
72 UpdateShardCountResult& WithStreamARN(StreamARNT&& value) { SetStreamARN(std::forward<StreamARNT>(value)); return *this;}
74
76
77 inline const Aws::String& GetRequestId() const { return m_requestId; }
78 template<typename RequestIdT = Aws::String>
79 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
80 template<typename RequestIdT = Aws::String>
81 UpdateShardCountResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
83 private:
84
85 Aws::String m_streamName;
86 bool m_streamNameHasBeenSet = false;
87
88 int m_currentShardCount{0};
89 bool m_currentShardCountHasBeenSet = false;
90
91 int m_targetShardCount{0};
92 bool m_targetShardCountHasBeenSet = false;
93
94 Aws::String m_streamARN;
95 bool m_streamARNHasBeenSet = false;
96
97 Aws::String m_requestId;
98 bool m_requestIdHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace Kinesis
103} // 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_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