7#include <aws/finspace/Finspace_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/finspace/model/KxScalingGroupStatus.h>
11#include <aws/core/utils/DateTime.h>
50 template<
typename ScalingGroupNameT = Aws::String>
51 void SetScalingGroupName(ScalingGroupNameT&& value) { m_scalingGroupNameHasBeenSet =
true; m_scalingGroupName = std::forward<ScalingGroupNameT>(value); }
52 template<
typename ScalingGroupNameT = Aws::String>
77 template<
typename HostTypeT = Aws::String>
78 void SetHostType(HostTypeT&& value) { m_hostTypeHasBeenSet =
true; m_hostType = std::forward<HostTypeT>(value); }
79 template<
typename HostTypeT = Aws::String>
89 template<
typename ClustersT = Aws::Vector<Aws::String>>
90 void SetClusters(ClustersT&& value) { m_clustersHasBeenSet =
true; m_clusters = std::forward<ClustersT>(value); }
91 template<
typename ClustersT = Aws::Vector<Aws::String>>
93 template<
typename ClustersT = Aws::String>
94 KxScalingGroup&
AddClusters(ClustersT&& value) { m_clustersHasBeenSet =
true; m_clusters.emplace_back(std::forward<ClustersT>(value));
return *
this; }
103 template<
typename AvailabilityZoneIdT = Aws::String>
104 void SetAvailabilityZoneId(AvailabilityZoneIdT&& value) { m_availabilityZoneIdHasBeenSet =
true; m_availabilityZoneId = std::forward<AvailabilityZoneIdT>(value); }
105 template<
typename AvailabilityZoneIdT = Aws::String>
125 template<
typename StatusReasonT = Aws::String>
126 void SetStatusReason(StatusReasonT&& value) { m_statusReasonHasBeenSet =
true; m_statusReason = std::forward<StatusReasonT>(value); }
127 template<
typename StatusReasonT = Aws::String>
139 template<
typename LastModifiedTimestampT = Aws::Utils::DateTime>
140 void SetLastModifiedTimestamp(LastModifiedTimestampT&& value) { m_lastModifiedTimestampHasBeenSet =
true; m_lastModifiedTimestamp = std::forward<LastModifiedTimestampT>(value); }
141 template<
typename LastModifiedTimestampT = Aws::Utils::DateTime>
153 template<
typename CreatedTimestampT = Aws::Utils::DateTime>
154 void SetCreatedTimestamp(CreatedTimestampT&& value) { m_createdTimestampHasBeenSet =
true; m_createdTimestamp = std::forward<CreatedTimestampT>(value); }
155 template<
typename CreatedTimestampT = Aws::Utils::DateTime>
161 bool m_scalingGroupNameHasBeenSet =
false;
164 bool m_hostTypeHasBeenSet =
false;
167 bool m_clustersHasBeenSet =
false;
170 bool m_availabilityZoneIdHasBeenSet =
false;
173 bool m_statusHasBeenSet =
false;
176 bool m_statusReasonHasBeenSet =
false;
179 bool m_lastModifiedTimestampHasBeenSet =
false;
182 bool m_createdTimestampHasBeenSet =
false;
const Aws::String & GetScalingGroupName() const
AWS_FINSPACE_API KxScalingGroup(Aws::Utils::Json::JsonView jsonValue)
bool ClustersHasBeenSet() const
KxScalingGroup & WithScalingGroupName(ScalingGroupNameT &&value)
void SetAvailabilityZoneId(AvailabilityZoneIdT &&value)
void SetHostType(HostTypeT &&value)
bool StatusReasonHasBeenSet() const
bool ScalingGroupNameHasBeenSet() const
KxScalingGroup & AddClusters(ClustersT &&value)
bool LastModifiedTimestampHasBeenSet() const
KxScalingGroupStatus GetStatus() const
void SetLastModifiedTimestamp(LastModifiedTimestampT &&value)
KxScalingGroup & WithHostType(HostTypeT &&value)
const Aws::Utils::DateTime & GetCreatedTimestamp() const
KxScalingGroup & WithStatus(KxScalingGroupStatus value)
const Aws::Utils::DateTime & GetLastModifiedTimestamp() const
bool StatusHasBeenSet() const
KxScalingGroup & WithLastModifiedTimestamp(LastModifiedTimestampT &&value)
bool CreatedTimestampHasBeenSet() const
bool HostTypeHasBeenSet() const
void SetStatusReason(StatusReasonT &&value)
AWS_FINSPACE_API KxScalingGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetClusters(ClustersT &&value)
const Aws::String & GetStatusReason() const
KxScalingGroup & WithCreatedTimestamp(CreatedTimestampT &&value)
AWS_FINSPACE_API KxScalingGroup()=default
const Aws::Vector< Aws::String > & GetClusters() const
void SetStatus(KxScalingGroupStatus value)
const Aws::String & GetHostType() const
void SetCreatedTimestamp(CreatedTimestampT &&value)
bool AvailabilityZoneIdHasBeenSet() const
const Aws::String & GetAvailabilityZoneId() const
AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const
KxScalingGroup & WithStatusReason(StatusReasonT &&value)
KxScalingGroup & WithClusters(ClustersT &&value)
void SetScalingGroupName(ScalingGroupNameT &&value)
KxScalingGroup & WithAvailabilityZoneId(AvailabilityZoneIdT &&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