7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/elasticmapreduce/EMR_EXPORTS.h>
9#include <aws/elasticmapreduce/model/ClusterStatus.h>
41 template <
typename IdT = Aws::String>
43 m_idHasBeenSet =
true;
44 m_id = std::forward<IdT>(value);
46 template <
typename IdT = Aws::String>
48 SetId(std::forward<IdT>(value));
59 template <
typename NameT = Aws::String>
61 m_nameHasBeenSet =
true;
62 m_name = std::forward<NameT>(value);
64 template <
typename NameT = Aws::String>
66 SetName(std::forward<NameT>(value));
77 template <
typename StatusT = ClusterStatus>
79 m_statusHasBeenSet =
true;
80 m_status = std::forward<StatusT>(value);
82 template <
typename StatusT = ClusterStatus>
101 m_normalizedInstanceHoursHasBeenSet =
true;
102 m_normalizedInstanceHours = value;
116 template <
typename ClusterArnT = Aws::String>
118 m_clusterArnHasBeenSet =
true;
119 m_clusterArn = std::forward<ClusterArnT>(value);
121 template <
typename ClusterArnT = Aws::String>
135 template <
typename OutpostArnT = Aws::String>
137 m_outpostArnHasBeenSet =
true;
138 m_outpostArn = std::forward<OutpostArnT>(value);
140 template <
typename OutpostArnT = Aws::String>
153 int m_normalizedInstanceHours{0};
158 bool m_idHasBeenSet =
false;
159 bool m_nameHasBeenSet =
false;
160 bool m_statusHasBeenSet =
false;
161 bool m_normalizedInstanceHoursHasBeenSet =
false;
162 bool m_clusterArnHasBeenSet =
false;
163 bool m_outpostArnHasBeenSet =
false;
void SetStatus(StatusT &&value)
bool OutpostArnHasBeenSet() const
void SetClusterArn(ClusterArnT &&value)
bool IdHasBeenSet() const
ClusterSummary & WithNormalizedInstanceHours(int value)
AWS_EMR_API ClusterSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
bool NormalizedInstanceHoursHasBeenSet() const
ClusterSummary & WithClusterArn(ClusterArnT &&value)
bool StatusHasBeenSet() const
void SetOutpostArn(OutpostArnT &&value)
AWS_EMR_API ClusterSummary()=default
const ClusterStatus & GetStatus() const
bool ClusterArnHasBeenSet() const
const Aws::String & GetName() const
const Aws::String & GetOutpostArn() const
bool NameHasBeenSet() const
int GetNormalizedInstanceHours() const
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(NameT &&value)
const Aws::String & GetId() const
ClusterSummary & WithId(IdT &&value)
void SetNormalizedInstanceHours(int value)
ClusterSummary & WithOutpostArn(OutpostArnT &&value)
AWS_EMR_API ClusterSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetClusterArn() const
ClusterSummary & WithName(NameT &&value)
ClusterSummary & WithStatus(StatusT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue