AWS SDK for C++  1.9.109
AWS SDK for C++
CreateConfigurationResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/mq/MQ_EXPORTS.h>
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 MQ
27 {
28 namespace Model
29 {
31  {
32  public:
36 
37 
41  inline const Aws::String& GetArn() const{ return m_arn; }
42 
46  inline void SetArn(const Aws::String& value) { m_arn = value; }
47 
51  inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
52 
56  inline void SetArn(const char* value) { m_arn.assign(value); }
57 
61  inline CreateConfigurationResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
62 
66  inline CreateConfigurationResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
67 
71  inline CreateConfigurationResult& WithArn(const char* value) { SetArn(value); return *this;}
72 
73 
78  inline const AuthenticationStrategy& GetAuthenticationStrategy() const{ return m_authenticationStrategy; }
79 
84  inline void SetAuthenticationStrategy(const AuthenticationStrategy& value) { m_authenticationStrategy = value; }
85 
90  inline void SetAuthenticationStrategy(AuthenticationStrategy&& value) { m_authenticationStrategy = std::move(value); }
91 
96  inline CreateConfigurationResult& WithAuthenticationStrategy(const AuthenticationStrategy& value) { SetAuthenticationStrategy(value); return *this;}
97 
102  inline CreateConfigurationResult& WithAuthenticationStrategy(AuthenticationStrategy&& value) { SetAuthenticationStrategy(std::move(value)); return *this;}
103 
104 
108  inline const Aws::Utils::DateTime& GetCreated() const{ return m_created; }
109 
113  inline void SetCreated(const Aws::Utils::DateTime& value) { m_created = value; }
114 
118  inline void SetCreated(Aws::Utils::DateTime&& value) { m_created = std::move(value); }
119 
123  inline CreateConfigurationResult& WithCreated(const Aws::Utils::DateTime& value) { SetCreated(value); return *this;}
124 
128  inline CreateConfigurationResult& WithCreated(Aws::Utils::DateTime&& value) { SetCreated(std::move(value)); return *this;}
129 
130 
134  inline const Aws::String& GetId() const{ return m_id; }
135 
139  inline void SetId(const Aws::String& value) { m_id = value; }
140 
144  inline void SetId(Aws::String&& value) { m_id = std::move(value); }
145 
149  inline void SetId(const char* value) { m_id.assign(value); }
150 
154  inline CreateConfigurationResult& WithId(const Aws::String& value) { SetId(value); return *this;}
155 
159  inline CreateConfigurationResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
160 
164  inline CreateConfigurationResult& WithId(const char* value) { SetId(value); return *this;}
165 
166 
170  inline const ConfigurationRevision& GetLatestRevision() const{ return m_latestRevision; }
171 
175  inline void SetLatestRevision(const ConfigurationRevision& value) { m_latestRevision = value; }
176 
180  inline void SetLatestRevision(ConfigurationRevision&& value) { m_latestRevision = std::move(value); }
181 
185  inline CreateConfigurationResult& WithLatestRevision(const ConfigurationRevision& value) { SetLatestRevision(value); return *this;}
186 
190  inline CreateConfigurationResult& WithLatestRevision(ConfigurationRevision&& value) { SetLatestRevision(std::move(value)); return *this;}
191 
192 
198  inline const Aws::String& GetName() const{ return m_name; }
199 
205  inline void SetName(const Aws::String& value) { m_name = value; }
206 
212  inline void SetName(Aws::String&& value) { m_name = std::move(value); }
213 
219  inline void SetName(const char* value) { m_name.assign(value); }
220 
226  inline CreateConfigurationResult& WithName(const Aws::String& value) { SetName(value); return *this;}
227 
233  inline CreateConfigurationResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
234 
240  inline CreateConfigurationResult& WithName(const char* value) { SetName(value); return *this;}
241 
242  private:
243 
244  Aws::String m_arn;
245 
246  AuthenticationStrategy m_authenticationStrategy;
247 
248  Aws::Utils::DateTime m_created;
249 
250  Aws::String m_id;
251 
252  ConfigurationRevision m_latestRevision;
253 
254  Aws::String m_name;
255  };
256 
257 } // namespace Model
258 } // namespace MQ
259 } // namespace Aws
Aws::MQ::Model::CreateConfigurationResult::GetName
const Aws::String & GetName() const
Definition: CreateConfigurationResult.h:198
Aws::Utils::DateTime
Definition: DateTime.h:55
AWS_MQ_API
#define AWS_MQ_API
Definition: MQ_EXPORTS.h:28
Aws::MQ::Model::CreateConfigurationResult::WithName
CreateConfigurationResult & WithName(const char *value)
Definition: CreateConfigurationResult.h:240
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::MQ::Model::CreateConfigurationResult::WithName
CreateConfigurationResult & WithName(const Aws::String &value)
Definition: CreateConfigurationResult.h:226
Aws::MQ::Model::CreateConfigurationResult::WithId
CreateConfigurationResult & WithId(const Aws::String &value)
Definition: CreateConfigurationResult.h:154
Aws::MQ::Model::CreateConfigurationResult::operator=
CreateConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MQ::Model::CreateConfigurationResult::SetArn
void SetArn(Aws::String &&value)
Definition: CreateConfigurationResult.h:51
Aws::MQ::Model::CreateConfigurationResult::SetLatestRevision
void SetLatestRevision(ConfigurationRevision &&value)
Definition: CreateConfigurationResult.h:180
MQ_EXPORTS.h
Aws::MQ::Model::CreateConfigurationResult::WithId
CreateConfigurationResult & WithId(const char *value)
Definition: CreateConfigurationResult.h:164
DateTime.h
Aws::MQ::Model::AuthenticationStrategy
AuthenticationStrategy
Definition: AuthenticationStrategy.h:17
Aws::MQ::Model::CreateConfigurationResult::WithAuthenticationStrategy
CreateConfigurationResult & WithAuthenticationStrategy(AuthenticationStrategy &&value)
Definition: CreateConfigurationResult.h:102
Aws::MQ::Model::CreateConfigurationResult::SetId
void SetId(const char *value)
Definition: CreateConfigurationResult.h:149
Aws::MQ::Model::CreateConfigurationResult::SetLatestRevision
void SetLatestRevision(const ConfigurationRevision &value)
Definition: CreateConfigurationResult.h:175
Aws::MQ::Model::CreateConfigurationResult::WithArn
CreateConfigurationResult & WithArn(Aws::String &&value)
Definition: CreateConfigurationResult.h:66
Aws::MQ::Model::CreateConfigurationResult::WithCreated
CreateConfigurationResult & WithCreated(Aws::Utils::DateTime &&value)
Definition: CreateConfigurationResult.h:128
Aws::MQ::Model::CreateConfigurationResult::GetArn
const Aws::String & GetArn() const
Definition: CreateConfigurationResult.h:41
Aws::MQ::Model::CreateConfigurationResult::SetAuthenticationStrategy
void SetAuthenticationStrategy(AuthenticationStrategy &&value)
Definition: CreateConfigurationResult.h:90
Aws::MQ::Model::CreateConfigurationResult::SetId
void SetId(const Aws::String &value)
Definition: CreateConfigurationResult.h:139
Aws::MQ::Model::CreateConfigurationResult::GetCreated
const Aws::Utils::DateTime & GetCreated() const
Definition: CreateConfigurationResult.h:108
Aws::MQ::Model::CreateConfigurationResult
Definition: CreateConfigurationResult.h:31
Aws::MQ::Model::CreateConfigurationResult::GetId
const Aws::String & GetId() const
Definition: CreateConfigurationResult.h:134
Aws::MQ::Model::CreateConfigurationResult::SetAuthenticationStrategy
void SetAuthenticationStrategy(const AuthenticationStrategy &value)
Definition: CreateConfigurationResult.h:84
Aws::MQ::Model::CreateConfigurationResult::WithCreated
CreateConfigurationResult & WithCreated(const Aws::Utils::DateTime &value)
Definition: CreateConfigurationResult.h:123
Aws::MQ::Model::CreateConfigurationResult::WithAuthenticationStrategy
CreateConfigurationResult & WithAuthenticationStrategy(const AuthenticationStrategy &value)
Definition: CreateConfigurationResult.h:96
AWSString.h
Aws::MQ::Model::CreateConfigurationResult::WithLatestRevision
CreateConfigurationResult & WithLatestRevision(ConfigurationRevision &&value)
Definition: CreateConfigurationResult.h:190
Aws::MQ::Model::CreateConfigurationResult::CreateConfigurationResult
CreateConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ConfigurationRevision.h
Aws::MQ::Model::CreateConfigurationResult::WithArn
CreateConfigurationResult & WithArn(const char *value)
Definition: CreateConfigurationResult.h:71
Aws::MQ::Model::ConfigurationRevision
Definition: ConfigurationRevision.h:34
Aws::MQ::Model::CreateConfigurationResult::WithArn
CreateConfigurationResult & WithArn(const Aws::String &value)
Definition: CreateConfigurationResult.h:61
Aws::MQ::Model::CreateConfigurationResult::SetCreated
void SetCreated(const Aws::Utils::DateTime &value)
Definition: CreateConfigurationResult.h:113
Aws
Definition: AccessManagementClient.h:15
Aws::MQ::Model::CreateConfigurationResult::SetName
void SetName(const char *value)
Definition: CreateConfigurationResult.h:219
Aws::MQ::Model::CreateConfigurationResult::SetCreated
void SetCreated(Aws::Utils::DateTime &&value)
Definition: CreateConfigurationResult.h:118
Aws::MQ::Model::CreateConfigurationResult::WithId
CreateConfigurationResult & WithId(Aws::String &&value)
Definition: CreateConfigurationResult.h:159
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MQ::Model::CreateConfigurationResult::SetName
void SetName(Aws::String &&value)
Definition: CreateConfigurationResult.h:212
Aws::MQ::Model::CreateConfigurationResult::CreateConfigurationResult
CreateConfigurationResult()
AuthenticationStrategy.h
Aws::MQ::Model::CreateConfigurationResult::WithLatestRevision
CreateConfigurationResult & WithLatestRevision(const ConfigurationRevision &value)
Definition: CreateConfigurationResult.h:185
Aws::MQ::Model::CreateConfigurationResult::SetArn
void SetArn(const char *value)
Definition: CreateConfigurationResult.h:56
Aws::MQ::Model::CreateConfigurationResult::GetAuthenticationStrategy
const AuthenticationStrategy & GetAuthenticationStrategy() const
Definition: CreateConfigurationResult.h:78
Aws::MQ::Model::CreateConfigurationResult::GetLatestRevision
const ConfigurationRevision & GetLatestRevision() const
Definition: CreateConfigurationResult.h:170
Aws::MQ::Model::CreateConfigurationResult::SetArn
void SetArn(const Aws::String &value)
Definition: CreateConfigurationResult.h:46
Aws::MQ::Model::CreateConfigurationResult::WithName
CreateConfigurationResult & WithName(Aws::String &&value)
Definition: CreateConfigurationResult.h:233
Aws::MQ::Model::CreateConfigurationResult::SetId
void SetId(Aws::String &&value)
Definition: CreateConfigurationResult.h:144
Aws::MQ::Model::CreateConfigurationResult::SetName
void SetName(const Aws::String &value)
Definition: CreateConfigurationResult.h:205