/** * 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 PutImagePolicyResult { public: AWS_IMAGEBUILDER_API PutImagePolicyResult(); AWS_IMAGEBUILDER_API PutImagePolicyResult(const Aws::AmazonWebServiceResult& result); AWS_IMAGEBUILDER_API PutImagePolicyResult& 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 PutImagePolicyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} /** *

The request ID that uniquely identifies this request.

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

The request ID that uniquely identifies this request.

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

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

*/ inline const Aws::String& GetImageArn() const{ return m_imageArn; } /** *

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

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

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

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

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

*/ inline void SetImageArn(const char* value) { m_imageArn.assign(value); } /** *

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

*/ inline PutImagePolicyResult& WithImageArn(const Aws::String& value) { SetImageArn(value); return *this;} /** *

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

*/ inline PutImagePolicyResult& WithImageArn(Aws::String&& value) { SetImageArn(std::move(value)); return *this;} /** *

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

*/ inline PutImagePolicyResult& WithImageArn(const char* value) { SetImageArn(value); return *this;} private: Aws::String m_requestId; Aws::String m_imageArn; }; } // namespace Model } // namespace imagebuilder } // namespace Aws