7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ecs/model/CapacityProviderStatus.h>
10#include <aws/ecs/model/AutoScalingGroupProvider.h>
11#include <aws/ecs/model/CapacityProviderUpdateStatus.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/ecs/model/Tag.h>
53 inline void SetCapacityProviderArn(
const char* value) { m_capacityProviderArnHasBeenSet =
true; m_capacityProviderArn.assign(value); }
67 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
126 inline void SetUpdateStatusReason(
const char* value) { m_updateStatusReasonHasBeenSet =
true; m_updateStatusReason.assign(value); }
163 bool m_capacityProviderArnHasBeenSet =
false;
166 bool m_nameHasBeenSet =
false;
169 bool m_statusHasBeenSet =
false;
172 bool m_autoScalingGroupProviderHasBeenSet =
false;
175 bool m_updateStatusHasBeenSet =
false;
178 bool m_updateStatusReasonHasBeenSet =
false;
181 bool m_tagsHasBeenSet =
false;
CapacityProvider & WithUpdateStatusReason(const char *value)
void SetUpdateStatusReason(const char *value)
void SetTags(Aws::Vector< Tag > &&value)
AWS_ECS_API CapacityProvider & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUpdateStatus(CapacityProviderUpdateStatus &&value)
void SetCapacityProviderArn(Aws::String &&value)
bool UpdateStatusHasBeenSet() const
CapacityProvider & WithTags(Aws::Vector< Tag > &&value)
CapacityProvider & WithTags(const Aws::Vector< Tag > &value)
const CapacityProviderStatus & GetStatus() const
void SetName(const char *value)
void SetCapacityProviderArn(const char *value)
const CapacityProviderUpdateStatus & GetUpdateStatus() const
void SetUpdateStatusReason(const Aws::String &value)
const Aws::String & GetName() const
bool NameHasBeenSet() const
CapacityProvider & WithName(const Aws::String &value)
CapacityProvider & WithName(Aws::String &&value)
CapacityProvider & AddTags(Tag &&value)
CapacityProvider & AddTags(const Tag &value)
bool TagsHasBeenSet() const
void SetAutoScalingGroupProvider(AutoScalingGroupProvider &&value)
CapacityProvider & WithAutoScalingGroupProvider(const AutoScalingGroupProvider &value)
void SetName(Aws::String &&value)
CapacityProvider & WithCapacityProviderArn(const Aws::String &value)
const Aws::String & GetCapacityProviderArn() const
void SetTags(const Aws::Vector< Tag > &value)
CapacityProvider & WithUpdateStatus(const CapacityProviderUpdateStatus &value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStatus(CapacityProviderStatus &&value)
const Aws::String & GetUpdateStatusReason() const
CapacityProvider & WithUpdateStatus(CapacityProviderUpdateStatus &&value)
CapacityProvider & WithStatus(CapacityProviderStatus &&value)
CapacityProvider & WithStatus(const CapacityProviderStatus &value)
CapacityProvider & WithAutoScalingGroupProvider(AutoScalingGroupProvider &&value)
CapacityProvider & WithUpdateStatusReason(const Aws::String &value)
const AutoScalingGroupProvider & GetAutoScalingGroupProvider() const
AWS_ECS_API CapacityProvider(Aws::Utils::Json::JsonView jsonValue)
bool CapacityProviderArnHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
AWS_ECS_API CapacityProvider()
CapacityProvider & WithCapacityProviderArn(Aws::String &&value)
void SetAutoScalingGroupProvider(const AutoScalingGroupProvider &value)
bool StatusHasBeenSet() const
void SetStatus(const CapacityProviderStatus &value)
void SetUpdateStatus(const CapacityProviderUpdateStatus &value)
bool AutoScalingGroupProviderHasBeenSet() const
CapacityProvider & WithCapacityProviderArn(const char *value)
bool UpdateStatusReasonHasBeenSet() const
CapacityProvider & WithUpdateStatusReason(Aws::String &&value)
void SetUpdateStatusReason(Aws::String &&value)
void SetCapacityProviderArn(const Aws::String &value)
CapacityProvider & WithName(const char *value)
void SetName(const Aws::String &value)
CapacityProviderUpdateStatus
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue