7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/gamelift/model/RoutingStrategy.h>
10#include <aws/core/utils/DateTime.h>
39 AWS_GAMELIFT_API
Alias() =
default;
51 template<
typename AliasIdT = Aws::String>
52 void SetAliasId(AliasIdT&& value) { m_aliasIdHasBeenSet =
true; m_aliasId = std::forward<AliasIdT>(value); }
53 template<
typename AliasIdT = Aws::String>
64 template<
typename NameT = Aws::String>
65 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
66 template<
typename NameT = Aws::String>
81 template<
typename AliasArnT = Aws::String>
82 void SetAliasArn(AliasArnT&& value) { m_aliasArnHasBeenSet =
true; m_aliasArn = std::forward<AliasArnT>(value); }
83 template<
typename AliasArnT = Aws::String>
93 template<
typename DescriptionT = Aws::String>
94 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
95 template<
typename DescriptionT = Aws::String>
106 template<
typename RoutingStrategyT = RoutingStrategy>
107 void SetRoutingStrategy(RoutingStrategyT&& value) { m_routingStrategyHasBeenSet =
true; m_routingStrategy = std::forward<RoutingStrategyT>(value); }
108 template<
typename RoutingStrategyT = RoutingStrategy>
120 template<
typename CreationTimeT = Aws::Utils::DateTime>
121 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
122 template<
typename CreationTimeT = Aws::Utils::DateTime>
134 template<
typename LastUpdatedTimeT = Aws::Utils::DateTime>
135 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet =
true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
136 template<
typename LastUpdatedTimeT = Aws::Utils::DateTime>
142 bool m_aliasIdHasBeenSet =
false;
145 bool m_nameHasBeenSet =
false;
148 bool m_aliasArnHasBeenSet =
false;
151 bool m_descriptionHasBeenSet =
false;
154 bool m_routingStrategyHasBeenSet =
false;
157 bool m_creationTimeHasBeenSet =
false;
160 bool m_lastUpdatedTimeHasBeenSet =
false;
Alias & WithLastUpdatedTime(LastUpdatedTimeT &&value)
bool LastUpdatedTimeHasBeenSet() const
const Aws::Utils::DateTime & GetCreationTime() const
bool NameHasBeenSet() const
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
const Aws::String & GetAliasId() const
bool DescriptionHasBeenSet() const
Alias & WithAliasId(AliasIdT &&value)
void SetDescription(DescriptionT &&value)
Alias & WithAliasArn(AliasArnT &&value)
void SetAliasArn(AliasArnT &&value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
AWS_GAMELIFT_API Alias(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAliasArn() const
AWS_GAMELIFT_API Alias & operator=(Aws::Utils::Json::JsonView jsonValue)
const RoutingStrategy & GetRoutingStrategy() const
const Aws::String & GetDescription() const
void SetName(NameT &&value)
bool RoutingStrategyHasBeenSet() const
Alias & WithName(NameT &&value)
const Aws::String & GetName() const
Alias & WithRoutingStrategy(RoutingStrategyT &&value)
Alias & WithDescription(DescriptionT &&value)
void SetCreationTime(CreationTimeT &&value)
void SetAliasId(AliasIdT &&value)
void SetRoutingStrategy(RoutingStrategyT &&value)
bool AliasIdHasBeenSet() const
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
Alias & WithCreationTime(CreationTimeT &&value)
bool AliasArnHasBeenSet() const
bool CreationTimeHasBeenSet() const
AWS_GAMELIFT_API Alias()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue