7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/deadline/model/FleetStatus.h>
10#include <aws/deadline/model/AutoScalingStatus.h>
11#include <aws/deadline/model/FleetConfiguration.h>
12#include <aws/core/utils/DateTime.h>
50 template<
typename FleetIdT = Aws::String>
51 void SetFleetId(FleetIdT&& value) { m_fleetIdHasBeenSet =
true; m_fleetId = std::forward<FleetIdT>(value); }
52 template<
typename FleetIdT = Aws::String>
62 template<
typename FarmIdT = Aws::String>
63 void SetFarmId(FarmIdT&& value) { m_farmIdHasBeenSet =
true; m_farmId = std::forward<FarmIdT>(value); }
64 template<
typename FarmIdT = Aws::String>
77 template<
typename DisplayNameT = Aws::String>
78 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet =
true; m_displayName = std::forward<DisplayNameT>(value); }
79 template<
typename DisplayNameT = Aws::String>
99 template<
typename StatusMessageT = Aws::String>
100 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet =
true; m_statusMessage = std::forward<StatusMessageT>(value); }
101 template<
typename StatusMessageT = Aws::String>
121 inline void SetTargetWorkerCount(
int value) { m_targetWorkerCountHasBeenSet =
true; m_targetWorkerCount = value; }
131 inline void SetWorkerCount(
int value) { m_workerCountHasBeenSet =
true; m_workerCount = value; }
141 inline void SetMinWorkerCount(
int value) { m_minWorkerCountHasBeenSet =
true; m_minWorkerCount = value; }
151 inline void SetMaxWorkerCount(
int value) { m_maxWorkerCountHasBeenSet =
true; m_maxWorkerCount = value; }
161 template<
typename ConfigurationT = FleetConfiguration>
162 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet =
true; m_configuration = std::forward<ConfigurationT>(value); }
163 template<
typename ConfigurationT = FleetConfiguration>
173 template<
typename CreatedAtT = Aws::Utils::DateTime>
174 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
175 template<
typename CreatedAtT = Aws::Utils::DateTime>
185 template<
typename CreatedByT = Aws::String>
186 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet =
true; m_createdBy = std::forward<CreatedByT>(value); }
187 template<
typename CreatedByT = Aws::String>
197 template<
typename UpdatedAtT = Aws::Utils::DateTime>
198 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
199 template<
typename UpdatedAtT = Aws::Utils::DateTime>
209 template<
typename UpdatedByT = Aws::String>
210 void SetUpdatedBy(UpdatedByT&& value) { m_updatedByHasBeenSet =
true; m_updatedBy = std::forward<UpdatedByT>(value); }
211 template<
typename UpdatedByT = Aws::String>
217 bool m_fleetIdHasBeenSet =
false;
220 bool m_farmIdHasBeenSet =
false;
223 bool m_displayNameHasBeenSet =
false;
226 bool m_statusHasBeenSet =
false;
229 bool m_statusMessageHasBeenSet =
false;
232 bool m_autoScalingStatusHasBeenSet =
false;
234 int m_targetWorkerCount{0};
235 bool m_targetWorkerCountHasBeenSet =
false;
237 int m_workerCount{0};
238 bool m_workerCountHasBeenSet =
false;
240 int m_minWorkerCount{0};
241 bool m_minWorkerCountHasBeenSet =
false;
243 int m_maxWorkerCount{0};
244 bool m_maxWorkerCountHasBeenSet =
false;
246 FleetConfiguration m_configuration;
247 bool m_configurationHasBeenSet =
false;
250 bool m_createdAtHasBeenSet =
false;
253 bool m_createdByHasBeenSet =
false;
256 bool m_updatedAtHasBeenSet =
false;
259 bool m_updatedByHasBeenSet =
false;
void SetStatusMessage(StatusMessageT &&value)
bool ConfigurationHasBeenSet() const
FleetSummary & WithFleetId(FleetIdT &&value)
AWS_DEADLINE_API FleetSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
bool UpdatedAtHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
AutoScalingStatus GetAutoScalingStatus() const
void SetFarmId(FarmIdT &&value)
FleetSummary & WithMaxWorkerCount(int value)
int GetMinWorkerCount() const
int GetWorkerCount() const
bool CreatedAtHasBeenSet() const
bool WorkerCountHasBeenSet() const
void SetUpdatedBy(UpdatedByT &&value)
FleetSummary & WithCreatedAt(CreatedAtT &&value)
AWS_DEADLINE_API FleetSummary()=default
const Aws::String & GetCreatedBy() const
bool MaxWorkerCountHasBeenSet() const
FleetSummary & WithAutoScalingStatus(AutoScalingStatus value)
bool AutoScalingStatusHasBeenSet() const
const Aws::String & GetStatusMessage() const
const Aws::String & GetFarmId() const
void SetMaxWorkerCount(int value)
const Aws::String & GetUpdatedBy() const
FleetStatus GetStatus() const
FleetSummary & WithStatusMessage(StatusMessageT &&value)
bool UpdatedByHasBeenSet() const
void SetMinWorkerCount(int value)
const FleetConfiguration & GetConfiguration() const
const Aws::Utils::DateTime & GetCreatedAt() const
FleetSummary & WithStatus(FleetStatus value)
void SetUpdatedAt(UpdatedAtT &&value)
void SetConfiguration(ConfigurationT &&value)
FleetSummary & WithUpdatedAt(UpdatedAtT &&value)
bool DisplayNameHasBeenSet() const
void SetCreatedBy(CreatedByT &&value)
FleetSummary & WithFarmId(FarmIdT &&value)
const Aws::String & GetDisplayName() const
bool StatusHasBeenSet() const
void SetWorkerCount(int value)
bool CreatedByHasBeenSet() const
FleetSummary & WithTargetWorkerCount(int value)
const Aws::Utils::DateTime & GetUpdatedAt() const
FleetSummary & WithConfiguration(ConfigurationT &&value)
FleetSummary & WithMinWorkerCount(int value)
bool StatusMessageHasBeenSet() const
void SetTargetWorkerCount(int value)
bool FleetIdHasBeenSet() const
int GetTargetWorkerCount() const
FleetSummary & WithUpdatedBy(UpdatedByT &&value)
int GetMaxWorkerCount() const
void SetFleetId(FleetIdT &&value)
bool TargetWorkerCountHasBeenSet() const
const Aws::String & GetFleetId() const
FleetSummary & WithWorkerCount(int value)
void SetDisplayName(DisplayNameT &&value)
void SetAutoScalingStatus(AutoScalingStatus value)
FleetSummary & WithDisplayName(DisplayNameT &&value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStatus(FleetStatus value)
bool FarmIdHasBeenSet() const
FleetSummary & WithCreatedBy(CreatedByT &&value)
bool MinWorkerCountHasBeenSet() const
AWS_DEADLINE_API FleetSummary(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue