/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the location of application artifacts stored in Amazon
* S3.See Also:
AWS
* API Reference
The name of the Amazon S3 bucket where the application revision is * stored.
*/ inline const Aws::String& GetBucket() const{ return m_bucket; } /** *The name of the Amazon S3 bucket where the application revision is * stored.
*/ inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } /** *The name of the Amazon S3 bucket where the application revision is * stored.
*/ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } /** *The name of the Amazon S3 bucket where the application revision is * stored.
*/ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } /** *The name of the Amazon S3 bucket where the application revision is * stored.
*/ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } /** *The name of the Amazon S3 bucket where the application revision is * stored.
*/ inline S3Location& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} /** *The name of the Amazon S3 bucket where the application revision is * stored.
*/ inline S3Location& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} /** *The name of the Amazon S3 bucket where the application revision is * stored.
*/ inline S3Location& WithBucket(const char* value) { SetBucket(value); return *this;} /** *The name of the Amazon S3 object that represents the bundled artifacts for * the application revision.
*/ inline const Aws::String& GetKey() const{ return m_key; } /** *The name of the Amazon S3 object that represents the bundled artifacts for * the application revision.
*/ inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } /** *The name of the Amazon S3 object that represents the bundled artifacts for * the application revision.
*/ inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } /** *The name of the Amazon S3 object that represents the bundled artifacts for * the application revision.
*/ inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } /** *The name of the Amazon S3 object that represents the bundled artifacts for * the application revision.
*/ inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } /** *The name of the Amazon S3 object that represents the bundled artifacts for * the application revision.
*/ inline S3Location& WithKey(const Aws::String& value) { SetKey(value); return *this;} /** *The name of the Amazon S3 object that represents the bundled artifacts for * the application revision.
*/ inline S3Location& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} /** *The name of the Amazon S3 object that represents the bundled artifacts for * the application revision.
*/ inline S3Location& WithKey(const char* value) { SetKey(value); return *this;} /** *The file type of the application revision. Must be one of the following:
* tar
: A tar archive file.
* tgz
: A compressed tar archive file.
* zip
: A zip archive file.
The file type of the application revision. Must be one of the following:
* tar
: A tar archive file.
* tgz
: A compressed tar archive file.
* zip
: A zip archive file.
The file type of the application revision. Must be one of the following:
* tar
: A tar archive file.
* tgz
: A compressed tar archive file.
* zip
: A zip archive file.
The file type of the application revision. Must be one of the following:
* tar
: A tar archive file.
* tgz
: A compressed tar archive file.
* zip
: A zip archive file.
The file type of the application revision. Must be one of the following:
* tar
: A tar archive file.
* tgz
: A compressed tar archive file.
* zip
: A zip archive file.
The file type of the application revision. Must be one of the following:
* tar
: A tar archive file.
* tgz
: A compressed tar archive file.
* zip
: A zip archive file.
A specific version of the Amazon S3 object that represents the bundled * artifacts for the application revision.
If the version is not specified, * the system uses the most recent version by default.
*/ inline const Aws::String& GetVersion() const{ return m_version; } /** *A specific version of the Amazon S3 object that represents the bundled * artifacts for the application revision.
If the version is not specified, * the system uses the most recent version by default.
*/ inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; } /** *A specific version of the Amazon S3 object that represents the bundled * artifacts for the application revision.
If the version is not specified, * the system uses the most recent version by default.
*/ inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; } /** *A specific version of the Amazon S3 object that represents the bundled * artifacts for the application revision.
If the version is not specified, * the system uses the most recent version by default.
*/ inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); } /** *A specific version of the Amazon S3 object that represents the bundled * artifacts for the application revision.
If the version is not specified, * the system uses the most recent version by default.
*/ inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); } /** *A specific version of the Amazon S3 object that represents the bundled * artifacts for the application revision.
If the version is not specified, * the system uses the most recent version by default.
*/ inline S3Location& WithVersion(const Aws::String& value) { SetVersion(value); return *this;} /** *A specific version of the Amazon S3 object that represents the bundled * artifacts for the application revision.
If the version is not specified, * the system uses the most recent version by default.
*/ inline S3Location& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;} /** *A specific version of the Amazon S3 object that represents the bundled * artifacts for the application revision.
If the version is not specified, * the system uses the most recent version by default.
*/ inline S3Location& WithVersion(const char* value) { SetVersion(value); return *this;} /** *The ETag of the Amazon S3 object that represents the bundled artifacts for * the application revision.
If the ETag is not specified as an input * parameter, ETag validation of the object is skipped.
*/ inline const Aws::String& GetETag() const{ return m_eTag; } /** *The ETag of the Amazon S3 object that represents the bundled artifacts for * the application revision.
If the ETag is not specified as an input * parameter, ETag validation of the object is skipped.
*/ inline bool ETagHasBeenSet() const { return m_eTagHasBeenSet; } /** *The ETag of the Amazon S3 object that represents the bundled artifacts for * the application revision.
If the ETag is not specified as an input * parameter, ETag validation of the object is skipped.
*/ inline void SetETag(const Aws::String& value) { m_eTagHasBeenSet = true; m_eTag = value; } /** *The ETag of the Amazon S3 object that represents the bundled artifacts for * the application revision.
If the ETag is not specified as an input * parameter, ETag validation of the object is skipped.
*/ inline void SetETag(Aws::String&& value) { m_eTagHasBeenSet = true; m_eTag = std::move(value); } /** *The ETag of the Amazon S3 object that represents the bundled artifacts for * the application revision.
If the ETag is not specified as an input * parameter, ETag validation of the object is skipped.
*/ inline void SetETag(const char* value) { m_eTagHasBeenSet = true; m_eTag.assign(value); } /** *The ETag of the Amazon S3 object that represents the bundled artifacts for * the application revision.
If the ETag is not specified as an input * parameter, ETag validation of the object is skipped.
*/ inline S3Location& WithETag(const Aws::String& value) { SetETag(value); return *this;} /** *The ETag of the Amazon S3 object that represents the bundled artifacts for * the application revision.
If the ETag is not specified as an input * parameter, ETag validation of the object is skipped.
*/ inline S3Location& WithETag(Aws::String&& value) { SetETag(std::move(value)); return *this;} /** *The ETag of the Amazon S3 object that represents the bundled artifacts for * the application revision.
If the ETag is not specified as an input * parameter, ETag validation of the object is skipped.
*/ inline S3Location& WithETag(const char* value) { SetETag(value); return *this;} private: Aws::String m_bucket; bool m_bucketHasBeenSet = false; Aws::String m_key; bool m_keyHasBeenSet = false; BundleType m_bundleType; bool m_bundleTypeHasBeenSet = false; Aws::String m_version; bool m_versionHasBeenSet = false; Aws::String m_eTag; bool m_eTagHasBeenSet = false; }; } // namespace Model } // namespace CodeDeploy } // namespace Aws