AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AliasConfiguration.h
1
6#pragma once
7#include <aws/lambda/Lambda_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lambda/model/AliasRoutingConfiguration.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Lambda
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_LAMBDA_API AliasConfiguration();
40 AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetAliasArn() const{ return m_aliasArn; }
48 inline bool AliasArnHasBeenSet() const { return m_aliasArnHasBeenSet; }
49 inline void SetAliasArn(const Aws::String& value) { m_aliasArnHasBeenSet = true; m_aliasArn = value; }
50 inline void SetAliasArn(Aws::String&& value) { m_aliasArnHasBeenSet = true; m_aliasArn = std::move(value); }
51 inline void SetAliasArn(const char* value) { m_aliasArnHasBeenSet = true; m_aliasArn.assign(value); }
52 inline AliasConfiguration& WithAliasArn(const Aws::String& value) { SetAliasArn(value); return *this;}
53 inline AliasConfiguration& WithAliasArn(Aws::String&& value) { SetAliasArn(std::move(value)); return *this;}
54 inline AliasConfiguration& WithAliasArn(const char* value) { SetAliasArn(value); return *this;}
56
58
61 inline const Aws::String& GetName() const{ return m_name; }
62 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
63 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
64 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
65 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
66 inline AliasConfiguration& WithName(const Aws::String& value) { SetName(value); return *this;}
67 inline AliasConfiguration& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
68 inline AliasConfiguration& WithName(const char* value) { SetName(value); return *this;}
70
72
75 inline const Aws::String& GetFunctionVersion() const{ return m_functionVersion; }
76 inline bool FunctionVersionHasBeenSet() const { return m_functionVersionHasBeenSet; }
77 inline void SetFunctionVersion(const Aws::String& value) { m_functionVersionHasBeenSet = true; m_functionVersion = value; }
78 inline void SetFunctionVersion(Aws::String&& value) { m_functionVersionHasBeenSet = true; m_functionVersion = std::move(value); }
79 inline void SetFunctionVersion(const char* value) { m_functionVersionHasBeenSet = true; m_functionVersion.assign(value); }
80 inline AliasConfiguration& WithFunctionVersion(const Aws::String& value) { SetFunctionVersion(value); return *this;}
81 inline AliasConfiguration& WithFunctionVersion(Aws::String&& value) { SetFunctionVersion(std::move(value)); return *this;}
82 inline AliasConfiguration& WithFunctionVersion(const char* value) { SetFunctionVersion(value); return *this;}
84
86
89 inline const Aws::String& GetDescription() const{ return m_description; }
90 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
91 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
92 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
93 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
94 inline AliasConfiguration& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
95 inline AliasConfiguration& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
96 inline AliasConfiguration& WithDescription(const char* value) { SetDescription(value); return *this;}
98
100
105 inline const AliasRoutingConfiguration& GetRoutingConfig() const{ return m_routingConfig; }
106 inline bool RoutingConfigHasBeenSet() const { return m_routingConfigHasBeenSet; }
107 inline void SetRoutingConfig(const AliasRoutingConfiguration& value) { m_routingConfigHasBeenSet = true; m_routingConfig = value; }
108 inline void SetRoutingConfig(AliasRoutingConfiguration&& value) { m_routingConfigHasBeenSet = true; m_routingConfig = std::move(value); }
110 inline AliasConfiguration& WithRoutingConfig(AliasRoutingConfiguration&& value) { SetRoutingConfig(std::move(value)); return *this;}
112
114
117 inline const Aws::String& GetRevisionId() const{ return m_revisionId; }
118 inline bool RevisionIdHasBeenSet() const { return m_revisionIdHasBeenSet; }
119 inline void SetRevisionId(const Aws::String& value) { m_revisionIdHasBeenSet = true; m_revisionId = value; }
120 inline void SetRevisionId(Aws::String&& value) { m_revisionIdHasBeenSet = true; m_revisionId = std::move(value); }
121 inline void SetRevisionId(const char* value) { m_revisionIdHasBeenSet = true; m_revisionId.assign(value); }
122 inline AliasConfiguration& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;}
123 inline AliasConfiguration& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;}
124 inline AliasConfiguration& WithRevisionId(const char* value) { SetRevisionId(value); return *this;}
126
128
129 inline const Aws::String& GetRequestId() const{ return m_requestId; }
130 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
131 inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
132 inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
133 inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
134 inline AliasConfiguration& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
135 inline AliasConfiguration& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
136 inline AliasConfiguration& WithRequestId(const char* value) { SetRequestId(value); return *this;}
138 private:
139
140 Aws::String m_aliasArn;
141 bool m_aliasArnHasBeenSet = false;
142
143 Aws::String m_name;
144 bool m_nameHasBeenSet = false;
145
146 Aws::String m_functionVersion;
147 bool m_functionVersionHasBeenSet = false;
148
149 Aws::String m_description;
150 bool m_descriptionHasBeenSet = false;
151
152 AliasRoutingConfiguration m_routingConfig;
153 bool m_routingConfigHasBeenSet = false;
154
155 Aws::String m_revisionId;
156 bool m_revisionIdHasBeenSet = false;
157
158 Aws::String m_requestId;
159 bool m_requestIdHasBeenSet = false;
160 };
161
162} // namespace Model
163} // namespace Lambda
164} // namespace Aws
AliasConfiguration & WithName(const char *value)
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
AliasConfiguration & WithDescription(Aws::String &&value)
AliasConfiguration & WithRequestId(const char *value)
AliasConfiguration & WithFunctionVersion(const char *value)
AliasConfiguration & WithRoutingConfig(const AliasRoutingConfiguration &value)
AliasConfiguration & WithRoutingConfig(AliasRoutingConfiguration &&value)
const AliasRoutingConfiguration & GetRoutingConfig() const
AliasConfiguration & WithDescription(const char *value)
void SetName(const Aws::String &value)
AliasConfiguration & WithRevisionId(Aws::String &&value)
const Aws::String & GetRequestId() const
AliasConfiguration & WithFunctionVersion(const Aws::String &value)
const Aws::String & GetFunctionVersion() const
AliasConfiguration & WithName(const Aws::String &value)
AliasConfiguration & WithRevisionId(const char *value)
AliasConfiguration & WithRevisionId(const Aws::String &value)
AliasConfiguration & WithAliasArn(const char *value)
AliasConfiguration & WithAliasArn(const Aws::String &value)
void SetAliasArn(const Aws::String &value)
void SetFunctionVersion(const Aws::String &value)
AWS_LAMBDA_API AliasConfiguration(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetRevisionId() const
void SetRoutingConfig(const AliasRoutingConfiguration &value)
AliasConfiguration & WithAliasArn(Aws::String &&value)
AliasConfiguration & WithName(Aws::String &&value)
void SetRequestId(const Aws::String &value)
void SetFunctionVersion(Aws::String &&value)
void SetRevisionId(const Aws::String &value)
AliasConfiguration & WithFunctionVersion(Aws::String &&value)
const Aws::String & GetDescription() const
AliasConfiguration & WithRequestId(Aws::String &&value)
AliasConfiguration & WithRequestId(const Aws::String &value)
AWS_LAMBDA_API AliasConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AliasConfiguration & WithDescription(const Aws::String &value)
const Aws::String & GetAliasArn() const
void SetRoutingConfig(AliasRoutingConfiguration &&value)
void SetDescription(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue