AWS SDK for C++  1.9.103
AWS SDK for C++
UpdateShardCountResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace Kinesis
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Aws::String& GetStreamName() const{ return m_streamName; }
39 
43  inline void SetStreamName(const Aws::String& value) { m_streamName = value; }
44 
48  inline void SetStreamName(Aws::String&& value) { m_streamName = std::move(value); }
49 
53  inline void SetStreamName(const char* value) { m_streamName.assign(value); }
54 
58  inline UpdateShardCountResult& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;}
59 
63  inline UpdateShardCountResult& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;}
64 
68  inline UpdateShardCountResult& WithStreamName(const char* value) { SetStreamName(value); return *this;}
69 
70 
74  inline int GetCurrentShardCount() const{ return m_currentShardCount; }
75 
79  inline void SetCurrentShardCount(int value) { m_currentShardCount = value; }
80 
84  inline UpdateShardCountResult& WithCurrentShardCount(int value) { SetCurrentShardCount(value); return *this;}
85 
86 
90  inline int GetTargetShardCount() const{ return m_targetShardCount; }
91 
95  inline void SetTargetShardCount(int value) { m_targetShardCount = value; }
96 
100  inline UpdateShardCountResult& WithTargetShardCount(int value) { SetTargetShardCount(value); return *this;}
101 
102  private:
103 
104  Aws::String m_streamName;
105 
106  int m_currentShardCount;
107 
108  int m_targetShardCount;
109  };
110 
111 } // namespace Model
112 } // namespace Kinesis
113 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Kinesis::Model::UpdateShardCountResult::operator=
UpdateShardCountResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Kinesis::Model::UpdateShardCountResult::WithTargetShardCount
UpdateShardCountResult & WithTargetShardCount(int value)
Definition: UpdateShardCountResult.h:100
Aws::Kinesis::Model::UpdateShardCountResult
Definition: UpdateShardCountResult.h:28
Aws::Kinesis::Model::UpdateShardCountResult::WithStreamName
UpdateShardCountResult & WithStreamName(const Aws::String &value)
Definition: UpdateShardCountResult.h:58
Aws::Kinesis::Model::UpdateShardCountResult::UpdateShardCountResult
UpdateShardCountResult()
Aws::Kinesis::Model::UpdateShardCountResult::WithStreamName
UpdateShardCountResult & WithStreamName(const char *value)
Definition: UpdateShardCountResult.h:68
Aws::Kinesis::Model::UpdateShardCountResult::WithStreamName
UpdateShardCountResult & WithStreamName(Aws::String &&value)
Definition: UpdateShardCountResult.h:63
AWS_KINESIS_API
#define AWS_KINESIS_API
Definition: Kinesis_EXPORTS.h:28
Aws::Kinesis::Model::UpdateShardCountResult::SetStreamName
void SetStreamName(Aws::String &&value)
Definition: UpdateShardCountResult.h:48
Aws::Kinesis::Model::UpdateShardCountResult::GetStreamName
const Aws::String & GetStreamName() const
Definition: UpdateShardCountResult.h:38
AWSString.h
Aws::Kinesis::Model::UpdateShardCountResult::UpdateShardCountResult
UpdateShardCountResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Kinesis::Model::UpdateShardCountResult::SetStreamName
void SetStreamName(const char *value)
Definition: UpdateShardCountResult.h:53
Kinesis_EXPORTS.h
Aws::Kinesis::Model::UpdateShardCountResult::GetTargetShardCount
int GetTargetShardCount() const
Definition: UpdateShardCountResult.h:90
Aws::Kinesis::Model::UpdateShardCountResult::GetCurrentShardCount
int GetCurrentShardCount() const
Definition: UpdateShardCountResult.h:74
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Kinesis::Model::UpdateShardCountResult::WithCurrentShardCount
UpdateShardCountResult & WithCurrentShardCount(int value)
Definition: UpdateShardCountResult.h:84
Aws::Kinesis::Model::UpdateShardCountResult::SetStreamName
void SetStreamName(const Aws::String &value)
Definition: UpdateShardCountResult.h:43
Aws::Kinesis::Model::UpdateShardCountResult::SetTargetShardCount
void SetTargetShardCount(int value)
Definition: UpdateShardCountResult.h:95
Aws::Kinesis::Model::UpdateShardCountResult::SetCurrentShardCount
void SetCurrentShardCount(int value)
Definition: UpdateShardCountResult.h:79