/** * 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 Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace S3Control { namespace Model { class GetAccessPointForObjectLambdaResult { public: AWS_S3CONTROL_API GetAccessPointForObjectLambdaResult(); AWS_S3CONTROL_API GetAccessPointForObjectLambdaResult(const Aws::AmazonWebServiceResult& result); AWS_S3CONTROL_API GetAccessPointForObjectLambdaResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The name of the Object Lambda Access Point.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the Object Lambda Access Point.

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

The name of the Object Lambda Access Point.

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

The name of the Object Lambda Access Point.

*/ inline void SetName(const char* value) { m_name.assign(value); } /** *

The name of the Object Lambda Access Point.

*/ inline GetAccessPointForObjectLambdaResult& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the Object Lambda Access Point.

*/ inline GetAccessPointForObjectLambdaResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the Object Lambda Access Point.

*/ inline GetAccessPointForObjectLambdaResult& WithName(const char* value) { SetName(value); return *this;} /** *

Configuration to block all public access. This setting is turned on and can * not be edited.

*/ inline const PublicAccessBlockConfiguration& GetPublicAccessBlockConfiguration() const{ return m_publicAccessBlockConfiguration; } /** *

Configuration to block all public access. This setting is turned on and can * not be edited.

*/ inline void SetPublicAccessBlockConfiguration(const PublicAccessBlockConfiguration& value) { m_publicAccessBlockConfiguration = value; } /** *

Configuration to block all public access. This setting is turned on and can * not be edited.

*/ inline void SetPublicAccessBlockConfiguration(PublicAccessBlockConfiguration&& value) { m_publicAccessBlockConfiguration = std::move(value); } /** *

Configuration to block all public access. This setting is turned on and can * not be edited.

*/ inline GetAccessPointForObjectLambdaResult& WithPublicAccessBlockConfiguration(const PublicAccessBlockConfiguration& value) { SetPublicAccessBlockConfiguration(value); return *this;} /** *

Configuration to block all public access. This setting is turned on and can * not be edited.

*/ inline GetAccessPointForObjectLambdaResult& WithPublicAccessBlockConfiguration(PublicAccessBlockConfiguration&& value) { SetPublicAccessBlockConfiguration(std::move(value)); return *this;} /** *

The date and time when the specified Object Lambda Access Point was * created.

*/ inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; } /** *

The date and time when the specified Object Lambda Access Point was * created.

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

The date and time when the specified Object Lambda Access Point was * created.

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

The date and time when the specified Object Lambda Access Point was * created.

*/ inline GetAccessPointForObjectLambdaResult& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;} /** *

The date and time when the specified Object Lambda Access Point was * created.

*/ inline GetAccessPointForObjectLambdaResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;} /** *

The alias of the Object Lambda Access Point.

*/ inline const ObjectLambdaAccessPointAlias& GetAlias() const{ return m_alias; } /** *

The alias of the Object Lambda Access Point.

*/ inline void SetAlias(const ObjectLambdaAccessPointAlias& value) { m_alias = value; } /** *

The alias of the Object Lambda Access Point.

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

The alias of the Object Lambda Access Point.

*/ inline GetAccessPointForObjectLambdaResult& WithAlias(const ObjectLambdaAccessPointAlias& value) { SetAlias(value); return *this;} /** *

The alias of the Object Lambda Access Point.

*/ inline GetAccessPointForObjectLambdaResult& WithAlias(ObjectLambdaAccessPointAlias&& value) { SetAlias(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 GetAccessPointForObjectLambdaResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetAccessPointForObjectLambdaResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetAccessPointForObjectLambdaResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_name; PublicAccessBlockConfiguration m_publicAccessBlockConfiguration; Aws::Utils::DateTime m_creationDate; ObjectLambdaAccessPointAlias m_alias; Aws::String m_requestId; }; } // namespace Model } // namespace S3Control } // namespace Aws