/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace GameLift { namespace Model { /** *

Represents the returned data in response to a request action.

See * Also:

AWS * API Reference

*/ class AWS_GAMELIFT_API RequestUploadCredentialsResult { public: RequestUploadCredentialsResult(); RequestUploadCredentialsResult(const Aws::AmazonWebServiceResult& result); RequestUploadCredentialsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

AWS credentials required when uploading a game build to the storage location. * These credentials have a limited lifespan and are valid only for the build they * were issued for.

*/ inline const AwsCredentials& GetUploadCredentials() const{ return m_uploadCredentials; } /** *

AWS credentials required when uploading a game build to the storage location. * These credentials have a limited lifespan and are valid only for the build they * were issued for.

*/ inline void SetUploadCredentials(const AwsCredentials& value) { m_uploadCredentials = value; } /** *

AWS credentials required when uploading a game build to the storage location. * These credentials have a limited lifespan and are valid only for the build they * were issued for.

*/ inline void SetUploadCredentials(AwsCredentials&& value) { m_uploadCredentials = std::move(value); } /** *

AWS credentials required when uploading a game build to the storage location. * These credentials have a limited lifespan and are valid only for the build they * were issued for.

*/ inline RequestUploadCredentialsResult& WithUploadCredentials(const AwsCredentials& value) { SetUploadCredentials(value); return *this;} /** *

AWS credentials required when uploading a game build to the storage location. * These credentials have a limited lifespan and are valid only for the build they * were issued for.

*/ inline RequestUploadCredentialsResult& WithUploadCredentials(AwsCredentials&& value) { SetUploadCredentials(std::move(value)); return *this;} /** *

Amazon S3 path and key, identifying where the game build files are * stored.

*/ inline const S3Location& GetStorageLocation() const{ return m_storageLocation; } /** *

Amazon S3 path and key, identifying where the game build files are * stored.

*/ inline void SetStorageLocation(const S3Location& value) { m_storageLocation = value; } /** *

Amazon S3 path and key, identifying where the game build files are * stored.

*/ inline void SetStorageLocation(S3Location&& value) { m_storageLocation = std::move(value); } /** *

Amazon S3 path and key, identifying where the game build files are * stored.

*/ inline RequestUploadCredentialsResult& WithStorageLocation(const S3Location& value) { SetStorageLocation(value); return *this;} /** *

Amazon S3 path and key, identifying where the game build files are * stored.

*/ inline RequestUploadCredentialsResult& WithStorageLocation(S3Location&& value) { SetStorageLocation(std::move(value)); return *this;} private: AwsCredentials m_uploadCredentials; S3Location m_storageLocation; }; } // namespace Model } // namespace GameLift } // namespace Aws