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

DescribeLocationS3Response

See Also:

AWS * API Reference

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

The Amazon Resource Name (ARN) of the Amazon S3 bucket location.

*/ inline const Aws::String& GetLocationArn() const{ return m_locationArn; } /** *

The Amazon Resource Name (ARN) of the Amazon S3 bucket location.

*/ inline void SetLocationArn(const Aws::String& value) { m_locationArn = value; } /** *

The Amazon Resource Name (ARN) of the Amazon S3 bucket location.

*/ inline void SetLocationArn(Aws::String&& value) { m_locationArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the Amazon S3 bucket location.

*/ inline void SetLocationArn(const char* value) { m_locationArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the Amazon S3 bucket location.

*/ inline DescribeLocationS3Result& WithLocationArn(const Aws::String& value) { SetLocationArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the Amazon S3 bucket location.

*/ inline DescribeLocationS3Result& WithLocationArn(Aws::String&& value) { SetLocationArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the Amazon S3 bucket location.

*/ inline DescribeLocationS3Result& WithLocationArn(const char* value) { SetLocationArn(value); return *this;} /** *

The URL of the Amazon S3 location that was described.

*/ inline const Aws::String& GetLocationUri() const{ return m_locationUri; } /** *

The URL of the Amazon S3 location that was described.

*/ inline void SetLocationUri(const Aws::String& value) { m_locationUri = value; } /** *

The URL of the Amazon S3 location that was described.

*/ inline void SetLocationUri(Aws::String&& value) { m_locationUri = std::move(value); } /** *

The URL of the Amazon S3 location that was described.

*/ inline void SetLocationUri(const char* value) { m_locationUri.assign(value); } /** *

The URL of the Amazon S3 location that was described.

*/ inline DescribeLocationS3Result& WithLocationUri(const Aws::String& value) { SetLocationUri(value); return *this;} /** *

The URL of the Amazon S3 location that was described.

*/ inline DescribeLocationS3Result& WithLocationUri(Aws::String&& value) { SetLocationUri(std::move(value)); return *this;} /** *

The URL of the Amazon S3 location that was described.

*/ inline DescribeLocationS3Result& WithLocationUri(const char* value) { SetLocationUri(value); return *this;} /** *

The Amazon S3 storage class that you chose to store your files in when this * location is used as a task destination. For more information about S3 storage * classes, see Amazon S3 * Storage Classes in the Amazon Simple Storage Service Developer Guide. * Some storage classes have behaviors that can affect your S3 storage cost. For * detailed information, see using-storage-classes.

*/ inline const S3StorageClass& GetS3StorageClass() const{ return m_s3StorageClass; } /** *

The Amazon S3 storage class that you chose to store your files in when this * location is used as a task destination. For more information about S3 storage * classes, see Amazon S3 * Storage Classes in the Amazon Simple Storage Service Developer Guide. * Some storage classes have behaviors that can affect your S3 storage cost. For * detailed information, see using-storage-classes.

*/ inline void SetS3StorageClass(const S3StorageClass& value) { m_s3StorageClass = value; } /** *

The Amazon S3 storage class that you chose to store your files in when this * location is used as a task destination. For more information about S3 storage * classes, see Amazon S3 * Storage Classes in the Amazon Simple Storage Service Developer Guide. * Some storage classes have behaviors that can affect your S3 storage cost. For * detailed information, see using-storage-classes.

*/ inline void SetS3StorageClass(S3StorageClass&& value) { m_s3StorageClass = std::move(value); } /** *

The Amazon S3 storage class that you chose to store your files in when this * location is used as a task destination. For more information about S3 storage * classes, see Amazon S3 * Storage Classes in the Amazon Simple Storage Service Developer Guide. * Some storage classes have behaviors that can affect your S3 storage cost. For * detailed information, see using-storage-classes.

*/ inline DescribeLocationS3Result& WithS3StorageClass(const S3StorageClass& value) { SetS3StorageClass(value); return *this;} /** *

The Amazon S3 storage class that you chose to store your files in when this * location is used as a task destination. For more information about S3 storage * classes, see Amazon S3 * Storage Classes in the Amazon Simple Storage Service Developer Guide. * Some storage classes have behaviors that can affect your S3 storage cost. For * detailed information, see using-storage-classes.

*/ inline DescribeLocationS3Result& WithS3StorageClass(S3StorageClass&& value) { SetS3StorageClass(std::move(value)); return *this;} inline const S3Config& GetS3Config() const{ return m_s3Config; } inline void SetS3Config(const S3Config& value) { m_s3Config = value; } inline void SetS3Config(S3Config&& value) { m_s3Config = std::move(value); } inline DescribeLocationS3Result& WithS3Config(const S3Config& value) { SetS3Config(value); return *this;} inline DescribeLocationS3Result& WithS3Config(S3Config&& value) { SetS3Config(std::move(value)); return *this;} /** *

The time that the Amazon S3 bucket location was created.

*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *

The time that the Amazon S3 bucket location was created.

*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; } /** *

The time that the Amazon S3 bucket location was created.

*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); } /** *

The time that the Amazon S3 bucket location was created.

*/ inline DescribeLocationS3Result& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

The time that the Amazon S3 bucket location was created.

*/ inline DescribeLocationS3Result& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} private: Aws::String m_locationArn; Aws::String m_locationUri; S3StorageClass m_s3StorageClass; S3Config m_s3Config; Aws::Utils::DateTime m_creationTime; }; } // namespace Model } // namespace DataSync } // namespace Aws