/** * 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 OSIS { namespace Model { /** *

Container for information about an OpenSearch Ingestion * blueprint.

See Also:

AWS * API Reference

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

The name of the blueprint.

*/ inline const Aws::String& GetBlueprintName() const{ return m_blueprintName; } /** *

The name of the blueprint.

*/ inline bool BlueprintNameHasBeenSet() const { return m_blueprintNameHasBeenSet; } /** *

The name of the blueprint.

*/ inline void SetBlueprintName(const Aws::String& value) { m_blueprintNameHasBeenSet = true; m_blueprintName = value; } /** *

The name of the blueprint.

*/ inline void SetBlueprintName(Aws::String&& value) { m_blueprintNameHasBeenSet = true; m_blueprintName = std::move(value); } /** *

The name of the blueprint.

*/ inline void SetBlueprintName(const char* value) { m_blueprintNameHasBeenSet = true; m_blueprintName.assign(value); } /** *

The name of the blueprint.

*/ inline PipelineBlueprint& WithBlueprintName(const Aws::String& value) { SetBlueprintName(value); return *this;} /** *

The name of the blueprint.

*/ inline PipelineBlueprint& WithBlueprintName(Aws::String&& value) { SetBlueprintName(std::move(value)); return *this;} /** *

The name of the blueprint.

*/ inline PipelineBlueprint& WithBlueprintName(const char* value) { SetBlueprintName(value); return *this;} /** *

The YAML configuration of the blueprint.

*/ inline const Aws::String& GetPipelineConfigurationBody() const{ return m_pipelineConfigurationBody; } /** *

The YAML configuration of the blueprint.

*/ inline bool PipelineConfigurationBodyHasBeenSet() const { return m_pipelineConfigurationBodyHasBeenSet; } /** *

The YAML configuration of the blueprint.

*/ inline void SetPipelineConfigurationBody(const Aws::String& value) { m_pipelineConfigurationBodyHasBeenSet = true; m_pipelineConfigurationBody = value; } /** *

The YAML configuration of the blueprint.

*/ inline void SetPipelineConfigurationBody(Aws::String&& value) { m_pipelineConfigurationBodyHasBeenSet = true; m_pipelineConfigurationBody = std::move(value); } /** *

The YAML configuration of the blueprint.

*/ inline void SetPipelineConfigurationBody(const char* value) { m_pipelineConfigurationBodyHasBeenSet = true; m_pipelineConfigurationBody.assign(value); } /** *

The YAML configuration of the blueprint.

*/ inline PipelineBlueprint& WithPipelineConfigurationBody(const Aws::String& value) { SetPipelineConfigurationBody(value); return *this;} /** *

The YAML configuration of the blueprint.

*/ inline PipelineBlueprint& WithPipelineConfigurationBody(Aws::String&& value) { SetPipelineConfigurationBody(std::move(value)); return *this;} /** *

The YAML configuration of the blueprint.

*/ inline PipelineBlueprint& WithPipelineConfigurationBody(const char* value) { SetPipelineConfigurationBody(value); return *this;} private: Aws::String m_blueprintName; bool m_blueprintNameHasBeenSet = false; Aws::String m_pipelineConfigurationBody; bool m_pipelineConfigurationBodyHasBeenSet = false; }; } // namespace Model } // namespace OSIS } // namespace Aws