/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include DescribeLocationObjectStorageResponseSee Also:
AWS
* API Reference
The ARN of the object storage system location.
*/ inline const Aws::String& GetLocationArn() const{ return m_locationArn; } /** *The ARN of the object storage system location.
*/ inline void SetLocationArn(const Aws::String& value) { m_locationArn = value; } /** *The ARN of the object storage system location.
*/ inline void SetLocationArn(Aws::String&& value) { m_locationArn = std::move(value); } /** *The ARN of the object storage system location.
*/ inline void SetLocationArn(const char* value) { m_locationArn.assign(value); } /** *The ARN of the object storage system location.
*/ inline DescribeLocationObjectStorageResult& WithLocationArn(const Aws::String& value) { SetLocationArn(value); return *this;} /** *The ARN of the object storage system location.
*/ inline DescribeLocationObjectStorageResult& WithLocationArn(Aws::String&& value) { SetLocationArn(std::move(value)); return *this;} /** *The ARN of the object storage system location.
*/ inline DescribeLocationObjectStorageResult& WithLocationArn(const char* value) { SetLocationArn(value); return *this;} /** *The URL of the object storage system location.
*/ inline const Aws::String& GetLocationUri() const{ return m_locationUri; } /** *The URL of the object storage system location.
*/ inline void SetLocationUri(const Aws::String& value) { m_locationUri = value; } /** *The URL of the object storage system location.
*/ inline void SetLocationUri(Aws::String&& value) { m_locationUri = std::move(value); } /** *The URL of the object storage system location.
*/ inline void SetLocationUri(const char* value) { m_locationUri.assign(value); } /** *The URL of the object storage system location.
*/ inline DescribeLocationObjectStorageResult& WithLocationUri(const Aws::String& value) { SetLocationUri(value); return *this;} /** *The URL of the object storage system location.
*/ inline DescribeLocationObjectStorageResult& WithLocationUri(Aws::String&& value) { SetLocationUri(std::move(value)); return *this;} /** *The URL of the object storage system location.
*/ inline DescribeLocationObjectStorageResult& WithLocationUri(const char* value) { SetLocationUri(value); return *this;} /** *The access key (for example, a user name) required to authenticate with the * object storage system.
*/ inline const Aws::String& GetAccessKey() const{ return m_accessKey; } /** *The access key (for example, a user name) required to authenticate with the * object storage system.
*/ inline void SetAccessKey(const Aws::String& value) { m_accessKey = value; } /** *The access key (for example, a user name) required to authenticate with the * object storage system.
*/ inline void SetAccessKey(Aws::String&& value) { m_accessKey = std::move(value); } /** *The access key (for example, a user name) required to authenticate with the * object storage system.
*/ inline void SetAccessKey(const char* value) { m_accessKey.assign(value); } /** *The access key (for example, a user name) required to authenticate with the * object storage system.
*/ inline DescribeLocationObjectStorageResult& WithAccessKey(const Aws::String& value) { SetAccessKey(value); return *this;} /** *The access key (for example, a user name) required to authenticate with the * object storage system.
*/ inline DescribeLocationObjectStorageResult& WithAccessKey(Aws::String&& value) { SetAccessKey(std::move(value)); return *this;} /** *The access key (for example, a user name) required to authenticate with the * object storage system.
*/ inline DescribeLocationObjectStorageResult& WithAccessKey(const char* value) { SetAccessKey(value); return *this;} /** *The port that your object storage server accepts inbound network traffic on * (for example, port 443).
*/ inline int GetServerPort() const{ return m_serverPort; } /** *The port that your object storage server accepts inbound network traffic on * (for example, port 443).
*/ inline void SetServerPort(int value) { m_serverPort = value; } /** *The port that your object storage server accepts inbound network traffic on * (for example, port 443).
*/ inline DescribeLocationObjectStorageResult& WithServerPort(int value) { SetServerPort(value); return *this;} /** *The protocol that your object storage system uses to communicate.
*/ inline const ObjectStorageServerProtocol& GetServerProtocol() const{ return m_serverProtocol; } /** *The protocol that your object storage system uses to communicate.
*/ inline void SetServerProtocol(const ObjectStorageServerProtocol& value) { m_serverProtocol = value; } /** *The protocol that your object storage system uses to communicate.
*/ inline void SetServerProtocol(ObjectStorageServerProtocol&& value) { m_serverProtocol = std::move(value); } /** *The protocol that your object storage system uses to communicate.
*/ inline DescribeLocationObjectStorageResult& WithServerProtocol(const ObjectStorageServerProtocol& value) { SetServerProtocol(value); return *this;} /** *The protocol that your object storage system uses to communicate.
*/ inline DescribeLocationObjectStorageResult& WithServerProtocol(ObjectStorageServerProtocol&& value) { SetServerProtocol(std::move(value)); return *this;} /** *The ARNs of the DataSync agents that can securely connect with your * location.
*/ inline const Aws::VectorThe ARNs of the DataSync agents that can securely connect with your * location.
*/ inline void SetAgentArns(const Aws::VectorThe ARNs of the DataSync agents that can securely connect with your * location.
*/ inline void SetAgentArns(Aws::VectorThe ARNs of the DataSync agents that can securely connect with your * location.
*/ inline DescribeLocationObjectStorageResult& WithAgentArns(const Aws::VectorThe ARNs of the DataSync agents that can securely connect with your * location.
*/ inline DescribeLocationObjectStorageResult& WithAgentArns(Aws::VectorThe ARNs of the DataSync agents that can securely connect with your * location.
*/ inline DescribeLocationObjectStorageResult& AddAgentArns(const Aws::String& value) { m_agentArns.push_back(value); return *this; } /** *The ARNs of the DataSync agents that can securely connect with your * location.
*/ inline DescribeLocationObjectStorageResult& AddAgentArns(Aws::String&& value) { m_agentArns.push_back(std::move(value)); return *this; } /** *The ARNs of the DataSync agents that can securely connect with your * location.
*/ inline DescribeLocationObjectStorageResult& AddAgentArns(const char* value) { m_agentArns.push_back(value); return *this; } /** *The time that the location was created.
*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *The time that the location was created.
*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; } /** *The time that the location was created.
*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); } /** *The time that the location was created.
*/ inline DescribeLocationObjectStorageResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *The time that the location was created.
*/ inline DescribeLocationObjectStorageResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *The self-signed certificate that DataSync uses to securely authenticate with * your object storage system.
*/ inline const Aws::Utils::ByteBuffer& GetServerCertificate() const{ return m_serverCertificate; } /** *The self-signed certificate that DataSync uses to securely authenticate with * your object storage system.
*/ inline void SetServerCertificate(const Aws::Utils::ByteBuffer& value) { m_serverCertificate = value; } /** *The self-signed certificate that DataSync uses to securely authenticate with * your object storage system.
*/ inline void SetServerCertificate(Aws::Utils::ByteBuffer&& value) { m_serverCertificate = std::move(value); } /** *The self-signed certificate that DataSync uses to securely authenticate with * your object storage system.
*/ inline DescribeLocationObjectStorageResult& WithServerCertificate(const Aws::Utils::ByteBuffer& value) { SetServerCertificate(value); return *this;} /** *The self-signed certificate that DataSync uses to securely authenticate with * your object storage system.
*/ inline DescribeLocationObjectStorageResult& WithServerCertificate(Aws::Utils::ByteBuffer&& value) { SetServerCertificate(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 DescribeLocationObjectStorageResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeLocationObjectStorageResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeLocationObjectStorageResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_locationArn; Aws::String m_locationUri; Aws::String m_accessKey; int m_serverPort; ObjectStorageServerProtocol m_serverProtocol; Aws::Vector