/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include DescribeLocationS3ResponseSee Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the Amazon S3 bucket or access point.
*/ inline const Aws::String& GetLocationArn() const{ return m_locationArn; } /** *The Amazon Resource Name (ARN) of the Amazon S3 bucket or access point.
*/ inline void SetLocationArn(const Aws::String& value) { m_locationArn = value; } /** *The Amazon Resource Name (ARN) of the Amazon S3 bucket or access point.
*/ inline void SetLocationArn(Aws::String&& value) { m_locationArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the Amazon S3 bucket or access point.
*/ inline void SetLocationArn(const char* value) { m_locationArn.assign(value); } /** *The Amazon Resource Name (ARN) of the Amazon S3 bucket or access point.
*/ inline DescribeLocationS3Result& WithLocationArn(const Aws::String& value) { SetLocationArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the Amazon S3 bucket or access point.
*/ inline DescribeLocationS3Result& WithLocationArn(Aws::String&& value) { SetLocationArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the Amazon S3 bucket or access point.
*/ 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. Some storage classes have behaviors that can affect your S3 * storage cost. For detailed information, see Considerations * when working with S3 storage classes in DataSync.
*/ 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. Some storage classes have behaviors that can affect your S3 * storage cost. For detailed information, see Considerations * when working with S3 storage classes in DataSync.
*/ 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. Some storage classes have behaviors that can affect your S3 * storage cost. For detailed information, see Considerations * when working with S3 storage classes in DataSync.
*/ 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. Some storage classes have behaviors that can affect your S3 * storage cost. For detailed information, see Considerations * when working with S3 storage classes in DataSync.
*/ 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. Some storage classes have behaviors that can affect your S3 * storage cost. For detailed information, see Considerations * when working with S3 storage classes in DataSync.
*/ 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;} /** *If you are using DataSync on an Amazon Web Services Outpost, the Amazon * Resource Name (ARNs) of the EC2 agents deployed on your Outpost. For more * information about launching a DataSync agent on an Amazon Web Services Outpost, * see Deploy * your DataSync agent on Outposts.
*/ inline const Aws::VectorIf you are using DataSync on an Amazon Web Services Outpost, the Amazon * Resource Name (ARNs) of the EC2 agents deployed on your Outpost. For more * information about launching a DataSync agent on an Amazon Web Services Outpost, * see Deploy * your DataSync agent on Outposts.
*/ inline void SetAgentArns(const Aws::VectorIf you are using DataSync on an Amazon Web Services Outpost, the Amazon * Resource Name (ARNs) of the EC2 agents deployed on your Outpost. For more * information about launching a DataSync agent on an Amazon Web Services Outpost, * see Deploy * your DataSync agent on Outposts.
*/ inline void SetAgentArns(Aws::VectorIf you are using DataSync on an Amazon Web Services Outpost, the Amazon * Resource Name (ARNs) of the EC2 agents deployed on your Outpost. For more * information about launching a DataSync agent on an Amazon Web Services Outpost, * see Deploy * your DataSync agent on Outposts.
*/ inline DescribeLocationS3Result& WithAgentArns(const Aws::VectorIf you are using DataSync on an Amazon Web Services Outpost, the Amazon * Resource Name (ARNs) of the EC2 agents deployed on your Outpost. For more * information about launching a DataSync agent on an Amazon Web Services Outpost, * see Deploy * your DataSync agent on Outposts.
*/ inline DescribeLocationS3Result& WithAgentArns(Aws::VectorIf you are using DataSync on an Amazon Web Services Outpost, the Amazon * Resource Name (ARNs) of the EC2 agents deployed on your Outpost. For more * information about launching a DataSync agent on an Amazon Web Services Outpost, * see Deploy * your DataSync agent on Outposts.
*/ inline DescribeLocationS3Result& AddAgentArns(const Aws::String& value) { m_agentArns.push_back(value); return *this; } /** *If you are using DataSync on an Amazon Web Services Outpost, the Amazon * Resource Name (ARNs) of the EC2 agents deployed on your Outpost. For more * information about launching a DataSync agent on an Amazon Web Services Outpost, * see Deploy * your DataSync agent on Outposts.
*/ inline DescribeLocationS3Result& AddAgentArns(Aws::String&& value) { m_agentArns.push_back(std::move(value)); return *this; } /** *If you are using DataSync on an Amazon Web Services Outpost, the Amazon * Resource Name (ARNs) of the EC2 agents deployed on your Outpost. For more * information about launching a DataSync agent on an Amazon Web Services Outpost, * see Deploy * your DataSync agent on Outposts.
*/ inline DescribeLocationS3Result& AddAgentArns(const char* value) { m_agentArns.push_back(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;} 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 DescribeLocationS3Result& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeLocationS3Result& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeLocationS3Result& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_locationArn; Aws::String m_locationUri; S3StorageClass m_s3StorageClass; S3Config m_s3Config; Aws::Vector