7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/gamelift/model/S3Location.h>
51 template<
typename ScriptIdT = Aws::String>
52 void SetScriptId(ScriptIdT&& value) { m_scriptIdHasBeenSet =
true; m_scriptId = std::forward<ScriptIdT>(value); }
53 template<
typename ScriptIdT = Aws::String>
67 template<
typename ScriptArnT = Aws::String>
68 void SetScriptArn(ScriptArnT&& value) { m_scriptArnHasBeenSet =
true; m_scriptArn = std::forward<ScriptArnT>(value); }
69 template<
typename ScriptArnT = Aws::String>
80 template<
typename NameT = Aws::String>
81 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
82 template<
typename NameT = Aws::String>
93 template<
typename VersionT = Aws::String>
94 void SetVersion(VersionT&& value) { m_versionHasBeenSet =
true; m_version = std::forward<VersionT>(value); }
95 template<
typename VersionT = Aws::String>
106 inline void SetSizeOnDisk(
long long value) { m_sizeOnDiskHasBeenSet =
true; m_sizeOnDisk = value; }
118 template<
typename CreationTimeT = Aws::Utils::DateTime>
119 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
120 template<
typename CreationTimeT = Aws::Utils::DateTime>
137 template<
typename StorageLocationT = S3Location>
138 void SetStorageLocation(StorageLocationT&& value) { m_storageLocationHasBeenSet =
true; m_storageLocation = std::forward<StorageLocationT>(value); }
139 template<
typename StorageLocationT = S3Location>
145 bool m_scriptIdHasBeenSet =
false;
148 bool m_scriptArnHasBeenSet =
false;
151 bool m_nameHasBeenSet =
false;
154 bool m_versionHasBeenSet =
false;
156 long long m_sizeOnDisk{0};
157 bool m_sizeOnDiskHasBeenSet =
false;
160 bool m_creationTimeHasBeenSet =
false;
162 S3Location m_storageLocation;
163 bool m_storageLocationHasBeenSet =
false;
const S3Location & GetStorageLocation() const
Script & WithName(NameT &&value)
Script & WithScriptId(ScriptIdT &&value)
Script & WithSizeOnDisk(long long value)
AWS_GAMELIFT_API Script & operator=(Aws::Utils::Json::JsonView jsonValue)
Script & WithCreationTime(CreationTimeT &&value)
const Aws::String & GetScriptId() const
const Aws::String & GetVersion() const
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
bool VersionHasBeenSet() const
bool SizeOnDiskHasBeenSet() const
void SetName(NameT &&value)
bool CreationTimeHasBeenSet() const
bool NameHasBeenSet() const
const Aws::Utils::DateTime & GetCreationTime() const
const Aws::String & GetScriptArn() const
void SetSizeOnDisk(long long value)
void SetCreationTime(CreationTimeT &&value)
bool ScriptArnHasBeenSet() const
void SetScriptId(ScriptIdT &&value)
bool ScriptIdHasBeenSet() const
Script & WithVersion(VersionT &&value)
Script & WithStorageLocation(StorageLocationT &&value)
const Aws::String & GetName() const
AWS_GAMELIFT_API Script()=default
AWS_GAMELIFT_API Script(Aws::Utils::Json::JsonView jsonValue)
void SetVersion(VersionT &&value)
long long GetSizeOnDisk() const
void SetStorageLocation(StorageLocationT &&value)
bool StorageLocationHasBeenSet() const
Script & WithScriptArn(ScriptArnT &&value)
void SetScriptArn(ScriptArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue