/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace GameLift { namespace Model { class AWS_GAMELIFT_API CreateScriptResult { public: CreateScriptResult(); CreateScriptResult(const Aws::AmazonWebServiceResult& result); CreateScriptResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The newly created script record with a unique script ID and ARN. The new * script's storage location reflects an Amazon S3 location: (1) If the script was * uploaded from an S3 bucket under your account, the storage location reflects the * information that was provided in the CreateScript request; (2) If the * script file was uploaded from a local zip file, the storage location reflects an * S3 location controls by the Amazon GameLift service.

*/ inline const Script& GetScript() const{ return m_script; } /** *

The newly created script record with a unique script ID and ARN. The new * script's storage location reflects an Amazon S3 location: (1) If the script was * uploaded from an S3 bucket under your account, the storage location reflects the * information that was provided in the CreateScript request; (2) If the * script file was uploaded from a local zip file, the storage location reflects an * S3 location controls by the Amazon GameLift service.

*/ inline void SetScript(const Script& value) { m_script = value; } /** *

The newly created script record with a unique script ID and ARN. The new * script's storage location reflects an Amazon S3 location: (1) If the script was * uploaded from an S3 bucket under your account, the storage location reflects the * information that was provided in the CreateScript request; (2) If the * script file was uploaded from a local zip file, the storage location reflects an * S3 location controls by the Amazon GameLift service.

*/ inline void SetScript(Script&& value) { m_script = std::move(value); } /** *

The newly created script record with a unique script ID and ARN. The new * script's storage location reflects an Amazon S3 location: (1) If the script was * uploaded from an S3 bucket under your account, the storage location reflects the * information that was provided in the CreateScript request; (2) If the * script file was uploaded from a local zip file, the storage location reflects an * S3 location controls by the Amazon GameLift service.

*/ inline CreateScriptResult& WithScript(const Script& value) { SetScript(value); return *this;} /** *

The newly created script record with a unique script ID and ARN. The new * script's storage location reflects an Amazon S3 location: (1) If the script was * uploaded from an S3 bucket under your account, the storage location reflects the * information that was provided in the CreateScript request; (2) If the * script file was uploaded from a local zip file, the storage location reflects an * S3 location controls by the Amazon GameLift service.

*/ inline CreateScriptResult& WithScript(Script&& value) { SetScript(std::move(value)); return *this;} private: Script m_script; }; } // namespace Model } // namespace GameLift } // namespace Aws