AWS SDK for C++  1.9.106
AWS SDK for C++
Fleet.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace RoboMaker
24 {
25 namespace Model
26 {
27 
34  {
35  public:
36  Fleet();
40 
41 
45  inline const Aws::String& GetName() const{ return m_name; }
46 
50  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
51 
55  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
56 
60  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
61 
65  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
66 
70  inline Fleet& WithName(const Aws::String& value) { SetName(value); return *this;}
71 
75  inline Fleet& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
76 
80  inline Fleet& WithName(const char* value) { SetName(value); return *this;}
81 
82 
86  inline const Aws::String& GetArn() const{ return m_arn; }
87 
91  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
92 
96  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
97 
101  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
102 
106  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
107 
111  inline Fleet& WithArn(const Aws::String& value) { SetArn(value); return *this;}
112 
116  inline Fleet& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
117 
121  inline Fleet& WithArn(const char* value) { SetArn(value); return *this;}
122 
123 
127  inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
128 
132  inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
133 
137  inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
138 
142  inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
143 
147  inline Fleet& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
148 
152  inline Fleet& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
153 
154 
158  inline const DeploymentStatus& GetLastDeploymentStatus() const{ return m_lastDeploymentStatus; }
159 
163  inline bool LastDeploymentStatusHasBeenSet() const { return m_lastDeploymentStatusHasBeenSet; }
164 
168  inline void SetLastDeploymentStatus(const DeploymentStatus& value) { m_lastDeploymentStatusHasBeenSet = true; m_lastDeploymentStatus = value; }
169 
173  inline void SetLastDeploymentStatus(DeploymentStatus&& value) { m_lastDeploymentStatusHasBeenSet = true; m_lastDeploymentStatus = std::move(value); }
174 
178  inline Fleet& WithLastDeploymentStatus(const DeploymentStatus& value) { SetLastDeploymentStatus(value); return *this;}
179 
183  inline Fleet& WithLastDeploymentStatus(DeploymentStatus&& value) { SetLastDeploymentStatus(std::move(value)); return *this;}
184 
185 
189  inline const Aws::String& GetLastDeploymentJob() const{ return m_lastDeploymentJob; }
190 
194  inline bool LastDeploymentJobHasBeenSet() const { return m_lastDeploymentJobHasBeenSet; }
195 
199  inline void SetLastDeploymentJob(const Aws::String& value) { m_lastDeploymentJobHasBeenSet = true; m_lastDeploymentJob = value; }
200 
204  inline void SetLastDeploymentJob(Aws::String&& value) { m_lastDeploymentJobHasBeenSet = true; m_lastDeploymentJob = std::move(value); }
205 
209  inline void SetLastDeploymentJob(const char* value) { m_lastDeploymentJobHasBeenSet = true; m_lastDeploymentJob.assign(value); }
210 
214  inline Fleet& WithLastDeploymentJob(const Aws::String& value) { SetLastDeploymentJob(value); return *this;}
215 
219  inline Fleet& WithLastDeploymentJob(Aws::String&& value) { SetLastDeploymentJob(std::move(value)); return *this;}
220 
224  inline Fleet& WithLastDeploymentJob(const char* value) { SetLastDeploymentJob(value); return *this;}
225 
226 
230  inline const Aws::Utils::DateTime& GetLastDeploymentTime() const{ return m_lastDeploymentTime; }
231 
235  inline bool LastDeploymentTimeHasBeenSet() const { return m_lastDeploymentTimeHasBeenSet; }
236 
240  inline void SetLastDeploymentTime(const Aws::Utils::DateTime& value) { m_lastDeploymentTimeHasBeenSet = true; m_lastDeploymentTime = value; }
241 
245  inline void SetLastDeploymentTime(Aws::Utils::DateTime&& value) { m_lastDeploymentTimeHasBeenSet = true; m_lastDeploymentTime = std::move(value); }
246 
250  inline Fleet& WithLastDeploymentTime(const Aws::Utils::DateTime& value) { SetLastDeploymentTime(value); return *this;}
251 
255  inline Fleet& WithLastDeploymentTime(Aws::Utils::DateTime&& value) { SetLastDeploymentTime(std::move(value)); return *this;}
256 
257  private:
258 
259  Aws::String m_name;
260  bool m_nameHasBeenSet;
261 
262  Aws::String m_arn;
263  bool m_arnHasBeenSet;
264 
265  Aws::Utils::DateTime m_createdAt;
266  bool m_createdAtHasBeenSet;
267 
268  DeploymentStatus m_lastDeploymentStatus;
269  bool m_lastDeploymentStatusHasBeenSet;
270 
271  Aws::String m_lastDeploymentJob;
272  bool m_lastDeploymentJobHasBeenSet;
273 
274  Aws::Utils::DateTime m_lastDeploymentTime;
275  bool m_lastDeploymentTimeHasBeenSet;
276  };
277 
278 } // namespace Model
279 } // namespace RoboMaker
280 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::RoboMaker::Model::Fleet::WithArn
Fleet & WithArn(Aws::String &&value)
Definition: Fleet.h:116
Aws::RoboMaker::Model::Fleet::SetArn
void SetArn(const Aws::String &value)
Definition: Fleet.h:96
Aws::RoboMaker::Model::DeploymentStatus
DeploymentStatus
Definition: DeploymentStatus.h:17
DateTime.h
Aws::RoboMaker::Model::Fleet::SetName
void SetName(const char *value)
Definition: Fleet.h:65
Aws::RoboMaker::Model::Fleet::GetName
const Aws::String & GetName() const
Definition: Fleet.h:45
Aws::RoboMaker::Model::Fleet::LastDeploymentJobHasBeenSet
bool LastDeploymentJobHasBeenSet() const
Definition: Fleet.h:194
Aws::RoboMaker::Model::Fleet::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: Fleet.h:91
Aws::RoboMaker::Model::Fleet::SetLastDeploymentJob
void SetLastDeploymentJob(const Aws::String &value)
Definition: Fleet.h:199
Aws::RoboMaker::Model::Fleet::WithArn
Fleet & WithArn(const Aws::String &value)
Definition: Fleet.h:111
Aws::RoboMaker::Model::Fleet::WithLastDeploymentJob
Fleet & WithLastDeploymentJob(const Aws::String &value)
Definition: Fleet.h:214
Aws::RoboMaker::Model::Fleet::SetName
void SetName(const Aws::String &value)
Definition: Fleet.h:55
Aws::RoboMaker::Model::Fleet::WithCreatedAt
Fleet & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition: Fleet.h:147
Aws::RoboMaker::Model::Fleet::GetLastDeploymentJob
const Aws::String & GetLastDeploymentJob() const
Definition: Fleet.h:189
Aws::RoboMaker::Model::Fleet::Fleet
Fleet(Aws::Utils::Json::JsonView jsonValue)
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
Aws::RoboMaker::Model::Fleet
Definition: Fleet.h:34
Aws::RoboMaker::Model::Fleet::SetLastDeploymentStatus
void SetLastDeploymentStatus(const DeploymentStatus &value)
Definition: Fleet.h:168
Aws::RoboMaker::Model::Fleet::WithArn
Fleet & WithArn(const char *value)
Definition: Fleet.h:121
Aws::RoboMaker::Model::Fleet::GetCreatedAt
const Aws::Utils::DateTime & GetCreatedAt() const
Definition: Fleet.h:127
Aws::RoboMaker::Model::Fleet::SetName
void SetName(Aws::String &&value)
Definition: Fleet.h:60
Aws::RoboMaker::Model::Fleet::LastDeploymentStatusHasBeenSet
bool LastDeploymentStatusHasBeenSet() const
Definition: Fleet.h:163
Aws::RoboMaker::Model::Fleet::WithLastDeploymentStatus
Fleet & WithLastDeploymentStatus(const DeploymentStatus &value)
Definition: Fleet.h:178
Aws::RoboMaker::Model::Fleet::WithLastDeploymentJob
Fleet & WithLastDeploymentJob(Aws::String &&value)
Definition: Fleet.h:219
RoboMaker_EXPORTS.h
Aws::RoboMaker::Model::Fleet::GetLastDeploymentStatus
const DeploymentStatus & GetLastDeploymentStatus() const
Definition: Fleet.h:158
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::RoboMaker::Model::Fleet::WithName
Fleet & WithName(const char *value)
Definition: Fleet.h:80
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::RoboMaker::Model::Fleet::WithLastDeploymentTime
Fleet & WithLastDeploymentTime(Aws::Utils::DateTime &&value)
Definition: Fleet.h:255
DeploymentStatus.h
Aws::RoboMaker::Model::Fleet::SetLastDeploymentTime
void SetLastDeploymentTime(Aws::Utils::DateTime &&value)
Definition: Fleet.h:245
Aws::RoboMaker::Model::Fleet::WithLastDeploymentStatus
Fleet & WithLastDeploymentStatus(DeploymentStatus &&value)
Definition: Fleet.h:183
Aws::RoboMaker::Model::Fleet::SetArn
void SetArn(Aws::String &&value)
Definition: Fleet.h:101
Aws::RoboMaker::Model::Fleet::WithLastDeploymentTime
Fleet & WithLastDeploymentTime(const Aws::Utils::DateTime &value)
Definition: Fleet.h:250
Aws::RoboMaker::Model::Fleet::SetLastDeploymentStatus
void SetLastDeploymentStatus(DeploymentStatus &&value)
Definition: Fleet.h:173
Aws::RoboMaker::Model::Fleet::SetArn
void SetArn(const char *value)
Definition: Fleet.h:106
Aws
Definition: AccessManagementClient.h:15
Aws::RoboMaker::Model::Fleet::GetArn
const Aws::String & GetArn() const
Definition: Fleet.h:86
Aws::RoboMaker::Model::Fleet::CreatedAtHasBeenSet
bool CreatedAtHasBeenSet() const
Definition: Fleet.h:132
Aws::RoboMaker::Model::Fleet::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RoboMaker::Model::Fleet::WithName
Fleet & WithName(Aws::String &&value)
Definition: Fleet.h:75
Aws::RoboMaker::Model::Fleet::WithLastDeploymentJob
Fleet & WithLastDeploymentJob(const char *value)
Definition: Fleet.h:224
Aws::RoboMaker::Model::Fleet::Fleet
Fleet()
Aws::RoboMaker::Model::Fleet::WithCreatedAt
Fleet & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition: Fleet.h:152
Aws::RoboMaker::Model::Fleet::GetLastDeploymentTime
const Aws::Utils::DateTime & GetLastDeploymentTime() const
Definition: Fleet.h:230
Aws::RoboMaker::Model::Fleet::SetLastDeploymentJob
void SetLastDeploymentJob(Aws::String &&value)
Definition: Fleet.h:204
Aws::RoboMaker::Model::Fleet::NameHasBeenSet
bool NameHasBeenSet() const
Definition: Fleet.h:50
Aws::RoboMaker::Model::Fleet::SetCreatedAt
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition: Fleet.h:142
Aws::RoboMaker::Model::Fleet::SetLastDeploymentJob
void SetLastDeploymentJob(const char *value)
Definition: Fleet.h:209
Aws::RoboMaker::Model::Fleet::operator=
Fleet & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::RoboMaker::Model::Fleet::WithName
Fleet & WithName(const Aws::String &value)
Definition: Fleet.h:70
Aws::RoboMaker::Model::Fleet::LastDeploymentTimeHasBeenSet
bool LastDeploymentTimeHasBeenSet() const
Definition: Fleet.h:235
Aws::RoboMaker::Model::Fleet::SetCreatedAt
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition: Fleet.h:137
Aws::RoboMaker::Model::Fleet::SetLastDeploymentTime
void SetLastDeploymentTime(const Aws::Utils::DateTime &value)
Definition: Fleet.h:240