/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace OSIS { namespace Model { /** */ class ValidatePipelineRequest : public OSISRequest { public: AWS_OSIS_API ValidatePipelineRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "ValidatePipeline"; } AWS_OSIS_API Aws::String SerializePayload() const override; /** *

The pipeline configuration in YAML format. The command accepts the pipeline * configuration as a string or within a .yaml file. If you provide the * configuration as a string, each new line must be escaped with * \n.

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

The pipeline configuration in YAML format. The command accepts the pipeline * configuration as a string or within a .yaml file. If you provide the * configuration as a string, each new line must be escaped with * \n.

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

The pipeline configuration in YAML format. The command accepts the pipeline * configuration as a string or within a .yaml file. If you provide the * configuration as a string, each new line must be escaped with * \n.

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

The pipeline configuration in YAML format. The command accepts the pipeline * configuration as a string or within a .yaml file. If you provide the * configuration as a string, each new line must be escaped with * \n.

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

The pipeline configuration in YAML format. The command accepts the pipeline * configuration as a string or within a .yaml file. If you provide the * configuration as a string, each new line must be escaped with * \n.

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

The pipeline configuration in YAML format. The command accepts the pipeline * configuration as a string or within a .yaml file. If you provide the * configuration as a string, each new line must be escaped with * \n.

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

The pipeline configuration in YAML format. The command accepts the pipeline * configuration as a string or within a .yaml file. If you provide the * configuration as a string, each new line must be escaped with * \n.

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

The pipeline configuration in YAML format. The command accepts the pipeline * configuration as a string or within a .yaml file. If you provide the * configuration as a string, each new line must be escaped with * \n.

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