AWS SDK for C++  1.9.125
AWS SDK for C++
CreateAliasResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace Lambda
25 {
26 namespace Model
27 {
36  {
37  public:
41 
42 
46  inline const Aws::String& GetAliasArn() const{ return m_aliasArn; }
47 
51  inline void SetAliasArn(const Aws::String& value) { m_aliasArn = value; }
52 
56  inline void SetAliasArn(Aws::String&& value) { m_aliasArn = std::move(value); }
57 
61  inline void SetAliasArn(const char* value) { m_aliasArn.assign(value); }
62 
66  inline CreateAliasResult& WithAliasArn(const Aws::String& value) { SetAliasArn(value); return *this;}
67 
71  inline CreateAliasResult& WithAliasArn(Aws::String&& value) { SetAliasArn(std::move(value)); return *this;}
72 
76  inline CreateAliasResult& WithAliasArn(const char* value) { SetAliasArn(value); return *this;}
77 
78 
82  inline const Aws::String& GetName() const{ return m_name; }
83 
87  inline void SetName(const Aws::String& value) { m_name = value; }
88 
92  inline void SetName(Aws::String&& value) { m_name = std::move(value); }
93 
97  inline void SetName(const char* value) { m_name.assign(value); }
98 
102  inline CreateAliasResult& WithName(const Aws::String& value) { SetName(value); return *this;}
103 
107  inline CreateAliasResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
108 
112  inline CreateAliasResult& WithName(const char* value) { SetName(value); return *this;}
113 
114 
118  inline const Aws::String& GetFunctionVersion() const{ return m_functionVersion; }
119 
123  inline void SetFunctionVersion(const Aws::String& value) { m_functionVersion = value; }
124 
128  inline void SetFunctionVersion(Aws::String&& value) { m_functionVersion = std::move(value); }
129 
133  inline void SetFunctionVersion(const char* value) { m_functionVersion.assign(value); }
134 
138  inline CreateAliasResult& WithFunctionVersion(const Aws::String& value) { SetFunctionVersion(value); return *this;}
139 
143  inline CreateAliasResult& WithFunctionVersion(Aws::String&& value) { SetFunctionVersion(std::move(value)); return *this;}
144 
148  inline CreateAliasResult& WithFunctionVersion(const char* value) { SetFunctionVersion(value); return *this;}
149 
150 
154  inline const Aws::String& GetDescription() const{ return m_description; }
155 
159  inline void SetDescription(const Aws::String& value) { m_description = value; }
160 
164  inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
165 
169  inline void SetDescription(const char* value) { m_description.assign(value); }
170 
174  inline CreateAliasResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
175 
179  inline CreateAliasResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
180 
184  inline CreateAliasResult& WithDescription(const char* value) { SetDescription(value); return *this;}
185 
186 
192  inline const AliasRoutingConfiguration& GetRoutingConfig() const{ return m_routingConfig; }
193 
199  inline void SetRoutingConfig(const AliasRoutingConfiguration& value) { m_routingConfig = value; }
200 
206  inline void SetRoutingConfig(AliasRoutingConfiguration&& value) { m_routingConfig = std::move(value); }
207 
213  inline CreateAliasResult& WithRoutingConfig(const AliasRoutingConfiguration& value) { SetRoutingConfig(value); return *this;}
214 
220  inline CreateAliasResult& WithRoutingConfig(AliasRoutingConfiguration&& value) { SetRoutingConfig(std::move(value)); return *this;}
221 
222 
226  inline const Aws::String& GetRevisionId() const{ return m_revisionId; }
227 
231  inline void SetRevisionId(const Aws::String& value) { m_revisionId = value; }
232 
236  inline void SetRevisionId(Aws::String&& value) { m_revisionId = std::move(value); }
237 
241  inline void SetRevisionId(const char* value) { m_revisionId.assign(value); }
242 
246  inline CreateAliasResult& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;}
247 
251  inline CreateAliasResult& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;}
252 
256  inline CreateAliasResult& WithRevisionId(const char* value) { SetRevisionId(value); return *this;}
257 
258  private:
259 
260  Aws::String m_aliasArn;
261 
262  Aws::String m_name;
263 
264  Aws::String m_functionVersion;
265 
266  Aws::String m_description;
267 
268  AliasRoutingConfiguration m_routingConfig;
269 
270  Aws::String m_revisionId;
271  };
272 
273 } // namespace Model
274 } // namespace Lambda
275 } // namespace Aws
Aws::Lambda::Model::AliasRoutingConfiguration
Definition: AliasRoutingConfiguration.h:35
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Lambda::Model::CreateAliasResult::WithFunctionVersion
CreateAliasResult & WithFunctionVersion(Aws::String &&value)
Definition: CreateAliasResult.h:143
Aws::Lambda::Model::CreateAliasResult::WithName
CreateAliasResult & WithName(Aws::String &&value)
Definition: CreateAliasResult.h:107
Aws::Lambda::Model::CreateAliasResult::CreateAliasResult
CreateAliasResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Lambda::Model::CreateAliasResult::WithFunctionVersion
CreateAliasResult & WithFunctionVersion(const Aws::String &value)
Definition: CreateAliasResult.h:138
Aws::Lambda::Model::CreateAliasResult::WithFunctionVersion
CreateAliasResult & WithFunctionVersion(const char *value)
Definition: CreateAliasResult.h:148
Aws::Lambda::Model::CreateAliasResult::SetRoutingConfig
void SetRoutingConfig(AliasRoutingConfiguration &&value)
Definition: CreateAliasResult.h:206
Aws::Lambda::Model::CreateAliasResult::SetRoutingConfig
void SetRoutingConfig(const AliasRoutingConfiguration &value)
Definition: CreateAliasResult.h:199
Aws::Lambda::Model::CreateAliasResult::WithAliasArn
CreateAliasResult & WithAliasArn(const Aws::String &value)
Definition: CreateAliasResult.h:66
Aws::Lambda::Model::CreateAliasResult::SetRevisionId
void SetRevisionId(Aws::String &&value)
Definition: CreateAliasResult.h:236
Aws::Lambda::Model::CreateAliasResult
Definition: CreateAliasResult.h:36
Aws::Lambda::Model::CreateAliasResult::WithRoutingConfig
CreateAliasResult & WithRoutingConfig(AliasRoutingConfiguration &&value)
Definition: CreateAliasResult.h:220
Aws::Lambda::Model::CreateAliasResult::SetFunctionVersion
void SetFunctionVersion(const Aws::String &value)
Definition: CreateAliasResult.h:123
Aws::Lambda::Model::CreateAliasResult::GetFunctionVersion
const Aws::String & GetFunctionVersion() const
Definition: CreateAliasResult.h:118
Aws::Lambda::Model::CreateAliasResult::WithAliasArn
CreateAliasResult & WithAliasArn(const char *value)
Definition: CreateAliasResult.h:76
Aws::Lambda::Model::CreateAliasResult::GetRoutingConfig
const AliasRoutingConfiguration & GetRoutingConfig() const
Definition: CreateAliasResult.h:192
Aws::Lambda::Model::CreateAliasResult::WithRevisionId
CreateAliasResult & WithRevisionId(Aws::String &&value)
Definition: CreateAliasResult.h:251
Aws::Lambda::Model::CreateAliasResult::WithRoutingConfig
CreateAliasResult & WithRoutingConfig(const AliasRoutingConfiguration &value)
Definition: CreateAliasResult.h:213
Aws::Lambda::Model::CreateAliasResult::GetName
const Aws::String & GetName() const
Definition: CreateAliasResult.h:82
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::Model::CreateAliasResult::WithName
CreateAliasResult & WithName(const char *value)
Definition: CreateAliasResult.h:112
Aws::Lambda::Model::CreateAliasResult::SetName
void SetName(Aws::String &&value)
Definition: CreateAliasResult.h:92
Aws::Lambda::Model::CreateAliasResult::GetAliasArn
const Aws::String & GetAliasArn() const
Definition: CreateAliasResult.h:46
Aws::Lambda::Model::CreateAliasResult::SetFunctionVersion
void SetFunctionVersion(const char *value)
Definition: CreateAliasResult.h:133
Aws::Lambda::Model::CreateAliasResult::WithDescription
CreateAliasResult & WithDescription(const char *value)
Definition: CreateAliasResult.h:184
AWSString.h
Aws::Lambda::Model::CreateAliasResult::WithRevisionId
CreateAliasResult & WithRevisionId(const char *value)
Definition: CreateAliasResult.h:256
Aws::Lambda::Model::CreateAliasResult::WithDescription
CreateAliasResult & WithDescription(Aws::String &&value)
Definition: CreateAliasResult.h:179
Aws::Lambda::Model::CreateAliasResult::WithName
CreateAliasResult & WithName(const Aws::String &value)
Definition: CreateAliasResult.h:102
Aws::Lambda::Model::CreateAliasResult::WithRevisionId
CreateAliasResult & WithRevisionId(const Aws::String &value)
Definition: CreateAliasResult.h:246
Aws::Lambda::Model::CreateAliasResult::SetAliasArn
void SetAliasArn(const Aws::String &value)
Definition: CreateAliasResult.h:51
Aws::Lambda::Model::CreateAliasResult::GetDescription
const Aws::String & GetDescription() const
Definition: CreateAliasResult.h:154
Aws::Lambda::Model::CreateAliasResult::CreateAliasResult
CreateAliasResult()
Aws::Lambda::Model::CreateAliasResult::SetDescription
void SetDescription(const char *value)
Definition: CreateAliasResult.h:169
Aws::Lambda::Model::CreateAliasResult::SetName
void SetName(const char *value)
Definition: CreateAliasResult.h:97
Aws::Lambda::Model::CreateAliasResult::SetDescription
void SetDescription(const Aws::String &value)
Definition: CreateAliasResult.h:159
Aws::Lambda::Model::CreateAliasResult::WithAliasArn
CreateAliasResult & WithAliasArn(Aws::String &&value)
Definition: CreateAliasResult.h:71
Aws::Lambda::Model::CreateAliasResult::SetRevisionId
void SetRevisionId(const char *value)
Definition: CreateAliasResult.h:241
Aws::Lambda::Model::CreateAliasResult::SetAliasArn
void SetAliasArn(Aws::String &&value)
Definition: CreateAliasResult.h:56
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lambda::Model::CreateAliasResult::SetName
void SetName(const Aws::String &value)
Definition: CreateAliasResult.h:87
AliasRoutingConfiguration.h
Aws::Lambda::Model::CreateAliasResult::WithDescription
CreateAliasResult & WithDescription(const Aws::String &value)
Definition: CreateAliasResult.h:174
Aws::Lambda::Model::CreateAliasResult::SetAliasArn
void SetAliasArn(const char *value)
Definition: CreateAliasResult.h:61
Aws::Lambda::Model::CreateAliasResult::SetRevisionId
void SetRevisionId(const Aws::String &value)
Definition: CreateAliasResult.h:231
Aws::Lambda::Model::CreateAliasResult::SetFunctionVersion
void SetFunctionVersion(Aws::String &&value)
Definition: CreateAliasResult.h:128
Aws::Lambda::Model::CreateAliasResult::SetDescription
void SetDescription(Aws::String &&value)
Definition: CreateAliasResult.h:164
Aws::Lambda::Model::CreateAliasResult::operator=
CreateAliasResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Lambda_EXPORTS.h
Aws::Lambda::Model::CreateAliasResult::GetRevisionId
const Aws::String & GetRevisionId() const
Definition: CreateAliasResult.h:226