AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Build.h
1
6#pragma once
7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/gamelift/model/BuildStatus.h>
10#include <aws/gamelift/model/OperatingSystem.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace GameLift
25{
26namespace Model
27{
28
36 class Build
37 {
38 public:
39 AWS_GAMELIFT_API Build();
40 AWS_GAMELIFT_API Build(Aws::Utils::Json::JsonView jsonValue);
41 AWS_GAMELIFT_API Build& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetBuildId() const{ return m_buildId; }
50 inline bool BuildIdHasBeenSet() const { return m_buildIdHasBeenSet; }
51 inline void SetBuildId(const Aws::String& value) { m_buildIdHasBeenSet = true; m_buildId = value; }
52 inline void SetBuildId(Aws::String&& value) { m_buildIdHasBeenSet = true; m_buildId = std::move(value); }
53 inline void SetBuildId(const char* value) { m_buildIdHasBeenSet = true; m_buildId.assign(value); }
54 inline Build& WithBuildId(const Aws::String& value) { SetBuildId(value); return *this;}
55 inline Build& WithBuildId(Aws::String&& value) { SetBuildId(std::move(value)); return *this;}
56 inline Build& WithBuildId(const char* value) { SetBuildId(value); return *this;}
58
60
68 inline const Aws::String& GetBuildArn() const{ return m_buildArn; }
69 inline bool BuildArnHasBeenSet() const { return m_buildArnHasBeenSet; }
70 inline void SetBuildArn(const Aws::String& value) { m_buildArnHasBeenSet = true; m_buildArn = value; }
71 inline void SetBuildArn(Aws::String&& value) { m_buildArnHasBeenSet = true; m_buildArn = std::move(value); }
72 inline void SetBuildArn(const char* value) { m_buildArnHasBeenSet = true; m_buildArn.assign(value); }
73 inline Build& WithBuildArn(const Aws::String& value) { SetBuildArn(value); return *this;}
74 inline Build& WithBuildArn(Aws::String&& value) { SetBuildArn(std::move(value)); return *this;}
75 inline Build& WithBuildArn(const char* value) { SetBuildArn(value); return *this;}
77
79
86 inline const Aws::String& GetName() const{ return m_name; }
87 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
88 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
89 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
90 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
91 inline Build& WithName(const Aws::String& value) { SetName(value); return *this;}
92 inline Build& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
93 inline Build& WithName(const char* value) { SetName(value); return *this;}
95
97
101 inline const Aws::String& GetVersion() const{ return m_version; }
102 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
103 inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
104 inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
105 inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
106 inline Build& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
107 inline Build& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
108 inline Build& WithVersion(const char* value) { SetVersion(value); return *this;}
110
112
122 inline const BuildStatus& GetStatus() const{ return m_status; }
123 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
124 inline void SetStatus(const BuildStatus& value) { m_statusHasBeenSet = true; m_status = value; }
125 inline void SetStatus(BuildStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
126 inline Build& WithStatus(const BuildStatus& value) { SetStatus(value); return *this;}
127 inline Build& WithStatus(BuildStatus&& value) { SetStatus(std::move(value)); return *this;}
129
131
136 inline long long GetSizeOnDisk() const{ return m_sizeOnDisk; }
137 inline bool SizeOnDiskHasBeenSet() const { return m_sizeOnDiskHasBeenSet; }
138 inline void SetSizeOnDisk(long long value) { m_sizeOnDiskHasBeenSet = true; m_sizeOnDisk = value; }
139 inline Build& WithSizeOnDisk(long long value) { SetSizeOnDisk(value); return *this;}
141
143
155 inline const OperatingSystem& GetOperatingSystem() const{ return m_operatingSystem; }
156 inline bool OperatingSystemHasBeenSet() const { return m_operatingSystemHasBeenSet; }
157 inline void SetOperatingSystem(const OperatingSystem& value) { m_operatingSystemHasBeenSet = true; m_operatingSystem = value; }
158 inline void SetOperatingSystem(OperatingSystem&& value) { m_operatingSystemHasBeenSet = true; m_operatingSystem = std::move(value); }
159 inline Build& WithOperatingSystem(const OperatingSystem& value) { SetOperatingSystem(value); return *this;}
160 inline Build& WithOperatingSystem(OperatingSystem&& value) { SetOperatingSystem(std::move(value)); return *this;}
162
164
169 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
170 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
171 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
172 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
173 inline Build& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
174 inline Build& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
176
178
181 inline const Aws::String& GetServerSdkVersion() const{ return m_serverSdkVersion; }
182 inline bool ServerSdkVersionHasBeenSet() const { return m_serverSdkVersionHasBeenSet; }
183 inline void SetServerSdkVersion(const Aws::String& value) { m_serverSdkVersionHasBeenSet = true; m_serverSdkVersion = value; }
184 inline void SetServerSdkVersion(Aws::String&& value) { m_serverSdkVersionHasBeenSet = true; m_serverSdkVersion = std::move(value); }
185 inline void SetServerSdkVersion(const char* value) { m_serverSdkVersionHasBeenSet = true; m_serverSdkVersion.assign(value); }
186 inline Build& WithServerSdkVersion(const Aws::String& value) { SetServerSdkVersion(value); return *this;}
187 inline Build& WithServerSdkVersion(Aws::String&& value) { SetServerSdkVersion(std::move(value)); return *this;}
188 inline Build& WithServerSdkVersion(const char* value) { SetServerSdkVersion(value); return *this;}
190 private:
191
192 Aws::String m_buildId;
193 bool m_buildIdHasBeenSet = false;
194
195 Aws::String m_buildArn;
196 bool m_buildArnHasBeenSet = false;
197
198 Aws::String m_name;
199 bool m_nameHasBeenSet = false;
200
201 Aws::String m_version;
202 bool m_versionHasBeenSet = false;
203
204 BuildStatus m_status;
205 bool m_statusHasBeenSet = false;
206
207 long long m_sizeOnDisk;
208 bool m_sizeOnDiskHasBeenSet = false;
209
210 OperatingSystem m_operatingSystem;
211 bool m_operatingSystemHasBeenSet = false;
212
213 Aws::Utils::DateTime m_creationTime;
214 bool m_creationTimeHasBeenSet = false;
215
216 Aws::String m_serverSdkVersion;
217 bool m_serverSdkVersionHasBeenSet = false;
218 };
219
220} // namespace Model
221} // namespace GameLift
222} // namespace Aws
const Aws::String & GetServerSdkVersion() const
Definition Build.h:181
bool ServerSdkVersionHasBeenSet() const
Definition Build.h:182
Build & WithServerSdkVersion(const char *value)
Definition Build.h:188
Build & WithCreationTime(Aws::Utils::DateTime &&value)
Definition Build.h:174
void SetServerSdkVersion(const Aws::String &value)
Definition Build.h:183
const Aws::String & GetBuildId() const
Definition Build.h:49
const Aws::String & GetVersion() const
Definition Build.h:101
Build & WithServerSdkVersion(Aws::String &&value)
Definition Build.h:187
bool CreationTimeHasBeenSet() const
Definition Build.h:170
void SetVersion(const Aws::String &value)
Definition Build.h:103
bool StatusHasBeenSet() const
Definition Build.h:123
Build & WithVersion(const Aws::String &value)
Definition Build.h:106
void SetServerSdkVersion(Aws::String &&value)
Definition Build.h:184
Build & WithCreationTime(const Aws::Utils::DateTime &value)
Definition Build.h:173
long long GetSizeOnDisk() const
Definition Build.h:136
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition Build.h:172
void SetBuildArn(Aws::String &&value)
Definition Build.h:71
void SetBuildId(Aws::String &&value)
Definition Build.h:52
Build & WithBuildArn(const char *value)
Definition Build.h:75
void SetVersion(const char *value)
Definition Build.h:105
bool NameHasBeenSet() const
Definition Build.h:87
AWS_GAMELIFT_API Build(Aws::Utils::Json::JsonView jsonValue)
Build & WithStatus(const BuildStatus &value)
Definition Build.h:126
void SetName(Aws::String &&value)
Definition Build.h:89
bool BuildIdHasBeenSet() const
Definition Build.h:50
Build & WithName(const Aws::String &value)
Definition Build.h:91
void SetBuildId(const Aws::String &value)
Definition Build.h:51
bool BuildArnHasBeenSet() const
Definition Build.h:69
void SetOperatingSystem(OperatingSystem &&value)
Definition Build.h:158
bool VersionHasBeenSet() const
Definition Build.h:102
void SetServerSdkVersion(const char *value)
Definition Build.h:185
const Aws::String & GetBuildArn() const
Definition Build.h:68
Build & WithBuildArn(const Aws::String &value)
Definition Build.h:73
Build & WithName(const char *value)
Definition Build.h:93
void SetStatus(BuildStatus &&value)
Definition Build.h:125
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
Build & WithBuildId(const char *value)
Definition Build.h:56
Build & WithSizeOnDisk(long long value)
Definition Build.h:139
Build & WithName(Aws::String &&value)
Definition Build.h:92
Build & WithOperatingSystem(OperatingSystem &&value)
Definition Build.h:160
void SetName(const char *value)
Definition Build.h:90
void SetBuildArn(const Aws::String &value)
Definition Build.h:70
Build & WithStatus(BuildStatus &&value)
Definition Build.h:127
const OperatingSystem & GetOperatingSystem() const
Definition Build.h:155
void SetStatus(const BuildStatus &value)
Definition Build.h:124
Build & WithVersion(Aws::String &&value)
Definition Build.h:107
Build & WithBuildArn(Aws::String &&value)
Definition Build.h:74
void SetSizeOnDisk(long long value)
Definition Build.h:138
Build & WithVersion(const char *value)
Definition Build.h:108
bool OperatingSystemHasBeenSet() const
Definition Build.h:156
void SetName(const Aws::String &value)
Definition Build.h:88
Build & WithBuildId(Aws::String &&value)
Definition Build.h:55
Build & WithBuildId(const Aws::String &value)
Definition Build.h:54
const Aws::Utils::DateTime & GetCreationTime() const
Definition Build.h:169
AWS_GAMELIFT_API Build()
AWS_GAMELIFT_API Build & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetBuildArn(const char *value)
Definition Build.h:72
void SetVersion(Aws::String &&value)
Definition Build.h:104
void SetBuildId(const char *value)
Definition Build.h:53
void SetOperatingSystem(const OperatingSystem &value)
Definition Build.h:157
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition Build.h:171
const Aws::String & GetName() const
Definition Build.h:86
bool SizeOnDiskHasBeenSet() const
Definition Build.h:137
Build & WithOperatingSystem(const OperatingSystem &value)
Definition Build.h:159
Build & WithServerSdkVersion(const Aws::String &value)
Definition Build.h:186
const BuildStatus & GetStatus() const
Definition Build.h:122
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue