7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ecs/ECSRequest.h>
11#include <aws/ecs/ECS_EXPORTS.h>
12#include <aws/ecs/model/GatewayConfiguration.h>
13#include <aws/ecs/model/PropagateGatewayTags.h>
14#include <aws/ecs/model/Tag.h>
45 template <
typename NameT = Aws::String>
47 m_nameHasBeenSet =
true;
48 m_name = std::forward<NameT>(value);
50 template <
typename NameT = Aws::String>
52 SetName(std::forward<NameT>(value));
64 template <
typename InfrastructureRoleArnT = Aws::String>
66 m_infrastructureRoleArnHasBeenSet =
true;
67 m_infrastructureRoleArn = std::forward<InfrastructureRoleArnT>(value);
69 template <
typename InfrastructureRoleArnT = Aws::String>
84 template <
typename ClientTokenT = Aws::String>
86 m_clientTokenHasBeenSet =
true;
87 m_clientToken = std::forward<ClientTokenT>(value);
89 template <
typename ClientTokenT = Aws::String>
105 m_deletionProtectionHasBeenSet =
true;
106 m_deletionProtection = value;
123 template <
typename ConfigurationT = GatewayConfiguration>
125 m_configurationHasBeenSet =
true;
126 m_configuration = std::forward<ConfigurationT>(value);
128 template <
typename ConfigurationT = GatewayConfiguration>
144 template <
typename TagsT = Aws::Vector<Tag>>
146 m_tagsHasBeenSet =
true;
147 m_tags = std::forward<TagsT>(value);
149 template <
typename TagsT = Aws::Vector<Tag>>
151 SetTags(std::forward<TagsT>(value));
154 template <
typename TagsT = Tag>
156 m_tagsHasBeenSet =
true;
157 m_tags.emplace_back(std::forward<TagsT>(value));
171 m_propagateTagsHasBeenSet =
true;
172 m_propagateTags = value;
186 bool m_deletionProtection{
false};
188 GatewayConfiguration m_configuration;
193 bool m_nameHasBeenSet =
false;
194 bool m_infrastructureRoleArnHasBeenSet =
false;
195 bool m_clientTokenHasBeenSet =
true;
196 bool m_deletionProtectionHasBeenSet =
false;
197 bool m_configurationHasBeenSet =
false;
198 bool m_tagsHasBeenSet =
false;
199 bool m_propagateTagsHasBeenSet =
false;
const Aws::Vector< Tag > & GetTags() const
CreateGatewayRequest & AddTags(TagsT &&value)
bool PropagateTagsHasBeenSet() const
void SetName(NameT &&value)
bool GetDeletionProtection() const
AWS_ECS_API CreateGatewayRequest()=default
bool InfrastructureRoleArnHasBeenSet() const
const Aws::String & GetName() const
CreateGatewayRequest & WithConfiguration(ConfigurationT &&value)
CreateGatewayRequest & WithInfrastructureRoleArn(InfrastructureRoleArnT &&value)
AWS_ECS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetConfiguration(ConfigurationT &&value)
bool ClientTokenHasBeenSet() const
bool TagsHasBeenSet() const
const GatewayConfiguration & GetConfiguration() const
bool ConfigurationHasBeenSet() const
CreateGatewayRequest & WithDeletionProtection(bool value)
virtual const char * GetServiceRequestName() const override
void SetDeletionProtection(bool value)
bool NameHasBeenSet() const
CreateGatewayRequest & WithName(NameT &&value)
CreateGatewayRequest & WithPropagateTags(PropagateGatewayTags value)
CreateGatewayRequest & WithClientToken(ClientTokenT &&value)
const Aws::String & GetInfrastructureRoleArn() const
AWS_ECS_API Aws::String SerializePayload() const override
void SetPropagateTags(PropagateGatewayTags value)
PropagateGatewayTags GetPropagateTags() const
bool DeletionProtectionHasBeenSet() const
void SetInfrastructureRoleArn(InfrastructureRoleArnT &&value)
const Aws::String & GetClientToken() const
CreateGatewayRequest & WithTags(TagsT &&value)
void SetTags(TagsT &&value)
void SetClientToken(ClientTokenT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector