AWS SDK for C++  1.9.20
AWS SDK for C++
GetAliasResult.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 GetAliasResult& WithAliasArn(const Aws::String& value) { SetAliasArn(value); return *this;}
67 
71  inline GetAliasResult& WithAliasArn(Aws::String&& value) { SetAliasArn(std::move(value)); return *this;}
72 
76  inline GetAliasResult& 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 GetAliasResult& WithName(const Aws::String& value) { SetName(value); return *this;}
103 
107  inline GetAliasResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
108 
112  inline GetAliasResult& 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 GetAliasResult& WithFunctionVersion(const Aws::String& value) { SetFunctionVersion(value); return *this;}
139 
143  inline GetAliasResult& WithFunctionVersion(Aws::String&& value) { SetFunctionVersion(std::move(value)); return *this;}
144 
148  inline GetAliasResult& 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 GetAliasResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
175 
179  inline GetAliasResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
180 
184  inline GetAliasResult& 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 GetAliasResult& WithRoutingConfig(const AliasRoutingConfiguration& value) { SetRoutingConfig(value); return *this;}
214 
220  inline GetAliasResult& 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 GetAliasResult& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;}
247 
251  inline GetAliasResult& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;}
252 
256  inline GetAliasResult& 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::GetAliasResult::WithName
GetAliasResult & WithName(Aws::String &&value)
Definition: GetAliasResult.h:107
Aws::Lambda::Model::AliasRoutingConfiguration
Definition: AliasRoutingConfiguration.h:35
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Lambda::Model::GetAliasResult
Definition: GetAliasResult.h:36
Aws::Lambda::Model::GetAliasResult::WithFunctionVersion
GetAliasResult & WithFunctionVersion(Aws::String &&value)
Definition: GetAliasResult.h:143
Aws::Lambda::Model::GetAliasResult::WithFunctionVersion
GetAliasResult & WithFunctionVersion(const Aws::String &value)
Definition: GetAliasResult.h:138
Aws::Lambda::Model::GetAliasResult::GetRoutingConfig
const AliasRoutingConfiguration & GetRoutingConfig() const
Definition: GetAliasResult.h:192
Aws::Lambda::Model::GetAliasResult::SetAliasArn
void SetAliasArn(Aws::String &&value)
Definition: GetAliasResult.h:56
Aws::Lambda::Model::GetAliasResult::WithAliasArn
GetAliasResult & WithAliasArn(const Aws::String &value)
Definition: GetAliasResult.h:66
Aws::Lambda::Model::GetAliasResult::SetName
void SetName(const char *value)
Definition: GetAliasResult.h:97
Aws::Lambda::Model::GetAliasResult::SetRevisionId
void SetRevisionId(Aws::String &&value)
Definition: GetAliasResult.h:236
Aws::Lambda::Model::GetAliasResult::SetName
void SetName(Aws::String &&value)
Definition: GetAliasResult.h:92
Aws::Lambda::Model::GetAliasResult::WithAliasArn
GetAliasResult & WithAliasArn(Aws::String &&value)
Definition: GetAliasResult.h:71
Aws::Lambda::Model::GetAliasResult::SetFunctionVersion
void SetFunctionVersion(Aws::String &&value)
Definition: GetAliasResult.h:128
Aws::Lambda::Model::GetAliasResult::SetName
void SetName(const Aws::String &value)
Definition: GetAliasResult.h:87
Aws::Lambda::Model::GetAliasResult::WithAliasArn
GetAliasResult & WithAliasArn(const char *value)
Definition: GetAliasResult.h:76
Aws::Lambda::Model::GetAliasResult::GetAliasResult
GetAliasResult()
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::Model::GetAliasResult::WithRevisionId
GetAliasResult & WithRevisionId(const char *value)
Definition: GetAliasResult.h:256
Aws::Lambda::Model::GetAliasResult::SetRevisionId
void SetRevisionId(const char *value)
Definition: GetAliasResult.h:241
Aws::Lambda::Model::GetAliasResult::SetDescription
void SetDescription(const char *value)
Definition: GetAliasResult.h:169
Aws::Lambda::Model::GetAliasResult::WithRevisionId
GetAliasResult & WithRevisionId(const Aws::String &value)
Definition: GetAliasResult.h:246
Aws::Lambda::Model::GetAliasResult::SetRoutingConfig
void SetRoutingConfig(AliasRoutingConfiguration &&value)
Definition: GetAliasResult.h:206
Aws::Lambda::Model::GetAliasResult::GetAliasArn
const Aws::String & GetAliasArn() const
Definition: GetAliasResult.h:46
Aws::Lambda::Model::GetAliasResult::WithName
GetAliasResult & WithName(const Aws::String &value)
Definition: GetAliasResult.h:102
Aws::Lambda::Model::GetAliasResult::SetRoutingConfig
void SetRoutingConfig(const AliasRoutingConfiguration &value)
Definition: GetAliasResult.h:199
Aws::Lambda::Model::GetAliasResult::SetFunctionVersion
void SetFunctionVersion(const char *value)
Definition: GetAliasResult.h:133
Aws::Lambda::Model::GetAliasResult::WithDescription
GetAliasResult & WithDescription(const char *value)
Definition: GetAliasResult.h:184
Aws::Lambda::Model::GetAliasResult::GetRevisionId
const Aws::String & GetRevisionId() const
Definition: GetAliasResult.h:226
Aws::Lambda::Model::GetAliasResult::GetName
const Aws::String & GetName() const
Definition: GetAliasResult.h:82
Aws::Lambda::Model::GetAliasResult::WithDescription
GetAliasResult & WithDescription(const Aws::String &value)
Definition: GetAliasResult.h:174
Aws::Lambda::Model::GetAliasResult::WithFunctionVersion
GetAliasResult & WithFunctionVersion(const char *value)
Definition: GetAliasResult.h:148
AWSString.h
Aws::Lambda::Model::GetAliasResult::WithRoutingConfig
GetAliasResult & WithRoutingConfig(const AliasRoutingConfiguration &value)
Definition: GetAliasResult.h:213
Aws::Lambda::Model::GetAliasResult::operator=
GetAliasResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Lambda::Model::GetAliasResult::SetAliasArn
void SetAliasArn(const char *value)
Definition: GetAliasResult.h:61
Aws::Lambda::Model::GetAliasResult::GetFunctionVersion
const Aws::String & GetFunctionVersion() const
Definition: GetAliasResult.h:118
Aws::Lambda::Model::GetAliasResult::SetAliasArn
void SetAliasArn(const Aws::String &value)
Definition: GetAliasResult.h:51
Aws::Lambda::Model::GetAliasResult::GetDescription
const Aws::String & GetDescription() const
Definition: GetAliasResult.h:154
Aws::Lambda::Model::GetAliasResult::GetAliasResult
GetAliasResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Lambda::Model::GetAliasResult::WithName
GetAliasResult & WithName(const char *value)
Definition: GetAliasResult.h:112
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws::Lambda::Model::GetAliasResult::SetDescription
void SetDescription(Aws::String &&value)
Definition: GetAliasResult.h:164
Aws
Definition: AccessManagementClient.h:15
Aws::Lambda::Model::GetAliasResult::WithRevisionId
GetAliasResult & WithRevisionId(Aws::String &&value)
Definition: GetAliasResult.h:251
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AliasRoutingConfiguration.h
Aws::Lambda::Model::GetAliasResult::SetFunctionVersion
void SetFunctionVersion(const Aws::String &value)
Definition: GetAliasResult.h:123
Aws::Lambda::Model::GetAliasResult::SetRevisionId
void SetRevisionId(const Aws::String &value)
Definition: GetAliasResult.h:231
Aws::Lambda::Model::GetAliasResult::SetDescription
void SetDescription(const Aws::String &value)
Definition: GetAliasResult.h:159
Aws::Lambda::Model::GetAliasResult::WithDescription
GetAliasResult & WithDescription(Aws::String &&value)
Definition: GetAliasResult.h:179
Lambda_EXPORTS.h
Aws::Lambda::Model::GetAliasResult::WithRoutingConfig
GetAliasResult & WithRoutingConfig(AliasRoutingConfiguration &&value)
Definition: GetAliasResult.h:220