7#include <aws/amplifygen3/AmplifyGen3_EXPORTS.h>
8#include <aws/amplifygen3/model/AliasType.h>
9#include <aws/amplifygen3/model/GradualRolloutConfig.h>
10#include <aws/amplifygen3/model/GradualRolloutState.h>
11#include <aws/amplifygen3/model/RoutingConfigEntry.h>
12#include <aws/core/http/HttpResponse.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
20template <
typename RESULT_TYPE>
21class AmazonWebServiceResult;
28namespace AmplifyGen3 {
41 template <
typename AliasNameT = Aws::String>
43 m_aliasNameHasBeenSet =
true;
44 m_aliasName = std::forward<AliasNameT>(value);
46 template <
typename AliasNameT = Aws::String>
58 template <
typename AliasArnT = Aws::String>
60 m_aliasArnHasBeenSet =
true;
61 m_aliasArn = std::forward<AliasArnT>(value);
63 template <
typename AliasArnT = Aws::String>
76 m_typeHasBeenSet =
true;
90 template <
typename UrlT = Aws::String>
92 m_urlHasBeenSet =
true;
93 m_url = std::forward<UrlT>(value);
95 template <
typename UrlT = Aws::String>
97 SetUrl(std::forward<UrlT>(value));
107 template <
typename RoutingConfigT = Aws::Vector<RoutingConfigEntry>>
109 m_routingConfigHasBeenSet =
true;
110 m_routingConfig = std::forward<RoutingConfigT>(value);
112 template <
typename RoutingConfigT = Aws::Vector<RoutingConfigEntry>>
117 template <
typename RoutingConfigT = RoutingConfigEntry>
119 m_routingConfigHasBeenSet =
true;
120 m_routingConfig.emplace_back(std::forward<RoutingConfigT>(value));
130 template <
typename GradualRolloutConfigT = GradualRolloutConfig>
132 m_gradualRolloutConfigHasBeenSet =
true;
133 m_gradualRolloutConfig = std::forward<GradualRolloutConfigT>(value);
135 template <
typename GradualRolloutConfigT = GradualRolloutConfig>
147 template <
typename GradualRolloutStateT = GradualRolloutState>
149 m_gradualRolloutStateHasBeenSet =
true;
150 m_gradualRolloutState = std::forward<GradualRolloutStateT>(value);
152 template <
typename GradualRolloutStateT = GradualRolloutState>
164 template <
typename CreatedAtT = Aws::Utils::DateTime>
166 m_createdAtHasBeenSet =
true;
167 m_createdAt = std::forward<CreatedAtT>(value);
169 template <
typename CreatedAtT = Aws::Utils::DateTime>
182 template <
typename UpdatedAtT = Aws::Utils::DateTime>
184 m_updatedAtHasBeenSet =
true;
185 m_updatedAt = std::forward<UpdatedAtT>(value);
187 template <
typename UpdatedAtT = Aws::Utils::DateTime>
197 template <
typename RequestIdT = Aws::String>
199 m_requestIdHasBeenSet =
true;
200 m_requestId = std::forward<RequestIdT>(value);
202 template <
typename RequestIdT = Aws::String>
221 GradualRolloutConfig m_gradualRolloutConfig;
223 GradualRolloutState m_gradualRolloutState;
231 bool m_aliasNameHasBeenSet =
false;
232 bool m_aliasArnHasBeenSet =
false;
233 bool m_typeHasBeenSet =
false;
234 bool m_urlHasBeenSet =
false;
235 bool m_routingConfigHasBeenSet =
false;
236 bool m_gradualRolloutConfigHasBeenSet =
false;
237 bool m_gradualRolloutStateHasBeenSet =
false;
238 bool m_createdAtHasBeenSet =
false;
239 bool m_updatedAtHasBeenSet =
false;
240 bool m_requestIdHasBeenSet =
false;
void SetAliasName(AliasNameT &&value)
void SetGradualRolloutState(GradualRolloutStateT &&value)
const GradualRolloutState & GetGradualRolloutState() const
GetAliasResult & AddRoutingConfig(RoutingConfigT &&value)
const Aws::String & GetRequestId() const
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetRequestId(RequestIdT &&value)
GetAliasResult & WithAliasName(AliasNameT &&value)
const Aws::String & GetUrl() const
GetAliasResult & WithGradualRolloutState(GradualRolloutStateT &&value)
GetAliasResult & WithAliasArn(AliasArnT &&value)
void SetType(AliasType value)
GetAliasResult & WithUpdatedAt(UpdatedAtT &&value)
GetAliasResult & WithRequestId(RequestIdT &&value)
void SetAliasArn(AliasArnT &&value)
const Aws::String & GetAliasName() const
const Aws::String & GetAliasArn() const
GetAliasResult & WithType(AliasType value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetCreatedAt(CreatedAtT &&value)
const Aws::Vector< RoutingConfigEntry > & GetRoutingConfig() const
void SetRoutingConfig(RoutingConfigT &&value)
GetAliasResult & WithCreatedAt(CreatedAtT &&value)
const GradualRolloutConfig & GetGradualRolloutConfig() const
GetAliasResult & WithGradualRolloutConfig(GradualRolloutConfigT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
GetAliasResult & WithRoutingConfig(RoutingConfigT &&value)
GetAliasResult & WithUrl(UrlT &&value)
AliasType GetType() const
void SetGradualRolloutConfig(GradualRolloutConfigT &&value)
AWS_AMPLIFYGEN3_API GetAliasResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetUrl(UrlT &&value)
AWS_AMPLIFYGEN3_API GetAliasResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_AMPLIFYGEN3_API GetAliasResult()=default
const Aws::Utils::DateTime & GetCreatedAt() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue