/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Properties describing a Realtime script. Related operations
* See Also:
AWS API
* Reference
A unique identifier for a Realtime script
*/ inline const Aws::String& GetScriptId() const{ return m_scriptId; } /** *A unique identifier for a Realtime script
*/ inline bool ScriptIdHasBeenSet() const { return m_scriptIdHasBeenSet; } /** *A unique identifier for a Realtime script
*/ inline void SetScriptId(const Aws::String& value) { m_scriptIdHasBeenSet = true; m_scriptId = value; } /** *A unique identifier for a Realtime script
*/ inline void SetScriptId(Aws::String&& value) { m_scriptIdHasBeenSet = true; m_scriptId = std::move(value); } /** *A unique identifier for a Realtime script
*/ inline void SetScriptId(const char* value) { m_scriptIdHasBeenSet = true; m_scriptId.assign(value); } /** *A unique identifier for a Realtime script
*/ inline Script& WithScriptId(const Aws::String& value) { SetScriptId(value); return *this;} /** *A unique identifier for a Realtime script
*/ inline Script& WithScriptId(Aws::String&& value) { SetScriptId(std::move(value)); return *this;} /** *A unique identifier for a Realtime script
*/ inline Script& WithScriptId(const char* value) { SetScriptId(value); return *this;} /** *Amazon Resource Name (ARN) * that is assigned to a GameLift script resource and uniquely identifies it. ARNs * are unique across all Regions. In a GameLift script ARN, the resource ID matches * the ScriptId value.
*/ inline const Aws::String& GetScriptArn() const{ return m_scriptArn; } /** *Amazon Resource Name (ARN) * that is assigned to a GameLift script resource and uniquely identifies it. ARNs * are unique across all Regions. In a GameLift script ARN, the resource ID matches * the ScriptId value.
*/ inline bool ScriptArnHasBeenSet() const { return m_scriptArnHasBeenSet; } /** *Amazon Resource Name (ARN) * that is assigned to a GameLift script resource and uniquely identifies it. ARNs * are unique across all Regions. In a GameLift script ARN, the resource ID matches * the ScriptId value.
*/ inline void SetScriptArn(const Aws::String& value) { m_scriptArnHasBeenSet = true; m_scriptArn = value; } /** *Amazon Resource Name (ARN) * that is assigned to a GameLift script resource and uniquely identifies it. ARNs * are unique across all Regions. In a GameLift script ARN, the resource ID matches * the ScriptId value.
*/ inline void SetScriptArn(Aws::String&& value) { m_scriptArnHasBeenSet = true; m_scriptArn = std::move(value); } /** *Amazon Resource Name (ARN) * that is assigned to a GameLift script resource and uniquely identifies it. ARNs * are unique across all Regions. In a GameLift script ARN, the resource ID matches * the ScriptId value.
*/ inline void SetScriptArn(const char* value) { m_scriptArnHasBeenSet = true; m_scriptArn.assign(value); } /** *Amazon Resource Name (ARN) * that is assigned to a GameLift script resource and uniquely identifies it. ARNs * are unique across all Regions. In a GameLift script ARN, the resource ID matches * the ScriptId value.
*/ inline Script& WithScriptArn(const Aws::String& value) { SetScriptArn(value); return *this;} /** *Amazon Resource Name (ARN) * that is assigned to a GameLift script resource and uniquely identifies it. ARNs * are unique across all Regions. In a GameLift script ARN, the resource ID matches * the ScriptId value.
*/ inline Script& WithScriptArn(Aws::String&& value) { SetScriptArn(std::move(value)); return *this;} /** *Amazon Resource Name (ARN) * that is assigned to a GameLift script resource and uniquely identifies it. ARNs * are unique across all Regions. In a GameLift script ARN, the resource ID matches * the ScriptId value.
*/ inline Script& WithScriptArn(const char* value) { SetScriptArn(value); return *this;} /** *A descriptive label that is associated with a script. Script names do not * need to be unique.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *A descriptive label that is associated with a script. Script names do not * need to be unique.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *A descriptive label that is associated with a script. Script names do not * need to be unique.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *A descriptive label that is associated with a script. Script names do not * need to be unique.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *A descriptive label that is associated with a script. Script names do not * need to be unique.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *A descriptive label that is associated with a script. Script names do not * need to be unique.
*/ inline Script& WithName(const Aws::String& value) { SetName(value); return *this;} /** *A descriptive label that is associated with a script. Script names do not * need to be unique.
*/ inline Script& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *A descriptive label that is associated with a script. Script names do not * need to be unique.
*/ inline Script& WithName(const char* value) { SetName(value); return *this;} /** *The version that is associated with a build or script. Version strings do not * need to be unique.
*/ inline const Aws::String& GetVersion() const{ return m_version; } /** *The version that is associated with a build or script. Version strings do not * need to be unique.
*/ inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; } /** *The version that is associated with a build or script. Version strings do not * need to be unique.
*/ inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; } /** *The version that is associated with a build or script. Version strings do not * need to be unique.
*/ inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); } /** *The version that is associated with a build or script. Version strings do not * need to be unique.
*/ inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); } /** *The version that is associated with a build or script. Version strings do not * need to be unique.
*/ inline Script& WithVersion(const Aws::String& value) { SetVersion(value); return *this;} /** *The version that is associated with a build or script. Version strings do not * need to be unique.
*/ inline Script& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;} /** *The version that is associated with a build or script. Version strings do not * need to be unique.
*/ inline Script& WithVersion(const char* value) { SetVersion(value); return *this;} /** *The file size of the uploaded Realtime script, expressed in bytes. When files * are uploaded from an S3 location, this value remains at "0".
*/ inline long long GetSizeOnDisk() const{ return m_sizeOnDisk; } /** *The file size of the uploaded Realtime script, expressed in bytes. When files * are uploaded from an S3 location, this value remains at "0".
*/ inline bool SizeOnDiskHasBeenSet() const { return m_sizeOnDiskHasBeenSet; } /** *The file size of the uploaded Realtime script, expressed in bytes. When files * are uploaded from an S3 location, this value remains at "0".
*/ inline void SetSizeOnDisk(long long value) { m_sizeOnDiskHasBeenSet = true; m_sizeOnDisk = value; } /** *The file size of the uploaded Realtime script, expressed in bytes. When files * are uploaded from an S3 location, this value remains at "0".
*/ inline Script& WithSizeOnDisk(long long value) { SetSizeOnDisk(value); return *this;} /** *A time stamp indicating when this data object was created. The format is a * number expressed in Unix time as milliseconds (for example * "1469498468.057").
*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *A time stamp indicating when this data object was created. The format is a * number expressed in Unix time as milliseconds (for example * "1469498468.057").
*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *A time stamp indicating when this data object was created. The format is a * number expressed in Unix time as milliseconds (for example * "1469498468.057").
*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *A time stamp indicating when this data object was created. The format is a * number expressed in Unix time as milliseconds (for example * "1469498468.057").
*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *A time stamp indicating when this data object was created. The format is a * number expressed in Unix time as milliseconds (for example * "1469498468.057").
*/ inline Script& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *A time stamp indicating when this data object was created. The format is a * number expressed in Unix time as milliseconds (for example * "1469498468.057").
*/ inline Script& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} inline const S3Location& GetStorageLocation() const{ return m_storageLocation; } inline bool StorageLocationHasBeenSet() const { return m_storageLocationHasBeenSet; } inline void SetStorageLocation(const S3Location& value) { m_storageLocationHasBeenSet = true; m_storageLocation = value; } inline void SetStorageLocation(S3Location&& value) { m_storageLocationHasBeenSet = true; m_storageLocation = std::move(value); } inline Script& WithStorageLocation(const S3Location& value) { SetStorageLocation(value); return *this;} inline Script& WithStorageLocation(S3Location&& value) { SetStorageLocation(std::move(value)); return *this;} private: Aws::String m_scriptId; bool m_scriptIdHasBeenSet; Aws::String m_scriptArn; bool m_scriptArnHasBeenSet; Aws::String m_name; bool m_nameHasBeenSet; Aws::String m_version; bool m_versionHasBeenSet; long long m_sizeOnDisk; bool m_sizeOnDiskHasBeenSet; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet; S3Location m_storageLocation; bool m_storageLocationHasBeenSet; }; } // namespace Model } // namespace GameLift } // namespace Aws