7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elasticmapreduce/model/ClusterStatus.h>
48 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
49 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
63 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
104 inline void SetClusterArn(
const char* value) { m_clusterArnHasBeenSet =
true; m_clusterArn.assign(value); }
119 inline void SetOutpostArn(
const char* value) { m_outpostArnHasBeenSet =
true; m_outpostArn.assign(value); }
127 bool m_idHasBeenSet =
false;
130 bool m_nameHasBeenSet =
false;
133 bool m_statusHasBeenSet =
false;
135 int m_normalizedInstanceHours;
136 bool m_normalizedInstanceHoursHasBeenSet =
false;
139 bool m_clusterArnHasBeenSet =
false;
142 bool m_outpostArnHasBeenSet =
false;
void SetOutpostArn(const Aws::String &value)
void SetStatus(ClusterStatus &&value)
bool OutpostArnHasBeenSet() const
void SetOutpostArn(Aws::String &&value)
ClusterSummary & WithClusterArn(Aws::String &&value)
void SetId(const Aws::String &value)
bool IdHasBeenSet() const
void SetClusterArn(const char *value)
ClusterSummary & WithNormalizedInstanceHours(int value)
ClusterSummary & WithClusterArn(const char *value)
void SetName(Aws::String &&value)
AWS_EMR_API ClusterSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
bool NormalizedInstanceHoursHasBeenSet() const
ClusterSummary & WithClusterArn(const Aws::String &value)
ClusterSummary & WithName(const char *value)
bool StatusHasBeenSet() const
void SetName(const char *value)
void SetStatus(const ClusterStatus &value)
void SetId(Aws::String &&value)
const ClusterStatus & GetStatus() const
bool ClusterArnHasBeenSet() const
void SetClusterArn(Aws::String &&value)
ClusterSummary & WithStatus(ClusterStatus &&value)
const Aws::String & GetName() const
const Aws::String & GetOutpostArn() const
bool NameHasBeenSet() const
ClusterSummary & WithStatus(const ClusterStatus &value)
int GetNormalizedInstanceHours() const
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
ClusterSummary & WithId(Aws::String &&value)
void SetOutpostArn(const char *value)
ClusterSummary & WithName(Aws::String &&value)
ClusterSummary & WithId(const char *value)
void SetName(const Aws::String &value)
void SetClusterArn(const Aws::String &value)
const Aws::String & GetId() const
ClusterSummary & WithOutpostArn(const Aws::String &value)
ClusterSummary & WithOutpostArn(const char *value)
void SetNormalizedInstanceHours(int value)
ClusterSummary & WithId(const Aws::String &value)
ClusterSummary & WithName(const Aws::String &value)
AWS_EMR_API ClusterSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_EMR_API ClusterSummary()
const Aws::String & GetClusterArn() const
void SetId(const char *value)
ClusterSummary & WithOutpostArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue