/** * 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 LexModelsV2 { namespace Model { class DeleteResourcePolicyStatementResult { public: AWS_LEXMODELSV2_API DeleteResourcePolicyStatementResult(); AWS_LEXMODELSV2_API DeleteResourcePolicyStatementResult(const Aws::AmazonWebServiceResult& result); AWS_LEXMODELSV2_API DeleteResourcePolicyStatementResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The Amazon Resource Name (ARN) of the bot or bot alias that the resource * policy statement was removed from.

*/ inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } /** *

The Amazon Resource Name (ARN) of the bot or bot alias that the resource * policy statement was removed from.

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

The Amazon Resource Name (ARN) of the bot or bot alias that the resource * policy statement was removed from.

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

The Amazon Resource Name (ARN) of the bot or bot alias that the resource * policy statement was removed from.

*/ inline void SetResourceArn(const char* value) { m_resourceArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the bot or bot alias that the resource * policy statement was removed from.

*/ inline DeleteResourcePolicyStatementResult& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the bot or bot alias that the resource * policy statement was removed from.

*/ inline DeleteResourcePolicyStatementResult& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the bot or bot alias that the resource * policy statement was removed from.

*/ inline DeleteResourcePolicyStatementResult& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} /** *

The current revision of the resource policy. Use the revision ID to make sure * that you are updating the most current version of a resource policy when you add * a policy statement to a resource, delete a resource, or update a resource.

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

The current revision of the resource policy. Use the revision ID to make sure * that you are updating the most current version of a resource policy when you add * a policy statement to a resource, delete a resource, or update a resource.

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

The current revision of the resource policy. Use the revision ID to make sure * that you are updating the most current version of a resource policy when you add * a policy statement to a resource, delete a resource, or update a resource.

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

The current revision of the resource policy. Use the revision ID to make sure * that you are updating the most current version of a resource policy when you add * a policy statement to a resource, delete a resource, or update a resource.

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

The current revision of the resource policy. Use the revision ID to make sure * that you are updating the most current version of a resource policy when you add * a policy statement to a resource, delete a resource, or update a resource.

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

The current revision of the resource policy. Use the revision ID to make sure * that you are updating the most current version of a resource policy when you add * a policy statement to a resource, delete a resource, or update a resource.

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

The current revision of the resource policy. Use the revision ID to make sure * that you are updating the most current version of a resource policy when you add * a policy statement to a resource, delete a resource, or update a resource.

*/ inline DeleteResourcePolicyStatementResult& WithRevisionId(const char* value) { SetRevisionId(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 DeleteResourcePolicyStatementResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DeleteResourcePolicyStatementResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DeleteResourcePolicyStatementResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_resourceArn; Aws::String m_revisionId; Aws::String m_requestId; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws