7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/guardduty/model/EcsTaskDetails.h>
11#include <aws/guardduty/model/Tag.h>
52 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
65 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
66 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
80 inline void SetStatus(
const char* value) { m_statusHasBeenSet =
true; m_status.assign(value); }
93 inline void SetActiveServicesCount(
int value) { m_activeServicesCountHasBeenSet =
true; m_activeServicesCount = value; }
113 inline void SetRunningTasksCount(
int value) { m_runningTasksCountHasBeenSet =
true; m_runningTasksCount = value; }
145 bool m_nameHasBeenSet =
false;
148 bool m_arnHasBeenSet =
false;
151 bool m_statusHasBeenSet =
false;
153 int m_activeServicesCount;
154 bool m_activeServicesCountHasBeenSet =
false;
156 int m_registeredContainerInstancesCount;
157 bool m_registeredContainerInstancesCountHasBeenSet =
false;
159 int m_runningTasksCount;
160 bool m_runningTasksCountHasBeenSet =
false;
163 bool m_tagsHasBeenSet =
false;
166 bool m_taskDetailsHasBeenSet =
false;
EcsClusterDetails & WithRunningTasksCount(int value)
void SetArn(const char *value)
EcsClusterDetails & WithStatus(const char *value)
const Aws::String & GetStatus() const
void SetRegisteredContainerInstancesCount(int value)
EcsClusterDetails & WithRegisteredContainerInstancesCount(int value)
void SetStatus(const char *value)
const Aws::Vector< Tag > & GetTags() const
EcsClusterDetails & WithTaskDetails(EcsTaskDetails &&value)
void SetTaskDetails(const EcsTaskDetails &value)
int GetRunningTasksCount() const
EcsClusterDetails & WithStatus(Aws::String &&value)
EcsClusterDetails & WithTaskDetails(const EcsTaskDetails &value)
AWS_GUARDDUTY_API EcsClusterDetails(Aws::Utils::Json::JsonView jsonValue)
EcsClusterDetails & WithName(Aws::String &&value)
EcsClusterDetails & WithActiveServicesCount(int value)
bool RunningTasksCountHasBeenSet() const
AWS_GUARDDUTY_API EcsClusterDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ArnHasBeenSet() const
bool TagsHasBeenSet() const
void SetName(Aws::String &&value)
const Aws::String & GetName() const
void SetTags(Aws::Vector< Tag > &&value)
EcsClusterDetails & WithName(const Aws::String &value)
AWS_GUARDDUTY_API EcsClusterDetails()
bool TaskDetailsHasBeenSet() const
void SetName(const Aws::String &value)
void SetTags(const Aws::Vector< Tag > &value)
int GetRegisteredContainerInstancesCount() const
int GetActiveServicesCount() const
const Aws::String & GetArn() const
EcsClusterDetails & WithTags(Aws::Vector< Tag > &&value)
void SetName(const char *value)
void SetTaskDetails(EcsTaskDetails &&value)
bool RegisteredContainerInstancesCountHasBeenSet() const
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
EcsClusterDetails & AddTags(Tag &&value)
bool StatusHasBeenSet() const
EcsClusterDetails & AddTags(const Tag &value)
bool ActiveServicesCountHasBeenSet() const
void SetRunningTasksCount(int value)
EcsClusterDetails & WithArn(const char *value)
void SetArn(Aws::String &&value)
EcsClusterDetails & WithStatus(const Aws::String &value)
void SetStatus(const Aws::String &value)
void SetStatus(Aws::String &&value)
EcsClusterDetails & WithName(const char *value)
void SetActiveServicesCount(int value)
EcsClusterDetails & WithArn(Aws::String &&value)
void SetArn(const Aws::String &value)
EcsClusterDetails & WithTags(const Aws::Vector< Tag > &value)
bool NameHasBeenSet() const
const EcsTaskDetails & GetTaskDetails() const
EcsClusterDetails & WithArn(const Aws::String &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