AWS SDK for C++  1.9.106
AWS SDK for C++
DescribeConfigurationResult.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 template<typename RESULT_TYPE>
18 class AmazonWebServiceResult;
19 
20 namespace Utils
21 {
22 namespace Json
23 {
24  class JsonValue;
25 } // namespace Json
26 } // namespace Utils
27 namespace Kafka
28 {
29 namespace Model
30 {
32  {
33  public:
37 
38 
45  inline const Aws::String& GetArn() const{ return m_arn; }
46 
53  inline void SetArn(const Aws::String& value) { m_arn = value; }
54 
61  inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
62 
69  inline void SetArn(const char* value) { m_arn.assign(value); }
70 
77  inline DescribeConfigurationResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
78 
85  inline DescribeConfigurationResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
86 
93  inline DescribeConfigurationResult& WithArn(const char* value) { SetArn(value); return *this;}
94 
95 
101  inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
102 
108  inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
109 
115  inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
116 
122  inline DescribeConfigurationResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
123 
129  inline DescribeConfigurationResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
130 
131 
137  inline const Aws::String& GetDescription() const{ return m_description; }
138 
144  inline void SetDescription(const Aws::String& value) { m_description = value; }
145 
151  inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
152 
158  inline void SetDescription(const char* value) { m_description.assign(value); }
159 
165  inline DescribeConfigurationResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
166 
172  inline DescribeConfigurationResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
173 
179  inline DescribeConfigurationResult& WithDescription(const char* value) { SetDescription(value); return *this;}
180 
181 
188  inline const Aws::Vector<Aws::String>& GetKafkaVersions() const{ return m_kafkaVersions; }
189 
196  inline void SetKafkaVersions(const Aws::Vector<Aws::String>& value) { m_kafkaVersions = value; }
197 
204  inline void SetKafkaVersions(Aws::Vector<Aws::String>&& value) { m_kafkaVersions = std::move(value); }
205 
212  inline DescribeConfigurationResult& WithKafkaVersions(const Aws::Vector<Aws::String>& value) { SetKafkaVersions(value); return *this;}
213 
220  inline DescribeConfigurationResult& WithKafkaVersions(Aws::Vector<Aws::String>&& value) { SetKafkaVersions(std::move(value)); return *this;}
221 
228  inline DescribeConfigurationResult& AddKafkaVersions(const Aws::String& value) { m_kafkaVersions.push_back(value); return *this; }
229 
236  inline DescribeConfigurationResult& AddKafkaVersions(Aws::String&& value) { m_kafkaVersions.push_back(std::move(value)); return *this; }
237 
244  inline DescribeConfigurationResult& AddKafkaVersions(const char* value) { m_kafkaVersions.push_back(value); return *this; }
245 
246 
252  inline const ConfigurationRevision& GetLatestRevision() const{ return m_latestRevision; }
253 
259  inline void SetLatestRevision(const ConfigurationRevision& value) { m_latestRevision = value; }
260 
266  inline void SetLatestRevision(ConfigurationRevision&& value) { m_latestRevision = std::move(value); }
267 
273  inline DescribeConfigurationResult& WithLatestRevision(const ConfigurationRevision& value) { SetLatestRevision(value); return *this;}
274 
280  inline DescribeConfigurationResult& WithLatestRevision(ConfigurationRevision&& value) { SetLatestRevision(std::move(value)); return *this;}
281 
282 
288  inline const Aws::String& GetName() const{ return m_name; }
289 
295  inline void SetName(const Aws::String& value) { m_name = value; }
296 
302  inline void SetName(Aws::String&& value) { m_name = std::move(value); }
303 
309  inline void SetName(const char* value) { m_name.assign(value); }
310 
316  inline DescribeConfigurationResult& WithName(const Aws::String& value) { SetName(value); return *this;}
317 
323  inline DescribeConfigurationResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
324 
330  inline DescribeConfigurationResult& WithName(const char* value) { SetName(value); return *this;}
331 
332 
339  inline const ConfigurationState& GetState() const{ return m_state; }
340 
347  inline void SetState(const ConfigurationState& value) { m_state = value; }
348 
355  inline void SetState(ConfigurationState&& value) { m_state = std::move(value); }
356 
363  inline DescribeConfigurationResult& WithState(const ConfigurationState& value) { SetState(value); return *this;}
364 
371  inline DescribeConfigurationResult& WithState(ConfigurationState&& value) { SetState(std::move(value)); return *this;}
372 
373  private:
374 
375  Aws::String m_arn;
376 
377  Aws::Utils::DateTime m_creationTime;
378 
379  Aws::String m_description;
380 
381  Aws::Vector<Aws::String> m_kafkaVersions;
382 
383  ConfigurationRevision m_latestRevision;
384 
385  Aws::String m_name;
386 
387  ConfigurationState m_state;
388  };
389 
390 } // namespace Model
391 } // namespace Kafka
392 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::Kafka::Model::DescribeConfigurationResult::SetKafkaVersions
void SetKafkaVersions(Aws::Vector< Aws::String > &&value)
Definition: DescribeConfigurationResult.h:204
Aws::Kafka::Model::DescribeConfigurationResult::GetDescription
const Aws::String & GetDescription() const
Definition: DescribeConfigurationResult.h:137
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Kafka::Model::DescribeConfigurationResult::WithName
DescribeConfigurationResult & WithName(Aws::String &&value)
Definition: DescribeConfigurationResult.h:323
Aws::Kafka::Model::DescribeConfigurationResult::DescribeConfigurationResult
DescribeConfigurationResult()
Aws::Kafka::Model::DescribeConfigurationResult::WithArn
DescribeConfigurationResult & WithArn(const char *value)
Definition: DescribeConfigurationResult.h:93
Aws::Kafka::Model::DescribeConfigurationResult::WithKafkaVersions
DescribeConfigurationResult & WithKafkaVersions(const Aws::Vector< Aws::String > &value)
Definition: DescribeConfigurationResult.h:212
DateTime.h
Aws::Kafka::Model::DescribeConfigurationResult::WithKafkaVersions
DescribeConfigurationResult & WithKafkaVersions(Aws::Vector< Aws::String > &&value)
Definition: DescribeConfigurationResult.h:220
Aws::Kafka::Model::DescribeConfigurationResult::WithLatestRevision
DescribeConfigurationResult & WithLatestRevision(const ConfigurationRevision &value)
Definition: DescribeConfigurationResult.h:273
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Kafka::Model::DescribeConfigurationResult::AddKafkaVersions
DescribeConfigurationResult & AddKafkaVersions(Aws::String &&value)
Definition: DescribeConfigurationResult.h:236
AWSVector.h
Aws::Kafka::Model::DescribeConfigurationResult::SetCreationTime
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition: DescribeConfigurationResult.h:115
Aws::Kafka::Model::DescribeConfigurationResult::SetName
void SetName(const Aws::String &value)
Definition: DescribeConfigurationResult.h:295
Aws::Kafka::Model::DescribeConfigurationResult::WithName
DescribeConfigurationResult & WithName(const char *value)
Definition: DescribeConfigurationResult.h:330
Aws::Kafka::Model::DescribeConfigurationResult::SetDescription
void SetDescription(Aws::String &&value)
Definition: DescribeConfigurationResult.h:151
Aws::Kafka::Model::DescribeConfigurationResult::SetArn
void SetArn(const char *value)
Definition: DescribeConfigurationResult.h:69
Aws::Kafka::Model::DescribeConfigurationResult::WithArn
DescribeConfigurationResult & WithArn(Aws::String &&value)
Definition: DescribeConfigurationResult.h:85
Aws::Kafka::Model::DescribeConfigurationResult::SetKafkaVersions
void SetKafkaVersions(const Aws::Vector< Aws::String > &value)
Definition: DescribeConfigurationResult.h:196
Aws::Kafka::Model::DescribeConfigurationResult::SetDescription
void SetDescription(const Aws::String &value)
Definition: DescribeConfigurationResult.h:144
Aws::Kafka::Model::DescribeConfigurationResult::WithCreationTime
DescribeConfigurationResult & WithCreationTime(const Aws::Utils::DateTime &value)
Definition: DescribeConfigurationResult.h:122
Aws::Kafka::Model::DescribeConfigurationResult::SetCreationTime
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition: DescribeConfigurationResult.h:108
Aws::Kafka::Model::DescribeConfigurationResult::SetLatestRevision
void SetLatestRevision(ConfigurationRevision &&value)
Definition: DescribeConfigurationResult.h:266
Aws::Kafka::Model::DescribeConfigurationResult::SetState
void SetState(const ConfigurationState &value)
Definition: DescribeConfigurationResult.h:347
Aws::Kafka::Model::DescribeConfigurationResult::SetName
void SetName(Aws::String &&value)
Definition: DescribeConfigurationResult.h:302
AWSString.h
Aws::Kafka::Model::ConfigurationState
ConfigurationState
Definition: ConfigurationState.h:17
AWS_KAFKA_API
#define AWS_KAFKA_API
Definition: Kafka_EXPORTS.h:28
Aws::Kafka::Model::DescribeConfigurationResult::SetArn
void SetArn(const Aws::String &value)
Definition: DescribeConfigurationResult.h:53
Aws::Kafka::Model::DescribeConfigurationResult
Definition: DescribeConfigurationResult.h:32
Aws::Kafka::Model::ConfigurationRevision
Definition: ConfigurationRevision.h:36
Aws::Kafka::Model::DescribeConfigurationResult::GetName
const Aws::String & GetName() const
Definition: DescribeConfigurationResult.h:288
Aws::Kafka::Model::DescribeConfigurationResult::SetState
void SetState(ConfigurationState &&value)
Definition: DescribeConfigurationResult.h:355
Aws::Kafka::Model::DescribeConfigurationResult::WithCreationTime
DescribeConfigurationResult & WithCreationTime(Aws::Utils::DateTime &&value)
Definition: DescribeConfigurationResult.h:129
ConfigurationRevision.h
Aws::Kafka::Model::DescribeConfigurationResult::SetName
void SetName(const char *value)
Definition: DescribeConfigurationResult.h:309
Aws::Kafka::Model::DescribeConfigurationResult::WithDescription
DescribeConfigurationResult & WithDescription(Aws::String &&value)
Definition: DescribeConfigurationResult.h:172
Aws::Kafka::Model::DescribeConfigurationResult::SetDescription
void SetDescription(const char *value)
Definition: DescribeConfigurationResult.h:158
Aws::Kafka::Model::DescribeConfigurationResult::AddKafkaVersions
DescribeConfigurationResult & AddKafkaVersions(const char *value)
Definition: DescribeConfigurationResult.h:244
Aws::Kafka::Model::DescribeConfigurationResult::WithName
DescribeConfigurationResult & WithName(const Aws::String &value)
Definition: DescribeConfigurationResult.h:316
Aws::Kafka::Model::DescribeConfigurationResult::WithDescription
DescribeConfigurationResult & WithDescription(const char *value)
Definition: DescribeConfigurationResult.h:179
Aws
Definition: AccessManagementClient.h:15
Aws::Kafka::Model::DescribeConfigurationResult::WithArn
DescribeConfigurationResult & WithArn(const Aws::String &value)
Definition: DescribeConfigurationResult.h:77
Aws::Kafka::Model::DescribeConfigurationResult::GetState
const ConfigurationState & GetState() const
Definition: DescribeConfigurationResult.h:339
Aws::Kafka::Model::DescribeConfigurationResult::AddKafkaVersions
DescribeConfigurationResult & AddKafkaVersions(const Aws::String &value)
Definition: DescribeConfigurationResult.h:228
Aws::Kafka::Model::DescribeConfigurationResult::GetKafkaVersions
const Aws::Vector< Aws::String > & GetKafkaVersions() const
Definition: DescribeConfigurationResult.h:188
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Kafka::Model::DescribeConfigurationResult::WithDescription
DescribeConfigurationResult & WithDescription(const Aws::String &value)
Definition: DescribeConfigurationResult.h:165
Kafka_EXPORTS.h
Aws::Kafka::Model::DescribeConfigurationResult::GetCreationTime
const Aws::Utils::DateTime & GetCreationTime() const
Definition: DescribeConfigurationResult.h:101
Aws::Kafka::Model::DescribeConfigurationResult::operator=
DescribeConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Kafka::Model::DescribeConfigurationResult::SetArn
void SetArn(Aws::String &&value)
Definition: DescribeConfigurationResult.h:61
Aws::Kafka::Model::DescribeConfigurationResult::WithState
DescribeConfigurationResult & WithState(ConfigurationState &&value)
Definition: DescribeConfigurationResult.h:371
Aws::Kafka::Model::DescribeConfigurationResult::GetArn
const Aws::String & GetArn() const
Definition: DescribeConfigurationResult.h:45
Aws::Kafka::Model::DescribeConfigurationResult::DescribeConfigurationResult
DescribeConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Kafka::Model::DescribeConfigurationResult::GetLatestRevision
const ConfigurationRevision & GetLatestRevision() const
Definition: DescribeConfigurationResult.h:252
Aws::Kafka::Model::DescribeConfigurationResult::WithState
DescribeConfigurationResult & WithState(const ConfigurationState &value)
Definition: DescribeConfigurationResult.h:363
Aws::Kafka::Model::DescribeConfigurationResult::WithLatestRevision
DescribeConfigurationResult & WithLatestRevision(ConfigurationRevision &&value)
Definition: DescribeConfigurationResult.h:280
Aws::Kafka::Model::DescribeConfigurationResult::SetLatestRevision
void SetLatestRevision(const ConfigurationRevision &value)
Definition: DescribeConfigurationResult.h:259
ConfigurationState.h