AWS SDK for C++  1.9.19
AWS SDK for C++
Build.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace GameLift
25 {
26 namespace Model
27 {
28 
39  {
40  public:
41  Build();
45 
46 
50  inline const Aws::String& GetBuildId() const{ return m_buildId; }
51 
55  inline bool BuildIdHasBeenSet() const { return m_buildIdHasBeenSet; }
56 
60  inline void SetBuildId(const Aws::String& value) { m_buildIdHasBeenSet = true; m_buildId = value; }
61 
65  inline void SetBuildId(Aws::String&& value) { m_buildIdHasBeenSet = true; m_buildId = std::move(value); }
66 
70  inline void SetBuildId(const char* value) { m_buildIdHasBeenSet = true; m_buildId.assign(value); }
71 
75  inline Build& WithBuildId(const Aws::String& value) { SetBuildId(value); return *this;}
76 
80  inline Build& WithBuildId(Aws::String&& value) { SetBuildId(std::move(value)); return *this;}
81 
85  inline Build& WithBuildId(const char* value) { SetBuildId(value); return *this;}
86 
87 
96  inline const Aws::String& GetBuildArn() const{ return m_buildArn; }
97 
106  inline bool BuildArnHasBeenSet() const { return m_buildArnHasBeenSet; }
107 
116  inline void SetBuildArn(const Aws::String& value) { m_buildArnHasBeenSet = true; m_buildArn = value; }
117 
126  inline void SetBuildArn(Aws::String&& value) { m_buildArnHasBeenSet = true; m_buildArn = std::move(value); }
127 
136  inline void SetBuildArn(const char* value) { m_buildArnHasBeenSet = true; m_buildArn.assign(value); }
137 
146  inline Build& WithBuildArn(const Aws::String& value) { SetBuildArn(value); return *this;}
147 
156  inline Build& WithBuildArn(Aws::String&& value) { SetBuildArn(std::move(value)); return *this;}
157 
166  inline Build& WithBuildArn(const char* value) { SetBuildArn(value); return *this;}
167 
168 
173  inline const Aws::String& GetName() const{ return m_name; }
174 
179  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
180 
185  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
186 
191  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
192 
197  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
198 
203  inline Build& WithName(const Aws::String& value) { SetName(value); return *this;}
204 
209  inline Build& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
210 
215  inline Build& WithName(const char* value) { SetName(value); return *this;}
216 
217 
223  inline const Aws::String& GetVersion() const{ return m_version; }
224 
230  inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
231 
237  inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
238 
244  inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
245 
251  inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
252 
258  inline Build& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
259 
265  inline Build& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
266 
272  inline Build& WithVersion(const char* value) { SetVersion(value); return *this;}
273 
274 
285  inline const BuildStatus& GetStatus() const{ return m_status; }
286 
297  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
298 
309  inline void SetStatus(const BuildStatus& value) { m_statusHasBeenSet = true; m_status = value; }
310 
321  inline void SetStatus(BuildStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
322 
333  inline Build& WithStatus(const BuildStatus& value) { SetStatus(value); return *this;}
334 
345  inline Build& WithStatus(BuildStatus&& value) { SetStatus(std::move(value)); return *this;}
346 
347 
352  inline long long GetSizeOnDisk() const{ return m_sizeOnDisk; }
353 
358  inline bool SizeOnDiskHasBeenSet() const { return m_sizeOnDiskHasBeenSet; }
359 
364  inline void SetSizeOnDisk(long long value) { m_sizeOnDiskHasBeenSet = true; m_sizeOnDisk = value; }
365 
370  inline Build& WithSizeOnDisk(long long value) { SetSizeOnDisk(value); return *this;}
371 
372 
378  inline const OperatingSystem& GetOperatingSystem() const{ return m_operatingSystem; }
379 
385  inline bool OperatingSystemHasBeenSet() const { return m_operatingSystemHasBeenSet; }
386 
392  inline void SetOperatingSystem(const OperatingSystem& value) { m_operatingSystemHasBeenSet = true; m_operatingSystem = value; }
393 
399  inline void SetOperatingSystem(OperatingSystem&& value) { m_operatingSystemHasBeenSet = true; m_operatingSystem = std::move(value); }
400 
406  inline Build& WithOperatingSystem(const OperatingSystem& value) { SetOperatingSystem(value); return *this;}
407 
413  inline Build& WithOperatingSystem(OperatingSystem&& value) { SetOperatingSystem(std::move(value)); return *this;}
414 
415 
421  inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
422 
428  inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
429 
435  inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
436 
442  inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
443 
449  inline Build& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
450 
456  inline Build& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
457 
458  private:
459 
460  Aws::String m_buildId;
461  bool m_buildIdHasBeenSet;
462 
463  Aws::String m_buildArn;
464  bool m_buildArnHasBeenSet;
465 
466  Aws::String m_name;
467  bool m_nameHasBeenSet;
468 
469  Aws::String m_version;
470  bool m_versionHasBeenSet;
471 
472  BuildStatus m_status;
473  bool m_statusHasBeenSet;
474 
475  long long m_sizeOnDisk;
476  bool m_sizeOnDiskHasBeenSet;
477 
478  OperatingSystem m_operatingSystem;
479  bool m_operatingSystemHasBeenSet;
480 
481  Aws::Utils::DateTime m_creationTime;
482  bool m_creationTimeHasBeenSet;
483  };
484 
485 } // namespace Model
486 } // namespace GameLift
487 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::GameLift::Model::Build::SetBuildArn
void SetBuildArn(const Aws::String &value)
Definition: Build.h:116
Aws::GameLift::Model::Build::WithBuildId
Build & WithBuildId(const char *value)
Definition: Build.h:85
Aws::GameLift::Model::Build::SetBuildId
void SetBuildId(const Aws::String &value)
Definition: Build.h:60
Aws::GameLift::Model::Build::SetName
void SetName(Aws::String &&value)
Definition: Build.h:191
Aws::GameLift::Model::Build::WithSizeOnDisk
Build & WithSizeOnDisk(long long value)
Definition: Build.h:370
Aws::GameLift::Model::Build::WithVersion
Build & WithVersion(const char *value)
Definition: Build.h:272
Aws::GameLift::Model::Build::GetBuildId
const Aws::String & GetBuildId() const
Definition: Build.h:50
Aws::GameLift::Model::Build::BuildIdHasBeenSet
bool BuildIdHasBeenSet() const
Definition: Build.h:55
Aws::GameLift::Model::Build::SetOperatingSystem
void SetOperatingSystem(const OperatingSystem &value)
Definition: Build.h:392
Aws::GameLift::Model::Build::SetStatus
void SetStatus(const BuildStatus &value)
Definition: Build.h:309
DateTime.h
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::Build::SetName
void SetName(const char *value)
Definition: Build.h:197
Aws::GameLift::Model::Build::WithVersion
Build & WithVersion(Aws::String &&value)
Definition: Build.h:265
Aws::GameLift::Model::Build::WithVersion
Build & WithVersion(const Aws::String &value)
Definition: Build.h:258
Aws::GameLift::Model::Build::Build
Build(Aws::Utils::Json::JsonView jsonValue)
Aws::GameLift::Model::Build::WithOperatingSystem
Build & WithOperatingSystem(OperatingSystem &&value)
Definition: Build.h:413
Aws::GameLift::Model::Build::SetStatus
void SetStatus(BuildStatus &&value)
Definition: Build.h:321
OperatingSystem.h
Aws::GameLift::Model::Build::SetCreationTime
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition: Build.h:442
Aws::GameLift::Model::Build::WithBuildArn
Build & WithBuildArn(Aws::String &&value)
Definition: Build.h:156
Aws::GameLift::Model::Build::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::GameLift::Model::Build::WithName
Build & WithName(Aws::String &&value)
Definition: Build.h:209
GameLift_EXPORTS.h
Aws::GameLift::Model::Build::SetBuildId
void SetBuildId(Aws::String &&value)
Definition: Build.h:65
Aws::GameLift::Model::Build::SetBuildArn
void SetBuildArn(const char *value)
Definition: Build.h:136
Aws::GameLift::Model::Build::SetOperatingSystem
void SetOperatingSystem(OperatingSystem &&value)
Definition: Build.h:399
Aws::GameLift::Model::Build::GetCreationTime
const Aws::Utils::DateTime & GetCreationTime() const
Definition: Build.h:421
Aws::GameLift::Model::Build::SetVersion
void SetVersion(const char *value)
Definition: Build.h:251
Aws::GameLift::Model::Build::SetBuildId
void SetBuildId(const char *value)
Definition: Build.h:70
Aws::GameLift::Model::Build::GetBuildArn
const Aws::String & GetBuildArn() const
Definition: Build.h:96
Aws::GameLift::Model::BuildStatus
BuildStatus
Definition: BuildStatus.h:17
Aws::GameLift::Model::Build::WithBuildId
Build & WithBuildId(const Aws::String &value)
Definition: Build.h:75
Aws::GameLift::Model::Build::operator=
Build & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::GameLift::Model::Build::GetOperatingSystem
const OperatingSystem & GetOperatingSystem() const
Definition: Build.h:378
Aws::GameLift::Model::Build::SetSizeOnDisk
void SetSizeOnDisk(long long value)
Definition: Build.h:364
Aws::GameLift::Model::Build::BuildArnHasBeenSet
bool BuildArnHasBeenSet() const
Definition: Build.h:106
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::GameLift::Model::Build::SetVersion
void SetVersion(Aws::String &&value)
Definition: Build.h:244
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::GameLift::Model::Build::SetCreationTime
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition: Build.h:435
Aws::GameLift::Model::Build::SizeOnDiskHasBeenSet
bool SizeOnDiskHasBeenSet() const
Definition: Build.h:358
Aws::GameLift::Model::Build::WithStatus
Build & WithStatus(BuildStatus &&value)
Definition: Build.h:345
Aws::GameLift::Model::Build::VersionHasBeenSet
bool VersionHasBeenSet() const
Definition: Build.h:230
Aws::GameLift::Model::Build::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: Build.h:297
Aws::GameLift::Model::Build::SetName
void SetName(const Aws::String &value)
Definition: Build.h:185
BuildStatus.h
Aws::GameLift::Model::Build::WithCreationTime
Build & WithCreationTime(Aws::Utils::DateTime &&value)
Definition: Build.h:456
Aws::GameLift::Model::Build::WithCreationTime
Build & WithCreationTime(const Aws::Utils::DateTime &value)
Definition: Build.h:449
Aws::GameLift::Model::Build::GetName
const Aws::String & GetName() const
Definition: Build.h:173
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::Build::SetBuildArn
void SetBuildArn(Aws::String &&value)
Definition: Build.h:126
Aws::GameLift::Model::Build::CreationTimeHasBeenSet
bool CreationTimeHasBeenSet() const
Definition: Build.h:428
Aws::GameLift::Model::Build::WithBuildArn
Build & WithBuildArn(const Aws::String &value)
Definition: Build.h:146
Aws::GameLift::Model::Build::WithBuildId
Build & WithBuildId(Aws::String &&value)
Definition: Build.h:80
Aws::GameLift::Model::Build::GetSizeOnDisk
long long GetSizeOnDisk() const
Definition: Build.h:352
Aws::GameLift::Model::Build::Build
Build()
Aws::GameLift::Model::Build::SetVersion
void SetVersion(const Aws::String &value)
Definition: Build.h:237
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GameLift::Model::Build::WithName
Build & WithName(const char *value)
Definition: Build.h:215
Aws::GameLift::Model::Build::WithBuildArn
Build & WithBuildArn(const char *value)
Definition: Build.h:166
Aws::GameLift::Model::Build::GetStatus
const BuildStatus & GetStatus() const
Definition: Build.h:285
Aws::GameLift::Model::Build::GetVersion
const Aws::String & GetVersion() const
Definition: Build.h:223
Aws::GameLift::Model::Build::WithName
Build & WithName(const Aws::String &value)
Definition: Build.h:203
Aws::GameLift::Model::Build::WithStatus
Build & WithStatus(const BuildStatus &value)
Definition: Build.h:333
Aws::GameLift::Model::Build
Definition: Build.h:39
Aws::GameLift::Model::Build::OperatingSystemHasBeenSet
bool OperatingSystemHasBeenSet() const
Definition: Build.h:385
Aws::GameLift::Model::Build::NameHasBeenSet
bool NameHasBeenSet() const
Definition: Build.h:179
Aws::GameLift::Model::Build::WithOperatingSystem
Build & WithOperatingSystem(const OperatingSystem &value)
Definition: Build.h:406
Aws::GameLift::Model::OperatingSystem
OperatingSystem
Definition: OperatingSystem.h:17