AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
33
34
36
39 inline const Aws::String& GetStreamName() const{ return m_streamName; }
40 inline void SetStreamName(const Aws::String& value) { m_streamName = value; }
41 inline void SetStreamName(Aws::String&& value) { m_streamName = std::move(value); }
42 inline void SetStreamName(const char* value) { m_streamName.assign(value); }
43 inline UpdateShardCountResult& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;}
44 inline UpdateShardCountResult& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;}
45 inline UpdateShardCountResult& WithStreamName(const char* value) { SetStreamName(value); return *this;}
47
49
52 inline int GetCurrentShardCount() const{ return m_currentShardCount; }
53 inline void SetCurrentShardCount(int value) { m_currentShardCount = value; }
54 inline UpdateShardCountResult& WithCurrentShardCount(int value) { SetCurrentShardCount(value); return *this;}
56
58
61 inline int GetTargetShardCount() const{ return m_targetShardCount; }
62 inline void SetTargetShardCount(int value) { m_targetShardCount = value; }
63 inline UpdateShardCountResult& WithTargetShardCount(int value) { SetTargetShardCount(value); return *this;}
65
67
70 inline const Aws::String& GetStreamARN() const{ return m_streamARN; }
71 inline void SetStreamARN(const Aws::String& value) { m_streamARN = value; }
72 inline void SetStreamARN(Aws::String&& value) { m_streamARN = std::move(value); }
73 inline void SetStreamARN(const char* value) { m_streamARN.assign(value); }
74 inline UpdateShardCountResult& WithStreamARN(const Aws::String& value) { SetStreamARN(value); return *this;}
75 inline UpdateShardCountResult& WithStreamARN(Aws::String&& value) { SetStreamARN(std::move(value)); return *this;}
76 inline UpdateShardCountResult& WithStreamARN(const char* value) { SetStreamARN(value); return *this;}
78
80
81 inline const Aws::String& GetRequestId() const{ return m_requestId; }
82 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
83 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
84 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
85 inline UpdateShardCountResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
86 inline UpdateShardCountResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
87 inline UpdateShardCountResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
89 private:
90
91 Aws::String m_streamName;
92
93 int m_currentShardCount;
94
95 int m_targetShardCount;
96
97 Aws::String m_streamARN;
98
99 Aws::String m_requestId;
100 };
101
102} // namespace Model
103} // namespace Kinesis
104} // namespace Aws
UpdateShardCountResult & WithStreamARN(const Aws::String &value)
UpdateShardCountResult & WithRequestId(const char *value)
UpdateShardCountResult & WithStreamName(Aws::String &&value)
UpdateShardCountResult & WithTargetShardCount(int value)
UpdateShardCountResult & WithStreamName(const Aws::String &value)
AWS_KINESIS_API UpdateShardCountResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateShardCountResult & WithRequestId(Aws::String &&value)
UpdateShardCountResult & WithRequestId(const Aws::String &value)
UpdateShardCountResult & WithStreamARN(const char *value)
UpdateShardCountResult & WithStreamName(const char *value)
UpdateShardCountResult & WithStreamARN(Aws::String &&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