AWS SDK for C++  1.9.20
AWS SDK for C++
AliasConfiguration.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Lambda
23 {
24 namespace Model
25 {
26 
35  {
36  public:
41 
42 
46  inline const Aws::String& GetAliasArn() const{ return m_aliasArn; }
47 
51  inline bool AliasArnHasBeenSet() const { return m_aliasArnHasBeenSet; }
52 
56  inline void SetAliasArn(const Aws::String& value) { m_aliasArnHasBeenSet = true; m_aliasArn = value; }
57 
61  inline void SetAliasArn(Aws::String&& value) { m_aliasArnHasBeenSet = true; m_aliasArn = std::move(value); }
62 
66  inline void SetAliasArn(const char* value) { m_aliasArnHasBeenSet = true; m_aliasArn.assign(value); }
67 
71  inline AliasConfiguration& WithAliasArn(const Aws::String& value) { SetAliasArn(value); return *this;}
72 
76  inline AliasConfiguration& WithAliasArn(Aws::String&& value) { SetAliasArn(std::move(value)); return *this;}
77 
81  inline AliasConfiguration& WithAliasArn(const char* value) { SetAliasArn(value); return *this;}
82 
83 
87  inline const Aws::String& GetName() const{ return m_name; }
88 
92  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
93 
97  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
98 
102  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
103 
107  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
108 
112  inline AliasConfiguration& WithName(const Aws::String& value) { SetName(value); return *this;}
113 
117  inline AliasConfiguration& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
118 
122  inline AliasConfiguration& WithName(const char* value) { SetName(value); return *this;}
123 
124 
128  inline const Aws::String& GetFunctionVersion() const{ return m_functionVersion; }
129 
133  inline bool FunctionVersionHasBeenSet() const { return m_functionVersionHasBeenSet; }
134 
138  inline void SetFunctionVersion(const Aws::String& value) { m_functionVersionHasBeenSet = true; m_functionVersion = value; }
139 
143  inline void SetFunctionVersion(Aws::String&& value) { m_functionVersionHasBeenSet = true; m_functionVersion = std::move(value); }
144 
148  inline void SetFunctionVersion(const char* value) { m_functionVersionHasBeenSet = true; m_functionVersion.assign(value); }
149 
153  inline AliasConfiguration& WithFunctionVersion(const Aws::String& value) { SetFunctionVersion(value); return *this;}
154 
158  inline AliasConfiguration& WithFunctionVersion(Aws::String&& value) { SetFunctionVersion(std::move(value)); return *this;}
159 
163  inline AliasConfiguration& WithFunctionVersion(const char* value) { SetFunctionVersion(value); return *this;}
164 
165 
169  inline const Aws::String& GetDescription() const{ return m_description; }
170 
174  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
175 
179  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
180 
184  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
185 
189  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
190 
194  inline AliasConfiguration& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
195 
199  inline AliasConfiguration& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
200 
204  inline AliasConfiguration& WithDescription(const char* value) { SetDescription(value); return *this;}
205 
206 
212  inline const AliasRoutingConfiguration& GetRoutingConfig() const{ return m_routingConfig; }
213 
219  inline bool RoutingConfigHasBeenSet() const { return m_routingConfigHasBeenSet; }
220 
226  inline void SetRoutingConfig(const AliasRoutingConfiguration& value) { m_routingConfigHasBeenSet = true; m_routingConfig = value; }
227 
233  inline void SetRoutingConfig(AliasRoutingConfiguration&& value) { m_routingConfigHasBeenSet = true; m_routingConfig = std::move(value); }
234 
240  inline AliasConfiguration& WithRoutingConfig(const AliasRoutingConfiguration& value) { SetRoutingConfig(value); return *this;}
241 
247  inline AliasConfiguration& WithRoutingConfig(AliasRoutingConfiguration&& value) { SetRoutingConfig(std::move(value)); return *this;}
248 
249 
253  inline const Aws::String& GetRevisionId() const{ return m_revisionId; }
254 
258  inline bool RevisionIdHasBeenSet() const { return m_revisionIdHasBeenSet; }
259 
263  inline void SetRevisionId(const Aws::String& value) { m_revisionIdHasBeenSet = true; m_revisionId = value; }
264 
268  inline void SetRevisionId(Aws::String&& value) { m_revisionIdHasBeenSet = true; m_revisionId = std::move(value); }
269 
273  inline void SetRevisionId(const char* value) { m_revisionIdHasBeenSet = true; m_revisionId.assign(value); }
274 
278  inline AliasConfiguration& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;}
279 
283  inline AliasConfiguration& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;}
284 
288  inline AliasConfiguration& WithRevisionId(const char* value) { SetRevisionId(value); return *this;}
289 
290  private:
291 
292  Aws::String m_aliasArn;
293  bool m_aliasArnHasBeenSet;
294 
295  Aws::String m_name;
296  bool m_nameHasBeenSet;
297 
298  Aws::String m_functionVersion;
299  bool m_functionVersionHasBeenSet;
300 
301  Aws::String m_description;
302  bool m_descriptionHasBeenSet;
303 
304  AliasRoutingConfiguration m_routingConfig;
305  bool m_routingConfigHasBeenSet;
306 
307  Aws::String m_revisionId;
308  bool m_revisionIdHasBeenSet;
309  };
310 
311 } // namespace Model
312 } // namespace Lambda
313 } // namespace Aws
Aws::Lambda::Model::AliasConfiguration::WithFunctionVersion
AliasConfiguration & WithFunctionVersion(Aws::String &&value)
Definition: AliasConfiguration.h:158
Aws::Lambda::Model::AliasRoutingConfiguration
Definition: AliasRoutingConfiguration.h:35
Aws::Lambda::Model::AliasConfiguration::SetName
void SetName(const char *value)
Definition: AliasConfiguration.h:107
Aws::Lambda::Model::AliasConfiguration::WithRevisionId
AliasConfiguration & WithRevisionId(const char *value)
Definition: AliasConfiguration.h:288
Aws::Lambda::Model::AliasConfiguration::SetFunctionVersion
void SetFunctionVersion(Aws::String &&value)
Definition: AliasConfiguration.h:143
Aws::Lambda::Model::AliasConfiguration::WithFunctionVersion
AliasConfiguration & WithFunctionVersion(const char *value)
Definition: AliasConfiguration.h:163
Aws::Lambda::Model::AliasConfiguration::SetRoutingConfig
void SetRoutingConfig(AliasRoutingConfiguration &&value)
Definition: AliasConfiguration.h:233
Aws::Lambda::Model::AliasConfiguration::WithName
AliasConfiguration & WithName(const char *value)
Definition: AliasConfiguration.h:122
Aws::Lambda::Model::AliasConfiguration::SetRevisionId
void SetRevisionId(Aws::String &&value)
Definition: AliasConfiguration.h:268
Aws::Lambda::Model::AliasConfiguration::NameHasBeenSet
bool NameHasBeenSet() const
Definition: AliasConfiguration.h:92
Aws::Lambda::Model::AliasConfiguration::SetFunctionVersion
void SetFunctionVersion(const char *value)
Definition: AliasConfiguration.h:148
Aws::Lambda::Model::AliasConfiguration::GetRevisionId
const Aws::String & GetRevisionId() const
Definition: AliasConfiguration.h:253
Aws::Lambda::Model::AliasConfiguration::SetDescription
void SetDescription(const Aws::String &value)
Definition: AliasConfiguration.h:179
Aws::Lambda::Model::AliasConfiguration::GetFunctionVersion
const Aws::String & GetFunctionVersion() const
Definition: AliasConfiguration.h:128
Aws::Lambda::Model::AliasConfiguration::WithName
AliasConfiguration & WithName(const Aws::String &value)
Definition: AliasConfiguration.h:112
Aws::Lambda::Model::AliasConfiguration::WithAliasArn
AliasConfiguration & WithAliasArn(Aws::String &&value)
Definition: AliasConfiguration.h:76
Aws::Lambda::Model::AliasConfiguration::SetRevisionId
void SetRevisionId(const Aws::String &value)
Definition: AliasConfiguration.h:263
Aws::Lambda::Model::AliasConfiguration::GetAliasArn
const Aws::String & GetAliasArn() const
Definition: AliasConfiguration.h:46
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::Model::AliasConfiguration::operator=
AliasConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Lambda::Model::AliasConfiguration::SetName
void SetName(Aws::String &&value)
Definition: AliasConfiguration.h:102
Aws::Lambda::Model::AliasConfiguration::SetRoutingConfig
void SetRoutingConfig(const AliasRoutingConfiguration &value)
Definition: AliasConfiguration.h:226
Aws::Lambda::Model::AliasConfiguration
Definition: AliasConfiguration.h:35
Aws::Lambda::Model::AliasConfiguration::WithRevisionId
AliasConfiguration & WithRevisionId(Aws::String &&value)
Definition: AliasConfiguration.h:283
Aws::Lambda::Model::AliasConfiguration::WithDescription
AliasConfiguration & WithDescription(const char *value)
Definition: AliasConfiguration.h:204
Aws::Lambda::Model::AliasConfiguration::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: AliasConfiguration.h:174
Aws::Lambda::Model::AliasConfiguration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Lambda::Model::AliasConfiguration::AliasConfiguration
AliasConfiguration()
Aws::Lambda::Model::AliasConfiguration::WithRevisionId
AliasConfiguration & WithRevisionId(const Aws::String &value)
Definition: AliasConfiguration.h:278
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Lambda::Model::AliasConfiguration::SetRevisionId
void SetRevisionId(const char *value)
Definition: AliasConfiguration.h:273
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::Lambda::Model::AliasConfiguration::SetAliasArn
void SetAliasArn(const char *value)
Definition: AliasConfiguration.h:66
Aws::Lambda::Model::AliasConfiguration::WithAliasArn
AliasConfiguration & WithAliasArn(const Aws::String &value)
Definition: AliasConfiguration.h:71
Aws::Lambda::Model::AliasConfiguration::SetAliasArn
void SetAliasArn(Aws::String &&value)
Definition: AliasConfiguration.h:61
Aws::Lambda::Model::AliasConfiguration::AliasArnHasBeenSet
bool AliasArnHasBeenSet() const
Definition: AliasConfiguration.h:51
Aws::Lambda::Model::AliasConfiguration::FunctionVersionHasBeenSet
bool FunctionVersionHasBeenSet() const
Definition: AliasConfiguration.h:133
Aws::Lambda::Model::AliasConfiguration::WithRoutingConfig
AliasConfiguration & WithRoutingConfig(AliasRoutingConfiguration &&value)
Definition: AliasConfiguration.h:247
Aws::Lambda::Model::AliasConfiguration::SetFunctionVersion
void SetFunctionVersion(const Aws::String &value)
Definition: AliasConfiguration.h:138
Aws::Lambda::Model::AliasConfiguration::RoutingConfigHasBeenSet
bool RoutingConfigHasBeenSet() const
Definition: AliasConfiguration.h:219
Aws::Lambda::Model::AliasConfiguration::GetRoutingConfig
const AliasRoutingConfiguration & GetRoutingConfig() const
Definition: AliasConfiguration.h:212
Aws::Lambda::Model::AliasConfiguration::SetDescription
void SetDescription(Aws::String &&value)
Definition: AliasConfiguration.h:184
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Lambda::Model::AliasConfiguration::SetDescription
void SetDescription(const char *value)
Definition: AliasConfiguration.h:189
Aws::Lambda::Model::AliasConfiguration::AliasConfiguration
AliasConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::Lambda::Model::AliasConfiguration::SetAliasArn
void SetAliasArn(const Aws::String &value)
Definition: AliasConfiguration.h:56
Aws::Lambda::Model::AliasConfiguration::WithDescription
AliasConfiguration & WithDescription(const Aws::String &value)
Definition: AliasConfiguration.h:194
Aws::Lambda::Model::AliasConfiguration::WithAliasArn
AliasConfiguration & WithAliasArn(const char *value)
Definition: AliasConfiguration.h:81
Aws::Lambda::Model::AliasConfiguration::WithRoutingConfig
AliasConfiguration & WithRoutingConfig(const AliasRoutingConfiguration &value)
Definition: AliasConfiguration.h:240
Aws::Lambda::Model::AliasConfiguration::WithFunctionVersion
AliasConfiguration & WithFunctionVersion(const Aws::String &value)
Definition: AliasConfiguration.h:153
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lambda::Model::AliasConfiguration::RevisionIdHasBeenSet
bool RevisionIdHasBeenSet() const
Definition: AliasConfiguration.h:258
AliasRoutingConfiguration.h
Aws::Lambda::Model::AliasConfiguration::WithName
AliasConfiguration & WithName(Aws::String &&value)
Definition: AliasConfiguration.h:117
Aws::Lambda::Model::AliasConfiguration::WithDescription
AliasConfiguration & WithDescription(Aws::String &&value)
Definition: AliasConfiguration.h:199
Aws::Lambda::Model::AliasConfiguration::GetDescription
const Aws::String & GetDescription() const
Definition: AliasConfiguration.h:169
Aws::Lambda::Model::AliasConfiguration::SetName
void SetName(const Aws::String &value)
Definition: AliasConfiguration.h:97
Aws::Lambda::Model::AliasConfiguration::GetName
const Aws::String & GetName() const
Definition: AliasConfiguration.h:87
Lambda_EXPORTS.h