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

The request ID that uniquely identifies this request.

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

The request ID that uniquely identifies this request.

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

The client token used to make this request idempotent.

*/ inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** *

The client token used to make this request idempotent.

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

The client token used to make this request idempotent.

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

The client token used to make this request idempotent.

*/ inline void SetClientToken(const char* value) { m_clientToken.assign(value); } /** *

The client token used to make this request idempotent.

*/ inline CreateContainerRecipeResult& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** *

The client token used to make this request idempotent.

*/ inline CreateContainerRecipeResult& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** *

The client token used to make this request idempotent.

*/ inline CreateContainerRecipeResult& WithClientToken(const char* value) { SetClientToken(value); return *this;} /** *

Returns the Amazon Resource Name (ARN) of the container recipe that the * request created.

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

Returns the Amazon Resource Name (ARN) of the container recipe that the * request created.

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

Returns the Amazon Resource Name (ARN) of the container recipe that the * request created.

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

Returns the Amazon Resource Name (ARN) of the container recipe that the * request created.

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

Returns the Amazon Resource Name (ARN) of the container recipe that the * request created.

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

Returns the Amazon Resource Name (ARN) of the container recipe that the * request created.

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

Returns the Amazon Resource Name (ARN) of the container recipe that the * request created.

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