7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elasticmapreduce/model/ClusterStatus.h>
47 template<
typename IdT = Aws::String>
48 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
49 template<
typename IdT = Aws::String>
59 template<
typename NameT = Aws::String>
60 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
61 template<
typename NameT = Aws::String>
71 template<
typename StatusT = ClusterStatus>
72 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
73 template<
typename StatusT = ClusterStatus>
98 template<
typename ClusterArnT = Aws::String>
99 void SetClusterArn(ClusterArnT&& value) { m_clusterArnHasBeenSet =
true; m_clusterArn = std::forward<ClusterArnT>(value); }
100 template<
typename ClusterArnT = Aws::String>
111 template<
typename OutpostArnT = Aws::String>
112 void SetOutpostArn(OutpostArnT&& value) { m_outpostArnHasBeenSet =
true; m_outpostArn = std::forward<OutpostArnT>(value); }
113 template<
typename OutpostArnT = Aws::String>
119 bool m_idHasBeenSet =
false;
122 bool m_nameHasBeenSet =
false;
125 bool m_statusHasBeenSet =
false;
127 int m_normalizedInstanceHours{0};
128 bool m_normalizedInstanceHoursHasBeenSet =
false;
131 bool m_clusterArnHasBeenSet =
false;
134 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