7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/securityhub/SecurityHub_EXPORTS.h>
10#include <aws/securityhub/model/AwsEcsClusterClusterSettingsDetails.h>
11#include <aws/securityhub/model/AwsEcsClusterConfigurationDetails.h>
12#include <aws/securityhub/model/AwsEcsClusterDefaultCapacityProviderStrategyDetails.h>
44 template <
typename ClusterArnT = Aws::String>
46 m_clusterArnHasBeenSet =
true;
47 m_clusterArn = std::forward<ClusterArnT>(value);
49 template <
typename ClusterArnT = Aws::String>
66 m_activeServicesCountHasBeenSet =
true;
67 m_activeServicesCount = value;
82 template <
typename CapacityProv
idersT = Aws::Vector<Aws::String>>
84 m_capacityProvidersHasBeenSet =
true;
85 m_capacityProviders = std::forward<CapacityProvidersT>(value);
87 template <
typename CapacityProv
idersT = Aws::Vector<Aws::String>>
92 template <
typename CapacityProv
idersT = Aws::String>
94 m_capacityProvidersHasBeenSet =
true;
95 m_capacityProviders.emplace_back(std::forward<CapacityProvidersT>(value));
107 template <
typename ClusterSettingsT = Aws::Vector<AwsEcsClusterClusterSettingsDetails>>
109 m_clusterSettingsHasBeenSet =
true;
110 m_clusterSettings = std::forward<ClusterSettingsT>(value);
112 template <
typename ClusterSettingsT = Aws::Vector<AwsEcsClusterClusterSettingsDetails>>
117 template <
typename ClusterSettingsT = AwsEcsClusterClusterSettingsDetails>
119 m_clusterSettingsHasBeenSet =
true;
120 m_clusterSettings.emplace_back(std::forward<ClusterSettingsT>(value));
131 template <
typename ConfigurationT = AwsEcsClusterConfigurationDetails>
133 m_configurationHasBeenSet =
true;
134 m_configuration = std::forward<ConfigurationT>(value);
136 template <
typename ConfigurationT = AwsEcsClusterConfigurationDetails>
150 return m_defaultCapacityProviderStrategy;
153 template <
typename DefaultCapacityProv
iderStrategyT = Aws::Vector<AwsEcsClusterDefaultCapacityProv
iderStrategyDetails>>
155 m_defaultCapacityProviderStrategyHasBeenSet =
true;
156 m_defaultCapacityProviderStrategy = std::forward<DefaultCapacityProviderStrategyT>(value);
158 template <
typename DefaultCapacityProv
iderStrategyT = Aws::Vector<AwsEcsClusterDefaultCapacityProv
iderStrategyDetails>>
163 template <
typename DefaultCapacityProv
iderStrategyT = AwsEcsClusterDefaultCapacityProv
iderStrategyDetails>
165 m_defaultCapacityProviderStrategyHasBeenSet =
true;
166 m_defaultCapacityProviderStrategy.emplace_back(std::forward<DefaultCapacityProviderStrategyT>(value));
177 template <
typename ClusterNameT = Aws::String>
179 m_clusterNameHasBeenSet =
true;
180 m_clusterName = std::forward<ClusterNameT>(value);
182 template <
typename ClusterNameT = Aws::String>
198 m_registeredContainerInstancesCountHasBeenSet =
true;
199 m_registeredContainerInstancesCount = value;
215 m_runningTasksCountHasBeenSet =
true;
216 m_runningTasksCount = value;
230 template <
typename StatusT = Aws::String>
232 m_statusHasBeenSet =
true;
233 m_status = std::forward<StatusT>(value);
235 template <
typename StatusT = Aws::String>
244 int m_activeServicesCount{0};
250 AwsEcsClusterConfigurationDetails m_configuration;
256 int m_registeredContainerInstancesCount{0};
258 int m_runningTasksCount{0};
261 bool m_clusterArnHasBeenSet =
false;
262 bool m_activeServicesCountHasBeenSet =
false;
263 bool m_capacityProvidersHasBeenSet =
false;
264 bool m_clusterSettingsHasBeenSet =
false;
265 bool m_configurationHasBeenSet =
false;
266 bool m_defaultCapacityProviderStrategyHasBeenSet =
false;
267 bool m_clusterNameHasBeenSet =
false;
268 bool m_registeredContainerInstancesCountHasBeenSet =
false;
269 bool m_runningTasksCountHasBeenSet =
false;
270 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