AWS SDK for C++  1.9.132
AWS SDK for C++
UpdateStreamResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
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 IoT
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Aws::String& GetStreamId() const{ return m_streamId; }
39 
43  inline void SetStreamId(const Aws::String& value) { m_streamId = value; }
44 
48  inline void SetStreamId(Aws::String&& value) { m_streamId = std::move(value); }
49 
53  inline void SetStreamId(const char* value) { m_streamId.assign(value); }
54 
58  inline UpdateStreamResult& WithStreamId(const Aws::String& value) { SetStreamId(value); return *this;}
59 
63  inline UpdateStreamResult& WithStreamId(Aws::String&& value) { SetStreamId(std::move(value)); return *this;}
64 
68  inline UpdateStreamResult& WithStreamId(const char* value) { SetStreamId(value); return *this;}
69 
70 
74  inline const Aws::String& GetStreamArn() const{ return m_streamArn; }
75 
79  inline void SetStreamArn(const Aws::String& value) { m_streamArn = value; }
80 
84  inline void SetStreamArn(Aws::String&& value) { m_streamArn = std::move(value); }
85 
89  inline void SetStreamArn(const char* value) { m_streamArn.assign(value); }
90 
94  inline UpdateStreamResult& WithStreamArn(const Aws::String& value) { SetStreamArn(value); return *this;}
95 
99  inline UpdateStreamResult& WithStreamArn(Aws::String&& value) { SetStreamArn(std::move(value)); return *this;}
100 
104  inline UpdateStreamResult& WithStreamArn(const char* value) { SetStreamArn(value); return *this;}
105 
106 
110  inline const Aws::String& GetDescription() const{ return m_description; }
111 
115  inline void SetDescription(const Aws::String& value) { m_description = value; }
116 
120  inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
121 
125  inline void SetDescription(const char* value) { m_description.assign(value); }
126 
130  inline UpdateStreamResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
131 
135  inline UpdateStreamResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
136 
140  inline UpdateStreamResult& WithDescription(const char* value) { SetDescription(value); return *this;}
141 
142 
146  inline int GetStreamVersion() const{ return m_streamVersion; }
147 
151  inline void SetStreamVersion(int value) { m_streamVersion = value; }
152 
156  inline UpdateStreamResult& WithStreamVersion(int value) { SetStreamVersion(value); return *this;}
157 
158  private:
159 
160  Aws::String m_streamId;
161 
162  Aws::String m_streamArn;
163 
164  Aws::String m_description;
165 
166  int m_streamVersion;
167  };
168 
169 } // namespace Model
170 } // namespace IoT
171 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoT::Model::UpdateStreamResult::WithStreamArn
UpdateStreamResult & WithStreamArn(const char *value)
Definition: UpdateStreamResult.h:104
Aws::IoT::Model::UpdateStreamResult::SetDescription
void SetDescription(Aws::String &&value)
Definition: UpdateStreamResult.h:120
Aws::IoT::Model::UpdateStreamResult::UpdateStreamResult
UpdateStreamResult()
Aws::IoT::Model::UpdateStreamResult::WithDescription
UpdateStreamResult & WithDescription(const char *value)
Definition: UpdateStreamResult.h:140
Aws::IoT::Model::UpdateStreamResult::SetStreamVersion
void SetStreamVersion(int value)
Definition: UpdateStreamResult.h:151
Aws::IoT::Model::UpdateStreamResult::SetStreamArn
void SetStreamArn(const char *value)
Definition: UpdateStreamResult.h:89
Aws::IoT::Model::UpdateStreamResult::WithStreamId
UpdateStreamResult & WithStreamId(const char *value)
Definition: UpdateStreamResult.h:68
Aws::IoT::Model::UpdateStreamResult::GetDescription
const Aws::String & GetDescription() const
Definition: UpdateStreamResult.h:110
Aws::IoT::Model::UpdateStreamResult::GetStreamVersion
int GetStreamVersion() const
Definition: UpdateStreamResult.h:146
Aws::IoT::Model::UpdateStreamResult::WithStreamArn
UpdateStreamResult & WithStreamArn(const Aws::String &value)
Definition: UpdateStreamResult.h:94
Aws::IoT::Model::UpdateStreamResult::SetDescription
void SetDescription(const Aws::String &value)
Definition: UpdateStreamResult.h:115
Aws::IoT::Model::UpdateStreamResult::GetStreamId
const Aws::String & GetStreamId() const
Definition: UpdateStreamResult.h:38
Aws::IoT::Model::UpdateStreamResult::SetDescription
void SetDescription(const char *value)
Definition: UpdateStreamResult.h:125
Aws::IoT::Model::UpdateStreamResult
Definition: UpdateStreamResult.h:28
Aws::IoT::Model::UpdateStreamResult::WithStreamId
UpdateStreamResult & WithStreamId(Aws::String &&value)
Definition: UpdateStreamResult.h:63
AWSString.h
Aws::IoT::Model::UpdateStreamResult::UpdateStreamResult
UpdateStreamResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::UpdateStreamResult::SetStreamId
void SetStreamId(const char *value)
Definition: UpdateStreamResult.h:53
Aws::IoT::Model::UpdateStreamResult::WithStreamArn
UpdateStreamResult & WithStreamArn(Aws::String &&value)
Definition: UpdateStreamResult.h:99
Aws::IoT::Model::UpdateStreamResult::WithDescription
UpdateStreamResult & WithDescription(const Aws::String &value)
Definition: UpdateStreamResult.h:130
Aws::IoT::Model::UpdateStreamResult::operator=
UpdateStreamResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::UpdateStreamResult::WithStreamId
UpdateStreamResult & WithStreamId(const Aws::String &value)
Definition: UpdateStreamResult.h:58
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::UpdateStreamResult::WithDescription
UpdateStreamResult & WithDescription(Aws::String &&value)
Definition: UpdateStreamResult.h:135
Aws::IoT::Model::UpdateStreamResult::WithStreamVersion
UpdateStreamResult & WithStreamVersion(int value)
Definition: UpdateStreamResult.h:156
Aws::IoT::Model::UpdateStreamResult::SetStreamId
void SetStreamId(Aws::String &&value)
Definition: UpdateStreamResult.h:48
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::IoT::Model::UpdateStreamResult::SetStreamId
void SetStreamId(const Aws::String &value)
Definition: UpdateStreamResult.h:43
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::UpdateStreamResult::GetStreamArn
const Aws::String & GetStreamArn() const
Definition: UpdateStreamResult.h:74
Aws::IoT::Model::UpdateStreamResult::SetStreamArn
void SetStreamArn(const Aws::String &value)
Definition: UpdateStreamResult.h:79
Aws::IoT::Model::UpdateStreamResult::SetStreamArn
void SetStreamArn(Aws::String &&value)
Definition: UpdateStreamResult.h:84
IoT_EXPORTS.h