7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ecs/ECS_EXPORTS.h>
11#include <aws/ecs/model/AccessType.h>
12#include <aws/ecs/model/DescribeGatewayConfiguration.h>
13#include <aws/ecs/model/GatewayResourceFailure.h>
14#include <aws/ecs/model/GatewayStatus.h>
15#include <aws/ecs/model/PropagateGatewayTags.h>
16#include <aws/ecs/model/Tag.h>
49 template <
typename GatewayArnT = Aws::String>
51 m_gatewayArnHasBeenSet =
true;
52 m_gatewayArn = std::forward<GatewayArnT>(value);
54 template <
typename GatewayArnT = Aws::String>
67 template <
typename NameT = Aws::String>
69 m_nameHasBeenSet =
true;
70 m_name = std::forward<NameT>(value);
72 template <
typename NameT = Aws::String>
74 SetName(std::forward<NameT>(value));
86 m_statusHasBeenSet =
true;
102 template <
typename StatusReasonT = Aws::String>
104 m_statusReasonHasBeenSet =
true;
105 m_statusReason = std::forward<StatusReasonT>(value);
107 template <
typename StatusReasonT = Aws::String>
122 template <
typename FailuresT = Aws::Vector<GatewayResourceFailure>>
124 m_failuresHasBeenSet =
true;
125 m_failures = std::forward<FailuresT>(value);
127 template <
typename FailuresT = Aws::Vector<GatewayResourceFailure>>
132 template <
typename FailuresT = GatewayResourceFailure>
134 m_failuresHasBeenSet =
true;
135 m_failures.emplace_back(std::forward<FailuresT>(value));
147 template <
typename InfrastructureRoleArnT = Aws::String>
149 m_infrastructureRoleArnHasBeenSet =
true;
150 m_infrastructureRoleArn = std::forward<InfrastructureRoleArnT>(value);
152 template <
typename InfrastructureRoleArnT = Aws::String>
166 m_deletionProtectionHasBeenSet =
true;
167 m_deletionProtection = value;
181 template <
typename ConfigurationT = DescribeGatewayConfiguration>
183 m_configurationHasBeenSet =
true;
184 m_configuration = std::forward<ConfigurationT>(value);
186 template <
typename ConfigurationT = DescribeGatewayConfiguration>
202 m_accessTypeHasBeenSet =
true;
203 m_accessType = value;
219 m_propagateTagsHasBeenSet =
true;
220 m_propagateTags = value;
235 template <
typename TagsT = Aws::Vector<Tag>>
237 m_tagsHasBeenSet =
true;
238 m_tags = std::forward<TagsT>(value);
240 template <
typename TagsT = Aws::Vector<Tag>>
242 SetTags(std::forward<TagsT>(value));
245 template <
typename TagsT = Tag>
247 m_tagsHasBeenSet =
true;
248 m_tags.emplace_back(std::forward<TagsT>(value));
259 template <
typename CreatedAtT = Aws::Utils::DateTime>
261 m_createdAtHasBeenSet =
true;
262 m_createdAt = std::forward<CreatedAtT>(value);
264 template <
typename CreatedAtT = Aws::Utils::DateTime>
277 template <
typename UpdatedAtT = Aws::Utils::DateTime>
279 m_updatedAtHasBeenSet =
true;
280 m_updatedAt = std::forward<UpdatedAtT>(value);
282 template <
typename UpdatedAtT = Aws::Utils::DateTime>
301 bool m_deletionProtection{
false};
303 DescribeGatewayConfiguration m_configuration;
314 bool m_gatewayArnHasBeenSet =
false;
315 bool m_nameHasBeenSet =
false;
316 bool m_statusHasBeenSet =
false;
317 bool m_statusReasonHasBeenSet =
false;
318 bool m_failuresHasBeenSet =
false;
319 bool m_infrastructureRoleArnHasBeenSet =
false;
320 bool m_deletionProtectionHasBeenSet =
false;
321 bool m_configurationHasBeenSet =
false;
322 bool m_accessTypeHasBeenSet =
false;
323 bool m_propagateTagsHasBeenSet =
false;
324 bool m_tagsHasBeenSet =
false;
325 bool m_createdAtHasBeenSet =
false;
326 bool m_updatedAtHasBeenSet =
false;
AWS_ECS_API Gateway(Aws::Utils::Json::JsonView jsonValue)
Gateway & WithGatewayArn(GatewayArnT &&value)
AccessType GetAccessType() const
void SetName(NameT &&value)
Gateway & WithStatusReason(StatusReasonT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
AWS_ECS_API Gateway()=default
bool StatusReasonHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
bool CreatedAtHasBeenSet() const
const Aws::String & GetName() const
Gateway & AddFailures(FailuresT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetAccessType(AccessType value)
const Aws::String & GetGatewayArn() const
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< GatewayResourceFailure > & GetFailures() const
bool DeletionProtectionHasBeenSet() const
bool GatewayArnHasBeenSet() const
Gateway & WithDeletionProtection(bool value)
bool StatusHasBeenSet() const
Gateway & WithFailures(FailuresT &&value)
Gateway & WithUpdatedAt(UpdatedAtT &&value)
Gateway & WithInfrastructureRoleArn(InfrastructureRoleArnT &&value)
const DescribeGatewayConfiguration & GetConfiguration() const
GatewayStatus GetStatus() const
void SetFailures(FailuresT &&value)
Gateway & WithCreatedAt(CreatedAtT &&value)
void SetCreatedAt(CreatedAtT &&value)
void SetPropagateTags(PropagateGatewayTags value)
Gateway & WithName(NameT &&value)
void SetInfrastructureRoleArn(InfrastructureRoleArnT &&value)
void SetDeletionProtection(bool value)
Gateway & WithAccessType(AccessType value)
bool TagsHasBeenSet() const
bool ConfigurationHasBeenSet() const
bool FailuresHasBeenSet() const
void SetTags(TagsT &&value)
void SetConfiguration(ConfigurationT &&value)
void SetGatewayArn(GatewayArnT &&value)
bool AccessTypeHasBeenSet() const
void SetStatusReason(StatusReasonT &&value)
bool UpdatedAtHasBeenSet() const
const Aws::String & GetStatusReason() const
const Aws::Vector< Tag > & GetTags() const
Gateway & WithPropagateTags(PropagateGatewayTags value)
bool GetDeletionProtection() const
AWS_ECS_API Gateway & operator=(Aws::Utils::Json::JsonView jsonValue)
Gateway & WithTags(TagsT &&value)
bool InfrastructureRoleArnHasBeenSet() const
Gateway & AddTags(TagsT &&value)
PropagateGatewayTags GetPropagateTags() const
Gateway & WithConfiguration(ConfigurationT &&value)
bool PropagateTagsHasBeenSet() const
bool NameHasBeenSet() const
const Aws::String & GetInfrastructureRoleArn() const
void SetStatus(GatewayStatus value)
Gateway & WithStatus(GatewayStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue