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>
50 template<
typename ClusterArnT = Aws::String>
51 void SetClusterArn(ClusterArnT&& value) { m_clusterArnHasBeenSet =
true; m_clusterArn = std::forward<ClusterArnT>(value); }
52 template<
typename ClusterArnT = Aws::String>
65 inline void SetActiveServicesCount(
int value) { m_activeServicesCountHasBeenSet =
true; m_activeServicesCount = value; }
76 template<
typename CapacityProv
idersT = Aws::Vector<Aws::String>>
77 void SetCapacityProviders(CapacityProvidersT&& value) { m_capacityProvidersHasBeenSet =
true; m_capacityProviders = std::forward<CapacityProvidersT>(value); }
78 template<
typename CapacityProv
idersT = Aws::Vector<Aws::String>>
80 template<
typename CapacityProv
idersT = Aws::String>
91 template<
typename ClusterSettingsT = Aws::Vector<AwsEcsClusterClusterSettingsDetails>>
92 void SetClusterSettings(ClusterSettingsT&& value) { m_clusterSettingsHasBeenSet =
true; m_clusterSettings = std::forward<ClusterSettingsT>(value); }
93 template<
typename ClusterSettingsT = Aws::Vector<AwsEcsClusterClusterSettingsDetails>>
95 template<
typename ClusterSettingsT = AwsEcsClusterClusterSettingsDetails>
105 template<
typename ConfigurationT = AwsEcsClusterConfigurationDetails>
106 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet =
true; m_configuration = std::forward<ConfigurationT>(value); }
107 template<
typename ConfigurationT = AwsEcsClusterConfigurationDetails>
119 template<
typename DefaultCapacityProv
iderStrategyT = Aws::Vector<AwsEcsClusterDefaultCapacityProv
iderStrategyDetails>>
120 void SetDefaultCapacityProviderStrategy(DefaultCapacityProviderStrategyT&& value) { m_defaultCapacityProviderStrategyHasBeenSet =
true; m_defaultCapacityProviderStrategy = std::forward<DefaultCapacityProviderStrategyT>(value); }
121 template<
typename DefaultCapacityProv
iderStrategyT = Aws::Vector<AwsEcsClusterDefaultCapacityProv
iderStrategyDetails>>
123 template<
typename DefaultCapacityProv
iderStrategyT = AwsEcsClusterDefaultCapacityProv
iderStrategyDetails>
133 template<
typename ClusterNameT = Aws::String>
134 void SetClusterName(ClusterNameT&& value) { m_clusterNameHasBeenSet =
true; m_clusterName = std::forward<ClusterNameT>(value); }
135 template<
typename ClusterNameT = Aws::String>
158 inline void SetRunningTasksCount(
int value) { m_runningTasksCountHasBeenSet =
true; m_runningTasksCount = value; }
168 template<
typename StatusT = Aws::String>
169 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
170 template<
typename StatusT = Aws::String>
176 bool m_clusterArnHasBeenSet =
false;
178 int m_activeServicesCount{0};
179 bool m_activeServicesCountHasBeenSet =
false;
182 bool m_capacityProvidersHasBeenSet =
false;
185 bool m_clusterSettingsHasBeenSet =
false;
187 AwsEcsClusterConfigurationDetails m_configuration;
188 bool m_configurationHasBeenSet =
false;
191 bool m_defaultCapacityProviderStrategyHasBeenSet =
false;
194 bool m_clusterNameHasBeenSet =
false;
196 int m_registeredContainerInstancesCount{0};
197 bool m_registeredContainerInstancesCountHasBeenSet =
false;
199 int m_runningTasksCount{0};
200 bool m_runningTasksCountHasBeenSet =
false;
203 bool m_statusHasBeenSet =
false;
int GetRunningTasksCount() const
bool RunningTasksCountHasBeenSet() const
bool RegisteredContainerInstancesCountHasBeenSet() const
AwsEcsClusterDetails & AddDefaultCapacityProviderStrategy(DefaultCapacityProviderStrategyT &&value)
bool DefaultCapacityProviderStrategyHasBeenSet() const
int GetActiveServicesCount() const
const Aws::String & GetClusterArn() const
const Aws::Vector< Aws::String > & GetCapacityProviders() const
AwsEcsClusterDetails & WithConfiguration(ConfigurationT &&value)
bool ClusterNameHasBeenSet() const
AwsEcsClusterDetails & WithDefaultCapacityProviderStrategy(DefaultCapacityProviderStrategyT &&value)
void SetCapacityProviders(CapacityProvidersT &&value)
AWS_SECURITYHUB_API AwsEcsClusterDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const AwsEcsClusterConfigurationDetails & GetConfiguration() const
const Aws::String & GetStatus() const
AwsEcsClusterDetails & AddClusterSettings(ClusterSettingsT &&value)
const Aws::Vector< AwsEcsClusterDefaultCapacityProviderStrategyDetails > & GetDefaultCapacityProviderStrategy() const
bool StatusHasBeenSet() const
AwsEcsClusterDetails & WithClusterSettings(ClusterSettingsT &&value)
void SetClusterSettings(ClusterSettingsT &&value)
const Aws::String & GetClusterName() const
void SetClusterName(ClusterNameT &&value)
bool ConfigurationHasBeenSet() const
AwsEcsClusterDetails & WithCapacityProviders(CapacityProvidersT &&value)
void SetStatus(StatusT &&value)
AwsEcsClusterDetails & AddCapacityProviders(CapacityProvidersT &&value)
bool ClusterArnHasBeenSet() const
AwsEcsClusterDetails & WithRegisteredContainerInstancesCount(int value)
void SetRegisteredContainerInstancesCount(int value)
AwsEcsClusterDetails & WithRunningTasksCount(int value)
bool ClusterSettingsHasBeenSet() const
void SetDefaultCapacityProviderStrategy(DefaultCapacityProviderStrategyT &&value)
void SetClusterArn(ClusterArnT &&value)
bool CapacityProvidersHasBeenSet() const
AwsEcsClusterDetails & WithClusterName(ClusterNameT &&value)
bool ActiveServicesCountHasBeenSet() const
void SetActiveServicesCount(int value)
const Aws::Vector< AwsEcsClusterClusterSettingsDetails > & GetClusterSettings() const
AwsEcsClusterDetails & WithActiveServicesCount(int value)
AWS_SECURITYHUB_API AwsEcsClusterDetails(Aws::Utils::Json::JsonView jsonValue)
void SetRunningTasksCount(int value)
AwsEcsClusterDetails & WithStatus(StatusT &&value)
AwsEcsClusterDetails & WithClusterArn(ClusterArnT &&value)
int GetRegisteredContainerInstancesCount() const
AWS_SECURITYHUB_API AwsEcsClusterDetails()=default
void SetConfiguration(ConfigurationT &&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