/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #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 ComponentConfiguration { public: AWS_IMAGEBUILDER_API ComponentConfiguration(); AWS_IMAGEBUILDER_API ComponentConfiguration(Aws::Utils::Json::JsonView jsonValue); AWS_IMAGEBUILDER_API ComponentConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_IMAGEBUILDER_API 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;} /** *

A group of parameter settings that Image Builder uses to configure the * component for a specific recipe.

*/ inline const Aws::Vector& GetParameters() const{ return m_parameters; } /** *

A group of parameter settings that Image Builder uses to configure the * component for a specific recipe.

*/ inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; } /** *

A group of parameter settings that Image Builder uses to configure the * component for a specific recipe.

*/ inline void SetParameters(const Aws::Vector& value) { m_parametersHasBeenSet = true; m_parameters = value; } /** *

A group of parameter settings that Image Builder uses to configure the * component for a specific recipe.

*/ inline void SetParameters(Aws::Vector&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); } /** *

A group of parameter settings that Image Builder uses to configure the * component for a specific recipe.

*/ inline ComponentConfiguration& WithParameters(const Aws::Vector& value) { SetParameters(value); return *this;} /** *

A group of parameter settings that Image Builder uses to configure the * component for a specific recipe.

*/ inline ComponentConfiguration& WithParameters(Aws::Vector&& value) { SetParameters(std::move(value)); return *this;} /** *

A group of parameter settings that Image Builder uses to configure the * component for a specific recipe.

*/ inline ComponentConfiguration& AddParameters(const ComponentParameter& value) { m_parametersHasBeenSet = true; m_parameters.push_back(value); return *this; } /** *

A group of parameter settings that Image Builder uses to configure the * component for a specific recipe.

*/ inline ComponentConfiguration& AddParameters(ComponentParameter&& value) { m_parametersHasBeenSet = true; m_parameters.push_back(std::move(value)); return *this; } private: Aws::String m_componentArn; bool m_componentArnHasBeenSet = false; Aws::Vector m_parameters; bool m_parametersHasBeenSet = false; }; } // namespace Model } // namespace imagebuilder } // namespace Aws