AWS SDK for C++  1.9.73
AWS SDK for C++
Script.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 GameLift
24 {
25 namespace Model
26 {
27 
38  {
39  public:
40  Script();
44 
45 
49  inline const Aws::String& GetScriptId() const{ return m_scriptId; }
50 
54  inline bool ScriptIdHasBeenSet() const { return m_scriptIdHasBeenSet; }
55 
59  inline void SetScriptId(const Aws::String& value) { m_scriptIdHasBeenSet = true; m_scriptId = value; }
60 
64  inline void SetScriptId(Aws::String&& value) { m_scriptIdHasBeenSet = true; m_scriptId = std::move(value); }
65 
69  inline void SetScriptId(const char* value) { m_scriptIdHasBeenSet = true; m_scriptId.assign(value); }
70 
74  inline Script& WithScriptId(const Aws::String& value) { SetScriptId(value); return *this;}
75 
79  inline Script& WithScriptId(Aws::String&& value) { SetScriptId(std::move(value)); return *this;}
80 
84  inline Script& WithScriptId(const char* value) { SetScriptId(value); return *this;}
85 
86 
94  inline const Aws::String& GetScriptArn() const{ return m_scriptArn; }
95 
103  inline bool ScriptArnHasBeenSet() const { return m_scriptArnHasBeenSet; }
104 
112  inline void SetScriptArn(const Aws::String& value) { m_scriptArnHasBeenSet = true; m_scriptArn = value; }
113 
121  inline void SetScriptArn(Aws::String&& value) { m_scriptArnHasBeenSet = true; m_scriptArn = std::move(value); }
122 
130  inline void SetScriptArn(const char* value) { m_scriptArnHasBeenSet = true; m_scriptArn.assign(value); }
131 
139  inline Script& WithScriptArn(const Aws::String& value) { SetScriptArn(value); return *this;}
140 
148  inline Script& WithScriptArn(Aws::String&& value) { SetScriptArn(std::move(value)); return *this;}
149 
157  inline Script& WithScriptArn(const char* value) { SetScriptArn(value); return *this;}
158 
159 
164  inline const Aws::String& GetName() const{ return m_name; }
165 
170  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
171 
176  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
177 
182  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
183 
188  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
189 
194  inline Script& WithName(const Aws::String& value) { SetName(value); return *this;}
195 
200  inline Script& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
201 
206  inline Script& WithName(const char* value) { SetName(value); return *this;}
207 
208 
213  inline const Aws::String& GetVersion() const{ return m_version; }
214 
219  inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
220 
225  inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
226 
231  inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
232 
237  inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
238 
243  inline Script& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
244 
249  inline Script& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
250 
255  inline Script& WithVersion(const char* value) { SetVersion(value); return *this;}
256 
257 
262  inline long long GetSizeOnDisk() const{ return m_sizeOnDisk; }
263 
268  inline bool SizeOnDiskHasBeenSet() const { return m_sizeOnDiskHasBeenSet; }
269 
274  inline void SetSizeOnDisk(long long value) { m_sizeOnDiskHasBeenSet = true; m_sizeOnDisk = value; }
275 
280  inline Script& WithSizeOnDisk(long long value) { SetSizeOnDisk(value); return *this;}
281 
282 
288  inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
289 
295  inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
296 
302  inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
303 
309  inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
310 
316  inline Script& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
317 
323  inline Script& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
324 
325 
326 
327  inline const S3Location& GetStorageLocation() const{ return m_storageLocation; }
328 
329 
330  inline bool StorageLocationHasBeenSet() const { return m_storageLocationHasBeenSet; }
331 
332 
333  inline void SetStorageLocation(const S3Location& value) { m_storageLocationHasBeenSet = true; m_storageLocation = value; }
334 
335 
336  inline void SetStorageLocation(S3Location&& value) { m_storageLocationHasBeenSet = true; m_storageLocation = std::move(value); }
337 
338 
339  inline Script& WithStorageLocation(const S3Location& value) { SetStorageLocation(value); return *this;}
340 
341 
342  inline Script& WithStorageLocation(S3Location&& value) { SetStorageLocation(std::move(value)); return *this;}
343 
344  private:
345 
346  Aws::String m_scriptId;
347  bool m_scriptIdHasBeenSet;
348 
349  Aws::String m_scriptArn;
350  bool m_scriptArnHasBeenSet;
351 
352  Aws::String m_name;
353  bool m_nameHasBeenSet;
354 
355  Aws::String m_version;
356  bool m_versionHasBeenSet;
357 
358  long long m_sizeOnDisk;
359  bool m_sizeOnDiskHasBeenSet;
360 
361  Aws::Utils::DateTime m_creationTime;
362  bool m_creationTimeHasBeenSet;
363 
364  S3Location m_storageLocation;
365  bool m_storageLocationHasBeenSet;
366  };
367 
368 } // namespace Model
369 } // namespace GameLift
370 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::GameLift::Model::Script::WithCreationTime
Script & WithCreationTime(const Aws::Utils::DateTime &value)
Definition: Script.h:316
Aws::GameLift::Model::Script::SetName
void SetName(const Aws::String &value)
Definition: Script.h:176
Aws::GameLift::Model::Script::SetScriptArn
void SetScriptArn(const Aws::String &value)
Definition: Script.h:112
Aws::GameLift::Model::Script::WithName
Script & WithName(Aws::String &&value)
Definition: Script.h:200
Aws::GameLift::Model::Script::SetScriptArn
void SetScriptArn(Aws::String &&value)
Definition: Script.h:121
Aws::GameLift::Model::Script::WithScriptArn
Script & WithScriptArn(Aws::String &&value)
Definition: Script.h:148
Aws::GameLift::Model::Script
Definition: Script.h:38
Aws::GameLift::Model::Script::Script
Script()
Aws::GameLift::Model::Script::SizeOnDiskHasBeenSet
bool SizeOnDiskHasBeenSet() const
Definition: Script.h:268
DateTime.h
Aws::GameLift::Model::Script::WithStorageLocation
Script & WithStorageLocation(S3Location &&value)
Definition: Script.h:342
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
S3Location.h
Aws::GameLift::Model::Script::SetStorageLocation
void SetStorageLocation(const S3Location &value)
Definition: Script.h:333
Aws::GameLift::Model::Script::NameHasBeenSet
bool NameHasBeenSet() const
Definition: Script.h:170
Aws::GameLift::Model::Script::SetVersion
void SetVersion(Aws::String &&value)
Definition: Script.h:231
Aws::GameLift::Model::Script::GetSizeOnDisk
long long GetSizeOnDisk() const
Definition: Script.h:262
Aws::GameLift::Model::Script::WithName
Script & WithName(const Aws::String &value)
Definition: Script.h:194
Aws::GameLift::Model::Script::SetStorageLocation
void SetStorageLocation(S3Location &&value)
Definition: Script.h:336
Aws::GameLift::Model::Script::SetCreationTime
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition: Script.h:309
Aws::GameLift::Model::Script::WithVersion
Script & WithVersion(const Aws::String &value)
Definition: Script.h:243
GameLift_EXPORTS.h
Aws::GameLift::Model::Script::SetVersion
void SetVersion(const Aws::String &value)
Definition: Script.h:225
Aws::GameLift::Model::Script::GetCreationTime
const Aws::Utils::DateTime & GetCreationTime() const
Definition: Script.h:288
Aws::GameLift::Model::Script::WithStorageLocation
Script & WithStorageLocation(const S3Location &value)
Definition: Script.h:339
Aws::GameLift::Model::Script::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::GameLift::Model::Script::WithSizeOnDisk
Script & WithSizeOnDisk(long long value)
Definition: Script.h:280
Aws::GameLift::Model::Script::VersionHasBeenSet
bool VersionHasBeenSet() const
Definition: Script.h:219
Aws::GameLift::Model::Script::SetScriptId
void SetScriptId(const Aws::String &value)
Definition: Script.h:59
Aws::GameLift::Model::Script::SetScriptId
void SetScriptId(Aws::String &&value)
Definition: Script.h:64
Aws::GameLift::Model::Script::WithScriptId
Script & WithScriptId(const char *value)
Definition: Script.h:84
Aws::GameLift::Model::Script::GetScriptArn
const Aws::String & GetScriptArn() const
Definition: Script.h:94
Aws::GameLift::Model::Script::WithScriptId
Script & WithScriptId(Aws::String &&value)
Definition: Script.h:79
Aws::GameLift::Model::Script::SetCreationTime
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition: Script.h:302
Aws::GameLift::Model::Script::SetScriptArn
void SetScriptArn(const char *value)
Definition: Script.h:130
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::GameLift::Model::Script::ScriptIdHasBeenSet
bool ScriptIdHasBeenSet() const
Definition: Script.h:54
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::GameLift::Model::Script::SetName
void SetName(const char *value)
Definition: Script.h:188
Aws::GameLift::Model::Script::SetVersion
void SetVersion(const char *value)
Definition: Script.h:237
Aws::GameLift::Model::Script::WithVersion
Script & WithVersion(const char *value)
Definition: Script.h:255
Aws::GameLift::Model::Script::StorageLocationHasBeenSet
bool StorageLocationHasBeenSet() const
Definition: Script.h:330
Aws::GameLift::Model::Script::WithScriptArn
Script & WithScriptArn(const char *value)
Definition: Script.h:157
Aws::GameLift::Model::Script::WithCreationTime
Script & WithCreationTime(Aws::Utils::DateTime &&value)
Definition: Script.h:323
Aws::GameLift::Model::Script::operator=
Script & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::GameLift::Model::Script::GetVersion
const Aws::String & GetVersion() const
Definition: Script.h:213
Aws::GameLift::Model::Script::WithVersion
Script & WithVersion(Aws::String &&value)
Definition: Script.h:249
Aws::GameLift::Model::Script::Script
Script(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::S3Location
Definition: S3Location.h:35
Aws::GameLift::Model::Script::GetStorageLocation
const S3Location & GetStorageLocation() const
Definition: Script.h:327
Aws::GameLift::Model::Script::SetSizeOnDisk
void SetSizeOnDisk(long long value)
Definition: Script.h:274
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GameLift::Model::Script::SetName
void SetName(Aws::String &&value)
Definition: Script.h:182
Aws::GameLift::Model::Script::CreationTimeHasBeenSet
bool CreationTimeHasBeenSet() const
Definition: Script.h:295
Aws::GameLift::Model::Script::WithName
Script & WithName(const char *value)
Definition: Script.h:206
Aws::GameLift::Model::Script::SetScriptId
void SetScriptId(const char *value)
Definition: Script.h:69
Aws::GameLift::Model::Script::WithScriptArn
Script & WithScriptArn(const Aws::String &value)
Definition: Script.h:139
Aws::GameLift::Model::Script::WithScriptId
Script & WithScriptId(const Aws::String &value)
Definition: Script.h:74
Aws::GameLift::Model::Script::GetScriptId
const Aws::String & GetScriptId() const
Definition: Script.h:49
Aws::GameLift::Model::Script::GetName
const Aws::String & GetName() const
Definition: Script.h:164
Aws::GameLift::Model::Script::ScriptArnHasBeenSet
bool ScriptArnHasBeenSet() const
Definition: Script.h:103