/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace imagebuilder { namespace Model { /** *

Configuration details of the component.

See Also:

AWS * API Reference

*/ class AWS_IMAGEBUILDER_API ComponentConfiguration { public: ComponentConfiguration(); ComponentConfiguration(Aws::Utils::Json::JsonView jsonValue); ComponentConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); Aws::Utils::Json::JsonValue Jsonize() const; /** *

The Amazon Resource Name (ARN) of the component.

*/ inline const Aws::String& GetComponentArn() const{ return m_componentArn; } /** *

The Amazon Resource Name (ARN) of the component.

*/ inline bool ComponentArnHasBeenSet() const { return m_componentArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the component.

*/ inline void SetComponentArn(const Aws::String& value) { m_componentArnHasBeenSet = true; m_componentArn = value; } /** *

The Amazon Resource Name (ARN) of the component.

*/ inline void SetComponentArn(Aws::String&& value) { m_componentArnHasBeenSet = true; m_componentArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the component.

*/ inline void SetComponentArn(const char* value) { m_componentArnHasBeenSet = true; m_componentArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the component.

*/ inline ComponentConfiguration& WithComponentArn(const Aws::String& value) { SetComponentArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the component.

*/ inline ComponentConfiguration& WithComponentArn(Aws::String&& value) { SetComponentArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the component.

*/ inline ComponentConfiguration& WithComponentArn(const char* value) { SetComponentArn(value); return *this;} private: Aws::String m_componentArn; bool m_componentArnHasBeenSet; }; } // namespace Model } // namespace imagebuilder } // namespace Aws