AWS SDK for C++  1.9.105
AWS SDK for C++
DescribeConfigurationRevisionResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <aws/core/utils/Array.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace Kafka
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
43  inline const Aws::String& GetArn() const{ return m_arn; }
44 
51  inline void SetArn(const Aws::String& value) { m_arn = value; }
52 
59  inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
60 
67  inline void SetArn(const char* value) { m_arn.assign(value); }
68 
75  inline DescribeConfigurationRevisionResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
76 
83  inline DescribeConfigurationRevisionResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
84 
91  inline DescribeConfigurationRevisionResult& WithArn(const char* value) { SetArn(value); return *this;}
92 
93 
99  inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
100 
106  inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
107 
113  inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
114 
120  inline DescribeConfigurationRevisionResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
121 
127  inline DescribeConfigurationRevisionResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
128 
129 
135  inline const Aws::String& GetDescription() const{ return m_description; }
136 
142  inline void SetDescription(const Aws::String& value) { m_description = value; }
143 
149  inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
150 
156  inline void SetDescription(const char* value) { m_description.assign(value); }
157 
163  inline DescribeConfigurationRevisionResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
164 
170  inline DescribeConfigurationRevisionResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
171 
177  inline DescribeConfigurationRevisionResult& WithDescription(const char* value) { SetDescription(value); return *this;}
178 
179 
185  inline long long GetRevision() const{ return m_revision; }
186 
192  inline void SetRevision(long long value) { m_revision = value; }
193 
199  inline DescribeConfigurationRevisionResult& WithRevision(long long value) { SetRevision(value); return *this;}
200 
201 
212  inline const Aws::Utils::ByteBuffer& GetServerProperties() const{ return m_serverProperties; }
213 
224  inline void SetServerProperties(const Aws::Utils::ByteBuffer& value) { m_serverProperties = value; }
225 
236  inline void SetServerProperties(Aws::Utils::ByteBuffer&& value) { m_serverProperties = std::move(value); }
237 
248  inline DescribeConfigurationRevisionResult& WithServerProperties(const Aws::Utils::ByteBuffer& value) { SetServerProperties(value); return *this;}
249 
260  inline DescribeConfigurationRevisionResult& WithServerProperties(Aws::Utils::ByteBuffer&& value) { SetServerProperties(std::move(value)); return *this;}
261 
262  private:
263 
264  Aws::String m_arn;
265 
266  Aws::Utils::DateTime m_creationTime;
267 
268  Aws::String m_description;
269 
270  long long m_revision;
271 
272  Aws::Utils::ByteBuffer m_serverProperties;
273  };
274 
275 } // namespace Model
276 } // namespace Kafka
277 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::Kafka::Model::DescribeConfigurationRevisionResult::GetCreationTime
const Aws::Utils::DateTime & GetCreationTime() const
Definition: DescribeConfigurationRevisionResult.h:99
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Kafka::Model::DescribeConfigurationRevisionResult::WithCreationTime
DescribeConfigurationRevisionResult & WithCreationTime(const Aws::Utils::DateTime &value)
Definition: DescribeConfigurationRevisionResult.h:120
Aws::Kafka::Model::DescribeConfigurationRevisionResult::WithArn
DescribeConfigurationRevisionResult & WithArn(const char *value)
Definition: DescribeConfigurationRevisionResult.h:91
Aws::Kafka::Model::DescribeConfigurationRevisionResult::DescribeConfigurationRevisionResult
DescribeConfigurationRevisionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Kafka::Model::DescribeConfigurationRevisionResult::GetRevision
long long GetRevision() const
Definition: DescribeConfigurationRevisionResult.h:185
Aws::Kafka::Model::DescribeConfigurationRevisionResult
Definition: DescribeConfigurationRevisionResult.h:30
Aws::Kafka::Model::DescribeConfigurationRevisionResult::SetArn
void SetArn(const Aws::String &value)
Definition: DescribeConfigurationRevisionResult.h:51
DateTime.h
Aws::Kafka::Model::DescribeConfigurationRevisionResult::WithDescription
DescribeConfigurationRevisionResult & WithDescription(Aws::String &&value)
Definition: DescribeConfigurationRevisionResult.h:170
Aws::Kafka::Model::DescribeConfigurationRevisionResult::WithArn
DescribeConfigurationRevisionResult & WithArn(Aws::String &&value)
Definition: DescribeConfigurationRevisionResult.h:83
Aws::Kafka::Model::DescribeConfigurationRevisionResult::SetArn
void SetArn(Aws::String &&value)
Definition: DescribeConfigurationRevisionResult.h:59
Aws::Kafka::Model::DescribeConfigurationRevisionResult::GetServerProperties
const Aws::Utils::ByteBuffer & GetServerProperties() const
Definition: DescribeConfigurationRevisionResult.h:212
Aws::Kafka::Model::DescribeConfigurationRevisionResult::GetArn
const Aws::String & GetArn() const
Definition: DescribeConfigurationRevisionResult.h:43
Aws::Kafka::Model::DescribeConfigurationRevisionResult::WithServerProperties
DescribeConfigurationRevisionResult & WithServerProperties(const Aws::Utils::ByteBuffer &value)
Definition: DescribeConfigurationRevisionResult.h:248
Aws::Kafka::Model::DescribeConfigurationRevisionResult::SetDescription
void SetDescription(const Aws::String &value)
Definition: DescribeConfigurationRevisionResult.h:142
Aws::Kafka::Model::DescribeConfigurationRevisionResult::WithArn
DescribeConfigurationRevisionResult & WithArn(const Aws::String &value)
Definition: DescribeConfigurationRevisionResult.h:75
Aws::Kafka::Model::DescribeConfigurationRevisionResult::WithRevision
DescribeConfigurationRevisionResult & WithRevision(long long value)
Definition: DescribeConfigurationRevisionResult.h:199
Aws::Kafka::Model::DescribeConfigurationRevisionResult::SetServerProperties
void SetServerProperties(Aws::Utils::ByteBuffer &&value)
Definition: DescribeConfigurationRevisionResult.h:236
Aws::Kafka::Model::DescribeConfigurationRevisionResult::SetServerProperties
void SetServerProperties(const Aws::Utils::ByteBuffer &value)
Definition: DescribeConfigurationRevisionResult.h:224
Aws::Utils::Array< unsigned char >
AWSString.h
AWS_KAFKA_API
#define AWS_KAFKA_API
Definition: Kafka_EXPORTS.h:28
Aws::Kafka::Model::DescribeConfigurationRevisionResult::SetCreationTime
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition: DescribeConfigurationRevisionResult.h:106
Aws::Kafka::Model::DescribeConfigurationRevisionResult::SetRevision
void SetRevision(long long value)
Definition: DescribeConfigurationRevisionResult.h:192
Aws::Kafka::Model::DescribeConfigurationRevisionResult::DescribeConfigurationRevisionResult
DescribeConfigurationRevisionResult()
Aws
Definition: AccessManagementClient.h:15
Array.h
Aws::Kafka::Model::DescribeConfigurationRevisionResult::WithServerProperties
DescribeConfigurationRevisionResult & WithServerProperties(Aws::Utils::ByteBuffer &&value)
Definition: DescribeConfigurationRevisionResult.h:260
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Kafka::Model::DescribeConfigurationRevisionResult::WithDescription
DescribeConfigurationRevisionResult & WithDescription(const char *value)
Definition: DescribeConfigurationRevisionResult.h:177
Kafka_EXPORTS.h
Aws::Kafka::Model::DescribeConfigurationRevisionResult::WithCreationTime
DescribeConfigurationRevisionResult & WithCreationTime(Aws::Utils::DateTime &&value)
Definition: DescribeConfigurationRevisionResult.h:127
Aws::Kafka::Model::DescribeConfigurationRevisionResult::operator=
DescribeConfigurationRevisionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Kafka::Model::DescribeConfigurationRevisionResult::SetCreationTime
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition: DescribeConfigurationRevisionResult.h:113
Aws::Kafka::Model::DescribeConfigurationRevisionResult::SetArn
void SetArn(const char *value)
Definition: DescribeConfigurationRevisionResult.h:67
Aws::Kafka::Model::DescribeConfigurationRevisionResult::WithDescription
DescribeConfigurationRevisionResult & WithDescription(const Aws::String &value)
Definition: DescribeConfigurationRevisionResult.h:163
Aws::Kafka::Model::DescribeConfigurationRevisionResult::GetDescription
const Aws::String & GetDescription() const
Definition: DescribeConfigurationRevisionResult.h:135
Aws::Kafka::Model::DescribeConfigurationRevisionResult::SetDescription
void SetDescription(const char *value)
Definition: DescribeConfigurationRevisionResult.h:156
Aws::Kafka::Model::DescribeConfigurationRevisionResult::SetDescription
void SetDescription(Aws::String &&value)
Definition: DescribeConfigurationRevisionResult.h:149