AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetFleetResult.h
1
6#pragma once
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/deadline/model/FleetCapabilities.h>
13#include <aws/core/utils/DateTime.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace deadline
29{
30namespace Model
31{
33 {
34 public:
35 AWS_DEADLINE_API GetFleetResult();
38
39
41
44 inline const Aws::String& GetFleetId() const{ return m_fleetId; }
45 inline void SetFleetId(const Aws::String& value) { m_fleetId = value; }
46 inline void SetFleetId(Aws::String&& value) { m_fleetId = std::move(value); }
47 inline void SetFleetId(const char* value) { m_fleetId.assign(value); }
48 inline GetFleetResult& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;}
49 inline GetFleetResult& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;}
50 inline GetFleetResult& WithFleetId(const char* value) { SetFleetId(value); return *this;}
52
54
57 inline const Aws::String& GetFarmId() const{ return m_farmId; }
58 inline void SetFarmId(const Aws::String& value) { m_farmId = value; }
59 inline void SetFarmId(Aws::String&& value) { m_farmId = std::move(value); }
60 inline void SetFarmId(const char* value) { m_farmId.assign(value); }
61 inline GetFleetResult& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;}
62 inline GetFleetResult& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;}
63 inline GetFleetResult& WithFarmId(const char* value) { SetFarmId(value); return *this;}
65
67
72 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
73 inline void SetDisplayName(const Aws::String& value) { m_displayName = value; }
74 inline void SetDisplayName(Aws::String&& value) { m_displayName = std::move(value); }
75 inline void SetDisplayName(const char* value) { m_displayName.assign(value); }
76 inline GetFleetResult& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
77 inline GetFleetResult& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
78 inline GetFleetResult& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
80
82
87 inline const Aws::String& GetDescription() const{ return m_description; }
88 inline void SetDescription(const Aws::String& value) { m_description = value; }
89 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
90 inline void SetDescription(const char* value) { m_description.assign(value); }
91 inline GetFleetResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
92 inline GetFleetResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
93 inline GetFleetResult& WithDescription(const char* value) { SetDescription(value); return *this;}
95
97
100 inline const FleetStatus& GetStatus() const{ return m_status; }
101 inline void SetStatus(const FleetStatus& value) { m_status = value; }
102 inline void SetStatus(FleetStatus&& value) { m_status = std::move(value); }
103 inline GetFleetResult& WithStatus(const FleetStatus& value) { SetStatus(value); return *this;}
104 inline GetFleetResult& WithStatus(FleetStatus&& value) { SetStatus(std::move(value)); return *this;}
106
108
112 inline const AutoScalingStatus& GetAutoScalingStatus() const{ return m_autoScalingStatus; }
113 inline void SetAutoScalingStatus(const AutoScalingStatus& value) { m_autoScalingStatus = value; }
114 inline void SetAutoScalingStatus(AutoScalingStatus&& value) { m_autoScalingStatus = std::move(value); }
115 inline GetFleetResult& WithAutoScalingStatus(const AutoScalingStatus& value) { SetAutoScalingStatus(value); return *this;}
116 inline GetFleetResult& WithAutoScalingStatus(AutoScalingStatus&& value) { SetAutoScalingStatus(std::move(value)); return *this;}
118
120
123 inline int GetTargetWorkerCount() const{ return m_targetWorkerCount; }
124 inline void SetTargetWorkerCount(int value) { m_targetWorkerCount = value; }
125 inline GetFleetResult& WithTargetWorkerCount(int value) { SetTargetWorkerCount(value); return *this;}
127
129
132 inline int GetWorkerCount() const{ return m_workerCount; }
133 inline void SetWorkerCount(int value) { m_workerCount = value; }
134 inline GetFleetResult& WithWorkerCount(int value) { SetWorkerCount(value); return *this;}
136
138
141 inline int GetMinWorkerCount() const{ return m_minWorkerCount; }
142 inline void SetMinWorkerCount(int value) { m_minWorkerCount = value; }
143 inline GetFleetResult& WithMinWorkerCount(int value) { SetMinWorkerCount(value); return *this;}
145
147
150 inline int GetMaxWorkerCount() const{ return m_maxWorkerCount; }
151 inline void SetMaxWorkerCount(int value) { m_maxWorkerCount = value; }
152 inline GetFleetResult& WithMaxWorkerCount(int value) { SetMaxWorkerCount(value); return *this;}
154
156
159 inline const FleetConfiguration& GetConfiguration() const{ return m_configuration; }
160 inline void SetConfiguration(const FleetConfiguration& value) { m_configuration = value; }
161 inline void SetConfiguration(FleetConfiguration&& value) { m_configuration = std::move(value); }
162 inline GetFleetResult& WithConfiguration(const FleetConfiguration& value) { SetConfiguration(value); return *this;}
163 inline GetFleetResult& WithConfiguration(FleetConfiguration&& value) { SetConfiguration(std::move(value)); return *this;}
165
167
171 inline const FleetCapabilities& GetCapabilities() const{ return m_capabilities; }
172 inline void SetCapabilities(const FleetCapabilities& value) { m_capabilities = value; }
173 inline void SetCapabilities(FleetCapabilities&& value) { m_capabilities = std::move(value); }
174 inline GetFleetResult& WithCapabilities(const FleetCapabilities& value) { SetCapabilities(value); return *this;}
175 inline GetFleetResult& WithCapabilities(FleetCapabilities&& value) { SetCapabilities(std::move(value)); return *this;}
177
179
182 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
183 inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; }
184 inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); }
185 inline void SetRoleArn(const char* value) { m_roleArn.assign(value); }
186 inline GetFleetResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
187 inline GetFleetResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
188 inline GetFleetResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
190
192
195 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
196 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
197 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
198 inline GetFleetResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
199 inline GetFleetResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
201
203
206 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
207 inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; }
208 inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); }
209 inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); }
210 inline GetFleetResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
211 inline GetFleetResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
212 inline GetFleetResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
214
216
219 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
220 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; }
221 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); }
222 inline GetFleetResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
223 inline GetFleetResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
225
227
230 inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; }
231 inline void SetUpdatedBy(const Aws::String& value) { m_updatedBy = value; }
232 inline void SetUpdatedBy(Aws::String&& value) { m_updatedBy = std::move(value); }
233 inline void SetUpdatedBy(const char* value) { m_updatedBy.assign(value); }
234 inline GetFleetResult& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;}
235 inline GetFleetResult& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;}
236 inline GetFleetResult& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;}
238
240
241 inline const Aws::String& GetRequestId() const{ return m_requestId; }
242 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
243 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
244 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
245 inline GetFleetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
246 inline GetFleetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
247 inline GetFleetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
249 private:
250
251 Aws::String m_fleetId;
252
253 Aws::String m_farmId;
254
255 Aws::String m_displayName;
256
257 Aws::String m_description;
258
259 FleetStatus m_status;
260
261 AutoScalingStatus m_autoScalingStatus;
262
263 int m_targetWorkerCount;
264
265 int m_workerCount;
266
267 int m_minWorkerCount;
268
269 int m_maxWorkerCount;
270
271 FleetConfiguration m_configuration;
272
273 FleetCapabilities m_capabilities;
274
275 Aws::String m_roleArn;
276
277 Aws::Utils::DateTime m_createdAt;
278
279 Aws::String m_createdBy;
280
281 Aws::Utils::DateTime m_updatedAt;
282
283 Aws::String m_updatedBy;
284
285 Aws::String m_requestId;
286 };
287
288} // namespace Model
289} // namespace deadline
290} // namespace Aws
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetUpdatedBy(const char *value)
GetFleetResult & WithStatus(const FleetStatus &value)
void SetUpdatedBy(Aws::String &&value)
void SetConfiguration(const FleetConfiguration &value)
const FleetCapabilities & GetCapabilities() const
const Aws::String & GetRequestId() const
AWS_DEADLINE_API GetFleetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetFarmId(const char *value)
void SetRequestId(Aws::String &&value)
GetFleetResult & WithMinWorkerCount(int value)
GetFleetResult & WithRequestId(Aws::String &&value)
void SetFleetId(const char *value)
GetFleetResult & WithDisplayName(const Aws::String &value)
GetFleetResult & WithUpdatedBy(const char *value)
void SetUpdatedBy(const Aws::String &value)
GetFleetResult & WithAutoScalingStatus(AutoScalingStatus &&value)
const Aws::String & GetUpdatedBy() const
GetFleetResult & WithCreatedAt(const Aws::Utils::DateTime &value)
GetFleetResult & WithRequestId(const Aws::String &value)
const AutoScalingStatus & GetAutoScalingStatus() const
GetFleetResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
GetFleetResult & WithFarmId(Aws::String &&value)
void SetCapabilities(FleetCapabilities &&value)
GetFleetResult & WithFleetId(const Aws::String &value)
const Aws::String & GetRoleArn() const
GetFleetResult & WithRoleArn(const Aws::String &value)
const Aws::String & GetDescription() const
GetFleetResult & WithRoleArn(const char *value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetDisplayName(Aws::String &&value)
void SetFarmId(Aws::String &&value)
GetFleetResult & WithConfiguration(FleetConfiguration &&value)
void SetDisplayName(const Aws::String &value)
GetFleetResult & WithWorkerCount(int value)
GetFleetResult & WithDescription(const char *value)
GetFleetResult & WithFarmId(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetUpdatedAt(Aws::Utils::DateTime &&value)
GetFleetResult & WithCapabilities(const FleetCapabilities &value)
GetFleetResult & WithCreatedBy(const Aws::String &value)
GetFleetResult & WithTargetWorkerCount(int value)
void SetConfiguration(FleetConfiguration &&value)
GetFleetResult & WithFleetId(Aws::String &&value)
void SetStatus(FleetStatus &&value)
void SetCreatedBy(const char *value)
GetFleetResult & WithCreatedBy(Aws::String &&value)
void SetCreatedBy(Aws::String &&value)
void SetRoleArn(const Aws::String &value)
GetFleetResult & WithDescription(const Aws::String &value)
const Aws::String & GetCreatedBy() const
GetFleetResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetFleetId(Aws::String &&value)
const Aws::String & GetDisplayName() const
const Aws::String & GetFleetId() const
void SetDisplayName(const char *value)
GetFleetResult & WithFarmId(const char *value)
GetFleetResult & WithStatus(FleetStatus &&value)
void SetDescription(const Aws::String &value)
GetFleetResult & WithConfiguration(const FleetConfiguration &value)
void SetRoleArn(Aws::String &&value)
void SetAutoScalingStatus(const AutoScalingStatus &value)
GetFleetResult & WithUpdatedBy(Aws::String &&value)
GetFleetResult & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetCapabilities(const FleetCapabilities &value)
GetFleetResult & WithAutoScalingStatus(const AutoScalingStatus &value)
GetFleetResult & WithCreatedBy(const char *value)
void SetDescription(const char *value)
GetFleetResult & WithDescription(Aws::String &&value)
GetFleetResult & WithDisplayName(Aws::String &&value)
const FleetStatus & GetStatus() const
GetFleetResult & WithCapabilities(FleetCapabilities &&value)
const FleetConfiguration & GetConfiguration() const
GetFleetResult & WithUpdatedBy(const Aws::String &value)
void SetFarmId(const Aws::String &value)
void SetRequestId(const char *value)
void SetRequestId(const Aws::String &value)
GetFleetResult & WithDisplayName(const char *value)
void SetAutoScalingStatus(AutoScalingStatus &&value)
GetFleetResult & WithFleetId(const char *value)
AWS_DEADLINE_API GetFleetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetFleetResult & WithRequestId(const char *value)
void SetStatus(const FleetStatus &value)
const Aws::String & GetFarmId() const
void SetFleetId(const Aws::String &value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
GetFleetResult & WithMaxWorkerCount(int value)
GetFleetResult & WithRoleArn(Aws::String &&value)
void SetCreatedBy(const Aws::String &value)
void SetDescription(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue