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

Amazon Web Services 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; } /** *

Amazon Web Services 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; } /** *

Amazon Web Services 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); } /** *

Amazon Web Services 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;} /** *

Amazon Web Services 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;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline RequestUploadCredentialsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline RequestUploadCredentialsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline RequestUploadCredentialsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: AwsCredentials m_uploadCredentials; S3Location m_storageLocation; Aws::String m_requestId; }; } // namespace Model } // namespace GameLift } // namespace Aws