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

The alias of an Object Lambda Access Point. For more information, see How * to use a bucket-style alias for your S3 bucket Object Lambda Access * Point.

See Also:

AWS * API Reference

*/ class ObjectLambdaAccessPointAlias { public: AWS_S3CONTROL_API ObjectLambdaAccessPointAlias(); AWS_S3CONTROL_API ObjectLambdaAccessPointAlias(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_S3CONTROL_API ObjectLambdaAccessPointAlias& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** *

The alias value of the Object Lambda Access Point.

*/ inline const Aws::String& GetValue() const{ return m_value; } /** *

The alias value of the Object Lambda Access Point.

*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *

The alias value of the Object Lambda Access Point.

*/ inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } /** *

The alias value of the Object Lambda Access Point.

*/ inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } /** *

The alias value of the Object Lambda Access Point.

*/ inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } /** *

The alias value of the Object Lambda Access Point.

*/ inline ObjectLambdaAccessPointAlias& WithValue(const Aws::String& value) { SetValue(value); return *this;} /** *

The alias value of the Object Lambda Access Point.

*/ inline ObjectLambdaAccessPointAlias& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} /** *

The alias value of the Object Lambda Access Point.

*/ inline ObjectLambdaAccessPointAlias& WithValue(const char* value) { SetValue(value); return *this;} /** *

The status of the Object Lambda Access Point alias. If the status is * PROVISIONING, the Object Lambda Access Point is provisioning the * alias and the alias is not ready for use yet. If the status is * READY, the Object Lambda Access Point alias is successfully * provisioned and ready for use.

*/ inline const ObjectLambdaAccessPointAliasStatus& GetStatus() const{ return m_status; } /** *

The status of the Object Lambda Access Point alias. If the status is * PROVISIONING, the Object Lambda Access Point is provisioning the * alias and the alias is not ready for use yet. If the status is * READY, the Object Lambda Access Point alias is successfully * provisioned and ready for use.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The status of the Object Lambda Access Point alias. If the status is * PROVISIONING, the Object Lambda Access Point is provisioning the * alias and the alias is not ready for use yet. If the status is * READY, the Object Lambda Access Point alias is successfully * provisioned and ready for use.

*/ inline void SetStatus(const ObjectLambdaAccessPointAliasStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The status of the Object Lambda Access Point alias. If the status is * PROVISIONING, the Object Lambda Access Point is provisioning the * alias and the alias is not ready for use yet. If the status is * READY, the Object Lambda Access Point alias is successfully * provisioned and ready for use.

*/ inline void SetStatus(ObjectLambdaAccessPointAliasStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The status of the Object Lambda Access Point alias. If the status is * PROVISIONING, the Object Lambda Access Point is provisioning the * alias and the alias is not ready for use yet. If the status is * READY, the Object Lambda Access Point alias is successfully * provisioned and ready for use.

*/ inline ObjectLambdaAccessPointAlias& WithStatus(const ObjectLambdaAccessPointAliasStatus& value) { SetStatus(value); return *this;} /** *

The status of the Object Lambda Access Point alias. If the status is * PROVISIONING, the Object Lambda Access Point is provisioning the * alias and the alias is not ready for use yet. If the status is * READY, the Object Lambda Access Point alias is successfully * provisioned and ready for use.

*/ inline ObjectLambdaAccessPointAlias& WithStatus(ObjectLambdaAccessPointAliasStatus&& value) { SetStatus(std::move(value)); return *this;} private: Aws::String m_value; bool m_valueHasBeenSet = false; ObjectLambdaAccessPointAliasStatus m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace S3Control } // namespace Aws