AWS SDK for C++  1.9.105
AWS SDK for C++
CreateConfigurationResult.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Json
22 {
23  class JsonValue;
24 } // namespace Json
25 } // namespace Utils
26 namespace Kafka
27 {
28 namespace Model
29 {
31  {
32  public:
36 
37 
44  inline const Aws::String& GetArn() const{ return m_arn; }
45 
52  inline void SetArn(const Aws::String& value) { m_arn = value; }
53 
60  inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
61 
68  inline void SetArn(const char* value) { m_arn.assign(value); }
69 
76  inline CreateConfigurationResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
77 
84  inline CreateConfigurationResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
85 
92  inline CreateConfigurationResult& WithArn(const char* value) { SetArn(value); return *this;}
93 
94 
100  inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
101 
107  inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
108 
114  inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
115 
121  inline CreateConfigurationResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
122 
128  inline CreateConfigurationResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
129 
130 
136  inline const ConfigurationRevision& GetLatestRevision() const{ return m_latestRevision; }
137 
143  inline void SetLatestRevision(const ConfigurationRevision& value) { m_latestRevision = value; }
144 
150  inline void SetLatestRevision(ConfigurationRevision&& value) { m_latestRevision = std::move(value); }
151 
157  inline CreateConfigurationResult& WithLatestRevision(const ConfigurationRevision& value) { SetLatestRevision(value); return *this;}
158 
164  inline CreateConfigurationResult& WithLatestRevision(ConfigurationRevision&& value) { SetLatestRevision(std::move(value)); return *this;}
165 
166 
172  inline const Aws::String& GetName() const{ return m_name; }
173 
179  inline void SetName(const Aws::String& value) { m_name = value; }
180 
186  inline void SetName(Aws::String&& value) { m_name = std::move(value); }
187 
193  inline void SetName(const char* value) { m_name.assign(value); }
194 
200  inline CreateConfigurationResult& WithName(const Aws::String& value) { SetName(value); return *this;}
201 
207  inline CreateConfigurationResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
208 
214  inline CreateConfigurationResult& WithName(const char* value) { SetName(value); return *this;}
215 
216 
223  inline const ConfigurationState& GetState() const{ return m_state; }
224 
231  inline void SetState(const ConfigurationState& value) { m_state = value; }
232 
239  inline void SetState(ConfigurationState&& value) { m_state = std::move(value); }
240 
247  inline CreateConfigurationResult& WithState(const ConfigurationState& value) { SetState(value); return *this;}
248 
255  inline CreateConfigurationResult& WithState(ConfigurationState&& value) { SetState(std::move(value)); return *this;}
256 
257  private:
258 
259  Aws::String m_arn;
260 
261  Aws::Utils::DateTime m_creationTime;
262 
263  ConfigurationRevision m_latestRevision;
264 
265  Aws::String m_name;
266 
267  ConfigurationState m_state;
268  };
269 
270 } // namespace Model
271 } // namespace Kafka
272 } // namespace Aws
Aws::Kafka::Model::CreateConfigurationResult
Definition: CreateConfigurationResult.h:31
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Kafka::Model::CreateConfigurationResult::WithName
CreateConfigurationResult & WithName(const char *value)
Definition: CreateConfigurationResult.h:214
Aws::Kafka::Model::CreateConfigurationResult::GetCreationTime
const Aws::Utils::DateTime & GetCreationTime() const
Definition: CreateConfigurationResult.h:100
Aws::Kafka::Model::CreateConfigurationResult::SetState
void SetState(const ConfigurationState &value)
Definition: CreateConfigurationResult.h:231
Aws::Kafka::Model::CreateConfigurationResult::SetLatestRevision
void SetLatestRevision(const ConfigurationRevision &value)
Definition: CreateConfigurationResult.h:143
Aws::Kafka::Model::CreateConfigurationResult::SetName
void SetName(const char *value)
Definition: CreateConfigurationResult.h:193
Aws::Kafka::Model::CreateConfigurationResult::WithArn
CreateConfigurationResult & WithArn(const char *value)
Definition: CreateConfigurationResult.h:92
Aws::Kafka::Model::CreateConfigurationResult::WithArn
CreateConfigurationResult & WithArn(Aws::String &&value)
Definition: CreateConfigurationResult.h:84
Aws::Kafka::Model::CreateConfigurationResult::WithArn
CreateConfigurationResult & WithArn(const Aws::String &value)
Definition: CreateConfigurationResult.h:76
Aws::Kafka::Model::CreateConfigurationResult::WithCreationTime
CreateConfigurationResult & WithCreationTime(Aws::Utils::DateTime &&value)
Definition: CreateConfigurationResult.h:128
Aws::Kafka::Model::CreateConfigurationResult::WithLatestRevision
CreateConfigurationResult & WithLatestRevision(const ConfigurationRevision &value)
Definition: CreateConfigurationResult.h:157
Aws::Kafka::Model::CreateConfigurationResult::SetLatestRevision
void SetLatestRevision(ConfigurationRevision &&value)
Definition: CreateConfigurationResult.h:150
DateTime.h
Aws::Kafka::Model::CreateConfigurationResult::WithName
CreateConfigurationResult & WithName(Aws::String &&value)
Definition: CreateConfigurationResult.h:207
Aws::Kafka::Model::CreateConfigurationResult::GetState
const ConfigurationState & GetState() const
Definition: CreateConfigurationResult.h:223
Aws::Kafka::Model::CreateConfigurationResult::SetCreationTime
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition: CreateConfigurationResult.h:114
Aws::Kafka::Model::CreateConfigurationResult::GetLatestRevision
const ConfigurationRevision & GetLatestRevision() const
Definition: CreateConfigurationResult.h:136
Aws::Kafka::Model::CreateConfigurationResult::SetArn
void SetArn(const char *value)
Definition: CreateConfigurationResult.h:68
Aws::Kafka::Model::CreateConfigurationResult::WithState
CreateConfigurationResult & WithState(ConfigurationState &&value)
Definition: CreateConfigurationResult.h:255
Aws::Kafka::Model::CreateConfigurationResult::CreateConfigurationResult
CreateConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Kafka::Model::CreateConfigurationResult::SetName
void SetName(const Aws::String &value)
Definition: CreateConfigurationResult.h:179
Aws::Kafka::Model::CreateConfigurationResult::GetName
const Aws::String & GetName() const
Definition: CreateConfigurationResult.h:172
Aws::Kafka::Model::CreateConfigurationResult::SetArn
void SetArn(const Aws::String &value)
Definition: CreateConfigurationResult.h:52
Aws::Kafka::Model::CreateConfigurationResult::operator=
CreateConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Kafka::Model::CreateConfigurationResult::WithLatestRevision
CreateConfigurationResult & WithLatestRevision(ConfigurationRevision &&value)
Definition: CreateConfigurationResult.h:164
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::CreateConfigurationResult::WithState
CreateConfigurationResult & WithState(const ConfigurationState &value)
Definition: CreateConfigurationResult.h:247
Aws::Kafka::Model::CreateConfigurationResult::SetName
void SetName(Aws::String &&value)
Definition: CreateConfigurationResult.h:186
Aws::Kafka::Model::ConfigurationRevision
Definition: ConfigurationRevision.h:36
Aws::Kafka::Model::CreateConfigurationResult::WithName
CreateConfigurationResult & WithName(const Aws::String &value)
Definition: CreateConfigurationResult.h:200
ConfigurationRevision.h
Aws::Kafka::Model::CreateConfigurationResult::SetCreationTime
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition: CreateConfigurationResult.h:107
Aws::Kafka::Model::CreateConfigurationResult::SetState
void SetState(ConfigurationState &&value)
Definition: CreateConfigurationResult.h:239
Aws::Kafka::Model::CreateConfigurationResult::CreateConfigurationResult
CreateConfigurationResult()
Aws
Definition: AccessManagementClient.h:15
Aws::Kafka::Model::CreateConfigurationResult::GetArn
const Aws::String & GetArn() const
Definition: CreateConfigurationResult.h:44
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Kafka_EXPORTS.h
Aws::Kafka::Model::CreateConfigurationResult::WithCreationTime
CreateConfigurationResult & WithCreationTime(const Aws::Utils::DateTime &value)
Definition: CreateConfigurationResult.h:121
ConfigurationState.h
Aws::Kafka::Model::CreateConfigurationResult::SetArn
void SetArn(Aws::String &&value)
Definition: CreateConfigurationResult.h:60