/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The location in Amazon S3 where build or script files are stored for access
* by Amazon GameLift.See Also:
AWS
* API Reference
An Amazon S3 bucket identifier. Thename of the S3 bucket.
*Amazon GameLift doesn't support uploading from Amazon S3 buckets with names * that contain a dot (.).
*/ inline const Aws::String& GetBucket() const{ return m_bucket; } /** *An Amazon S3 bucket identifier. Thename of the S3 bucket.
*Amazon GameLift doesn't support uploading from Amazon S3 buckets with names * that contain a dot (.).
*/ inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } /** *An Amazon S3 bucket identifier. Thename of the S3 bucket.
*Amazon GameLift doesn't support uploading from Amazon S3 buckets with names * that contain a dot (.).
*/ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } /** *An Amazon S3 bucket identifier. Thename of the S3 bucket.
*Amazon GameLift doesn't support uploading from Amazon S3 buckets with names * that contain a dot (.).
*/ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } /** *An Amazon S3 bucket identifier. Thename of the S3 bucket.
*Amazon GameLift doesn't support uploading from Amazon S3 buckets with names * that contain a dot (.).
*/ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } /** *An Amazon S3 bucket identifier. Thename of the S3 bucket.
*Amazon GameLift doesn't support uploading from Amazon S3 buckets with names * that contain a dot (.).
*/ inline S3Location& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} /** *An Amazon S3 bucket identifier. Thename of the S3 bucket.
*Amazon GameLift doesn't support uploading from Amazon S3 buckets with names * that contain a dot (.).
*/ inline S3Location& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} /** *An Amazon S3 bucket identifier. Thename of the S3 bucket.
*Amazon GameLift doesn't support uploading from Amazon S3 buckets with names * that contain a dot (.).
*/ inline S3Location& WithBucket(const char* value) { SetBucket(value); return *this;} /** *The name of the zip file that contains the build files or script files.
*/ inline const Aws::String& GetKey() const{ return m_key; } /** *The name of the zip file that contains the build files or script files.
*/ inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } /** *The name of the zip file that contains the build files or script files.
*/ inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } /** *The name of the zip file that contains the build files or script files.
*/ inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } /** *The name of the zip file that contains the build files or script files.
*/ inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } /** *The name of the zip file that contains the build files or script files.
*/ inline S3Location& WithKey(const Aws::String& value) { SetKey(value); return *this;} /** *The name of the zip file that contains the build files or script files.
*/ inline S3Location& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} /** *The name of the zip file that contains the build files or script files.
*/ inline S3Location& WithKey(const char* value) { SetKey(value); return *this;} /** *The Amazon Resource Name (ARN) * for an IAM role that allows Amazon GameLift to access the S3 bucket.
*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *The Amazon Resource Name (ARN) * for an IAM role that allows Amazon GameLift to access the S3 bucket.
*/ inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } /** *The Amazon Resource Name (ARN) * for an IAM role that allows Amazon GameLift to access the S3 bucket.
*/ inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } /** *The Amazon Resource Name (ARN) * for an IAM role that allows Amazon GameLift to access the S3 bucket.
*/ inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } /** *The Amazon Resource Name (ARN) * for an IAM role that allows Amazon GameLift to access the S3 bucket.
*/ inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } /** *The Amazon Resource Name (ARN) * for an IAM role that allows Amazon GameLift to access the S3 bucket.
*/ inline S3Location& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *The Amazon Resource Name (ARN) * for an IAM role that allows Amazon GameLift to access the S3 bucket.
*/ inline S3Location& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) * for an IAM role that allows Amazon GameLift to access the S3 bucket.
*/ inline S3Location& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} /** *The version of the file, if object versioning is turned on for the bucket. * Amazon GameLift uses this information when retrieving files from an S3 bucket * that you own. Use this parameter to specify a specific version of the file. If * not set, the latest version of the file is retrieved.
*/ inline const Aws::String& GetObjectVersion() const{ return m_objectVersion; } /** *The version of the file, if object versioning is turned on for the bucket. * Amazon GameLift uses this information when retrieving files from an S3 bucket * that you own. Use this parameter to specify a specific version of the file. If * not set, the latest version of the file is retrieved.
*/ inline bool ObjectVersionHasBeenSet() const { return m_objectVersionHasBeenSet; } /** *The version of the file, if object versioning is turned on for the bucket. * Amazon GameLift uses this information when retrieving files from an S3 bucket * that you own. Use this parameter to specify a specific version of the file. If * not set, the latest version of the file is retrieved.
*/ inline void SetObjectVersion(const Aws::String& value) { m_objectVersionHasBeenSet = true; m_objectVersion = value; } /** *The version of the file, if object versioning is turned on for the bucket. * Amazon GameLift uses this information when retrieving files from an S3 bucket * that you own. Use this parameter to specify a specific version of the file. If * not set, the latest version of the file is retrieved.
*/ inline void SetObjectVersion(Aws::String&& value) { m_objectVersionHasBeenSet = true; m_objectVersion = std::move(value); } /** *The version of the file, if object versioning is turned on for the bucket. * Amazon GameLift uses this information when retrieving files from an S3 bucket * that you own. Use this parameter to specify a specific version of the file. If * not set, the latest version of the file is retrieved.
*/ inline void SetObjectVersion(const char* value) { m_objectVersionHasBeenSet = true; m_objectVersion.assign(value); } /** *The version of the file, if object versioning is turned on for the bucket. * Amazon GameLift uses this information when retrieving files from an S3 bucket * that you own. Use this parameter to specify a specific version of the file. If * not set, the latest version of the file is retrieved.
*/ inline S3Location& WithObjectVersion(const Aws::String& value) { SetObjectVersion(value); return *this;} /** *The version of the file, if object versioning is turned on for the bucket. * Amazon GameLift uses this information when retrieving files from an S3 bucket * that you own. Use this parameter to specify a specific version of the file. If * not set, the latest version of the file is retrieved.
*/ inline S3Location& WithObjectVersion(Aws::String&& value) { SetObjectVersion(std::move(value)); return *this;} /** *The version of the file, if object versioning is turned on for the bucket. * Amazon GameLift uses this information when retrieving files from an S3 bucket * that you own. Use this parameter to specify a specific version of the file. If * not set, the latest version of the file is retrieved.
*/ inline S3Location& WithObjectVersion(const char* value) { SetObjectVersion(value); return *this;} private: Aws::String m_bucket; bool m_bucketHasBeenSet = false; Aws::String m_key; bool m_keyHasBeenSet = false; Aws::String m_roleArn; bool m_roleArnHasBeenSet = false; Aws::String m_objectVersion; bool m_objectVersionHasBeenSet = false; }; } // namespace Model } // namespace GameLift } // namespace Aws