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

The request ID that uniquely identifies this request.

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

The request ID that uniquely identifies this request.

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

The idempotency token used to make this request idempotent.

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

The idempotency token used to make this request idempotent.

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

The idempotency token used to make this request idempotent.

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

The idempotency token used to make this request idempotent.

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

The idempotency token used to make this request idempotent.

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

The idempotency token used to make this request idempotent.

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

The idempotency token used to make this request idempotent.

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

The Amazon Resource Name (ARN) of the imported component.

*/ inline const Aws::String& GetComponentBuildVersionArn() const{ return m_componentBuildVersionArn; } /** *

The Amazon Resource Name (ARN) of the imported component.

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

The Amazon Resource Name (ARN) of the imported component.

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

The Amazon Resource Name (ARN) of the imported component.

*/ inline void SetComponentBuildVersionArn(const char* value) { m_componentBuildVersionArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the imported component.

*/ inline ImportComponentResult& WithComponentBuildVersionArn(const Aws::String& value) { SetComponentBuildVersionArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the imported component.

*/ inline ImportComponentResult& WithComponentBuildVersionArn(Aws::String&& value) { SetComponentBuildVersionArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the imported component.

*/ inline ImportComponentResult& WithComponentBuildVersionArn(const char* value) { SetComponentBuildVersionArn(value); return *this;} private: Aws::String m_requestId; Aws::String m_clientToken; Aws::String m_componentBuildVersionArn; }; } // namespace Model } // namespace imagebuilder } // namespace Aws