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

The request ID that uniquely identifies this request.

*/ inline const Aws::String& GetRequestId() const{ return m_requestId; } /** *

The request ID that uniquely identifies this request.

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

The request ID that uniquely identifies this request.

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

The request ID that uniquely identifies this request.

*/ inline void SetRequestId(const char* value) { m_requestId.assign(value); } /** *

The request ID that uniquely identifies this request.

*/ inline PutContainerRecipePolicyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} /** *

The request ID that uniquely identifies this request.

*/ inline PutContainerRecipePolicyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} /** *

The request ID that uniquely identifies this request.

*/ inline PutContainerRecipePolicyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} /** *

The Amazon Resource Name (ARN) of the container recipe that this policy was * applied to.

*/ inline const Aws::String& GetContainerRecipeArn() const{ return m_containerRecipeArn; } /** *

The Amazon Resource Name (ARN) of the container recipe that this policy was * applied to.

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

The Amazon Resource Name (ARN) of the container recipe that this policy was * applied to.

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

The Amazon Resource Name (ARN) of the container recipe that this policy was * applied to.

*/ inline void SetContainerRecipeArn(const char* value) { m_containerRecipeArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the container recipe that this policy was * applied to.

*/ inline PutContainerRecipePolicyResult& WithContainerRecipeArn(const Aws::String& value) { SetContainerRecipeArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the container recipe that this policy was * applied to.

*/ inline PutContainerRecipePolicyResult& WithContainerRecipeArn(Aws::String&& value) { SetContainerRecipeArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the container recipe that this policy was * applied to.

*/ inline PutContainerRecipePolicyResult& WithContainerRecipeArn(const char* value) { SetContainerRecipeArn(value); return *this;} private: Aws::String m_requestId; Aws::String m_containerRecipeArn; }; } // namespace Model } // namespace imagebuilder } // namespace Aws