/** * 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 Json { class JsonValue; } // namespace Json } // namespace Utils namespace Lambda { namespace Model { class AWS_LAMBDA_API AddLayerVersionPermissionResult { public: AddLayerVersionPermissionResult(); AddLayerVersionPermissionResult(const Aws::AmazonWebServiceResult& result); AddLayerVersionPermissionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The permission statement.

*/ inline const Aws::String& GetStatement() const{ return m_statement; } /** *

The permission statement.

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

The permission statement.

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

The permission statement.

*/ inline void SetStatement(const char* value) { m_statement.assign(value); } /** *

The permission statement.

*/ inline AddLayerVersionPermissionResult& WithStatement(const Aws::String& value) { SetStatement(value); return *this;} /** *

The permission statement.

*/ inline AddLayerVersionPermissionResult& WithStatement(Aws::String&& value) { SetStatement(std::move(value)); return *this;} /** *

The permission statement.

*/ inline AddLayerVersionPermissionResult& WithStatement(const char* value) { SetStatement(value); return *this;} /** *

A unique identifier for the current revision of the policy.

*/ inline const Aws::String& GetRevisionId() const{ return m_revisionId; } /** *

A unique identifier for the current revision of the policy.

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

A unique identifier for the current revision of the policy.

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

A unique identifier for the current revision of the policy.

*/ inline void SetRevisionId(const char* value) { m_revisionId.assign(value); } /** *

A unique identifier for the current revision of the policy.

*/ inline AddLayerVersionPermissionResult& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;} /** *

A unique identifier for the current revision of the policy.

*/ inline AddLayerVersionPermissionResult& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;} /** *

A unique identifier for the current revision of the policy.

*/ inline AddLayerVersionPermissionResult& WithRevisionId(const char* value) { SetRevisionId(value); return *this;} private: Aws::String m_statement; Aws::String m_revisionId; }; } // namespace Model } // namespace Lambda } // namespace Aws