7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/securityhub/model/AwsEcsClusterConfigurationDetails.h>
11#include <aws/securityhub/model/AwsEcsClusterClusterSettingsDetails.h>
12#include <aws/securityhub/model/AwsEcsClusterDefaultCapacityProviderStrategyDetails.h>
52 inline void SetClusterArn(
const char* value) { m_clusterArnHasBeenSet =
true; m_clusterArn.assign(value); }
67 inline void SetActiveServicesCount(
int value) { m_activeServicesCountHasBeenSet =
true; m_activeServicesCount = value; }
138 inline void SetClusterName(
const char* value) { m_clusterNameHasBeenSet =
true; m_clusterName.assign(value); }
163 inline void SetRunningTasksCount(
int value) { m_runningTasksCountHasBeenSet =
true; m_runningTasksCount = value; }
175 inline void SetStatus(
const char* value) { m_statusHasBeenSet =
true; m_status.assign(value); }
183 bool m_clusterArnHasBeenSet =
false;
185 int m_activeServicesCount;
186 bool m_activeServicesCountHasBeenSet =
false;
189 bool m_capacityProvidersHasBeenSet =
false;
192 bool m_clusterSettingsHasBeenSet =
false;
195 bool m_configurationHasBeenSet =
false;
198 bool m_defaultCapacityProviderStrategyHasBeenSet =
false;
201 bool m_clusterNameHasBeenSet =
false;
203 int m_registeredContainerInstancesCount;
204 bool m_registeredContainerInstancesCountHasBeenSet =
false;
206 int m_runningTasksCount;
207 bool m_runningTasksCountHasBeenSet =
false;
210 bool m_statusHasBeenSet =
false;
void SetClusterSettings(Aws::Vector< AwsEcsClusterClusterSettingsDetails > &&value)
AwsEcsClusterDetails & WithCapacityProviders(Aws::Vector< Aws::String > &&value)
int GetRunningTasksCount() const
AwsEcsClusterDetails & AddCapacityProviders(const char *value)
bool RunningTasksCountHasBeenSet() const
bool RegisteredContainerInstancesCountHasBeenSet() const
AwsEcsClusterDetails & AddClusterSettings(AwsEcsClusterClusterSettingsDetails &&value)
AwsEcsClusterDetails & WithStatus(const char *value)
void SetCapacityProviders(Aws::Vector< Aws::String > &&value)
void SetClusterSettings(const Aws::Vector< AwsEcsClusterClusterSettingsDetails > &value)
bool DefaultCapacityProviderStrategyHasBeenSet() const
int GetActiveServicesCount() const
AwsEcsClusterDetails & AddDefaultCapacityProviderStrategy(const AwsEcsClusterDefaultCapacityProviderStrategyDetails &value)
const Aws::String & GetClusterArn() const
const Aws::Vector< Aws::String > & GetCapacityProviders() const
void SetClusterName(const Aws::String &value)
void SetConfiguration(const AwsEcsClusterConfigurationDetails &value)
AwsEcsClusterDetails & WithClusterSettings(const Aws::Vector< AwsEcsClusterClusterSettingsDetails > &value)
void SetStatus(const char *value)
bool ClusterNameHasBeenSet() const
AWS_SECURITYHUB_API AwsEcsClusterDetails()
AwsEcsClusterDetails & WithClusterSettings(Aws::Vector< AwsEcsClusterClusterSettingsDetails > &&value)
void SetDefaultCapacityProviderStrategy(const Aws::Vector< AwsEcsClusterDefaultCapacityProviderStrategyDetails > &value)
AwsEcsClusterDetails & WithClusterArn(const char *value)
void SetClusterArn(const char *value)
AWS_SECURITYHUB_API AwsEcsClusterDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const AwsEcsClusterConfigurationDetails & GetConfiguration() const
const Aws::String & GetStatus() const
void SetCapacityProviders(const Aws::Vector< Aws::String > &value)
AwsEcsClusterDetails & WithClusterName(Aws::String &&value)
const Aws::Vector< AwsEcsClusterDefaultCapacityProviderStrategyDetails > & GetDefaultCapacityProviderStrategy() const
bool StatusHasBeenSet() const
void SetDefaultCapacityProviderStrategy(Aws::Vector< AwsEcsClusterDefaultCapacityProviderStrategyDetails > &&value)
AwsEcsClusterDetails & AddCapacityProviders(const Aws::String &value)
AwsEcsClusterDetails & WithClusterName(const char *value)
void SetStatus(Aws::String &&value)
AwsEcsClusterDetails & WithConfiguration(const AwsEcsClusterConfigurationDetails &value)
const Aws::String & GetClusterName() const
AwsEcsClusterDetails & AddCapacityProviders(Aws::String &&value)
void SetClusterName(const char *value)
AwsEcsClusterDetails & AddDefaultCapacityProviderStrategy(AwsEcsClusterDefaultCapacityProviderStrategyDetails &&value)
bool ConfigurationHasBeenSet() const
AwsEcsClusterDetails & WithDefaultCapacityProviderStrategy(Aws::Vector< AwsEcsClusterDefaultCapacityProviderStrategyDetails > &&value)
bool ClusterArnHasBeenSet() const
AwsEcsClusterDetails & WithRegisteredContainerInstancesCount(int value)
void SetConfiguration(AwsEcsClusterConfigurationDetails &&value)
AwsEcsClusterDetails & AddClusterSettings(const AwsEcsClusterClusterSettingsDetails &value)
AwsEcsClusterDetails & WithClusterArn(Aws::String &&value)
void SetRegisteredContainerInstancesCount(int value)
AwsEcsClusterDetails & WithRunningTasksCount(int value)
bool ClusterSettingsHasBeenSet() const
AwsEcsClusterDetails & WithCapacityProviders(const Aws::Vector< Aws::String > &value)
AwsEcsClusterDetails & WithClusterArn(const Aws::String &value)
bool CapacityProvidersHasBeenSet() const
AwsEcsClusterDetails & WithConfiguration(AwsEcsClusterConfigurationDetails &&value)
bool ActiveServicesCountHasBeenSet() const
void SetActiveServicesCount(int value)
void SetClusterArn(const Aws::String &value)
const Aws::Vector< AwsEcsClusterClusterSettingsDetails > & GetClusterSettings() const
AwsEcsClusterDetails & WithClusterName(const Aws::String &value)
AwsEcsClusterDetails & WithStatus(Aws::String &&value)
void SetStatus(const Aws::String &value)
AwsEcsClusterDetails & WithStatus(const Aws::String &value)
AwsEcsClusterDetails & WithActiveServicesCount(int value)
AWS_SECURITYHUB_API AwsEcsClusterDetails(Aws::Utils::Json::JsonView jsonValue)
void SetRunningTasksCount(int value)
int GetRegisteredContainerInstancesCount() const
void SetClusterName(Aws::String &&value)
AwsEcsClusterDetails & WithDefaultCapacityProviderStrategy(const Aws::Vector< AwsEcsClusterDefaultCapacityProviderStrategyDetails > &value)
void SetClusterArn(Aws::String &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() 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