/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace S3Control { namespace Model { class CreateAccessPointResult { public: AWS_S3CONTROL_API CreateAccessPointResult(); AWS_S3CONTROL_API CreateAccessPointResult(const Aws::AmazonWebServiceResult& result); AWS_S3CONTROL_API CreateAccessPointResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ARN of the access point.

This is only supported by Amazon * S3 on Outposts.

*/ inline const Aws::String& GetAccessPointArn() const{ return m_accessPointArn; } /** *

The ARN of the access point.

This is only supported by Amazon * S3 on Outposts.

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

The ARN of the access point.

This is only supported by Amazon * S3 on Outposts.

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

The ARN of the access point.

This is only supported by Amazon * S3 on Outposts.

*/ inline void SetAccessPointArn(const char* value) { m_accessPointArn.assign(value); } /** *

The ARN of the access point.

This is only supported by Amazon * S3 on Outposts.

*/ inline CreateAccessPointResult& WithAccessPointArn(const Aws::String& value) { SetAccessPointArn(value); return *this;} /** *

The ARN of the access point.

This is only supported by Amazon * S3 on Outposts.

*/ inline CreateAccessPointResult& WithAccessPointArn(Aws::String&& value) { SetAccessPointArn(std::move(value)); return *this;} /** *

The ARN of the access point.

This is only supported by Amazon * S3 on Outposts.

*/ inline CreateAccessPointResult& WithAccessPointArn(const char* value) { SetAccessPointArn(value); return *this;} /** *

The name or alias of the access point.

*/ inline const Aws::String& GetAlias() const{ return m_alias; } /** *

The name or alias of the access point.

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

The name or alias of the access point.

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

The name or alias of the access point.

*/ inline void SetAlias(const char* value) { m_alias.assign(value); } /** *

The name or alias of the access point.

*/ inline CreateAccessPointResult& WithAlias(const Aws::String& value) { SetAlias(value); return *this;} /** *

The name or alias of the access point.

*/ inline CreateAccessPointResult& WithAlias(Aws::String&& value) { SetAlias(std::move(value)); return *this;} /** *

The name or alias of the access point.

*/ inline CreateAccessPointResult& WithAlias(const char* value) { SetAlias(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 CreateAccessPointResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateAccessPointResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateAccessPointResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_accessPointArn; Aws::String m_alias; Aws::String m_requestId; }; } // namespace Model } // namespace S3Control } // namespace Aws