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

Contains the parameters for EvaluateExpression.

See Also:

AWS * API Reference

*/ class EvaluateExpressionRequest : public DataPipelineRequest { public: AWS_DATAPIPELINE_API EvaluateExpressionRequest(); // 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 "EvaluateExpression"; } AWS_DATAPIPELINE_API Aws::String SerializePayload() const override; AWS_DATAPIPELINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The ID of the pipeline.

*/ inline const Aws::String& GetPipelineId() const{ return m_pipelineId; } /** *

The ID of the pipeline.

*/ inline bool PipelineIdHasBeenSet() const { return m_pipelineIdHasBeenSet; } /** *

The ID of the pipeline.

*/ inline void SetPipelineId(const Aws::String& value) { m_pipelineIdHasBeenSet = true; m_pipelineId = value; } /** *

The ID of the pipeline.

*/ inline void SetPipelineId(Aws::String&& value) { m_pipelineIdHasBeenSet = true; m_pipelineId = std::move(value); } /** *

The ID of the pipeline.

*/ inline void SetPipelineId(const char* value) { m_pipelineIdHasBeenSet = true; m_pipelineId.assign(value); } /** *

The ID of the pipeline.

*/ inline EvaluateExpressionRequest& WithPipelineId(const Aws::String& value) { SetPipelineId(value); return *this;} /** *

The ID of the pipeline.

*/ inline EvaluateExpressionRequest& WithPipelineId(Aws::String&& value) { SetPipelineId(std::move(value)); return *this;} /** *

The ID of the pipeline.

*/ inline EvaluateExpressionRequest& WithPipelineId(const char* value) { SetPipelineId(value); return *this;} /** *

The ID of the object.

*/ inline const Aws::String& GetObjectId() const{ return m_objectId; } /** *

The ID of the object.

*/ inline bool ObjectIdHasBeenSet() const { return m_objectIdHasBeenSet; } /** *

The ID of the object.

*/ inline void SetObjectId(const Aws::String& value) { m_objectIdHasBeenSet = true; m_objectId = value; } /** *

The ID of the object.

*/ inline void SetObjectId(Aws::String&& value) { m_objectIdHasBeenSet = true; m_objectId = std::move(value); } /** *

The ID of the object.

*/ inline void SetObjectId(const char* value) { m_objectIdHasBeenSet = true; m_objectId.assign(value); } /** *

The ID of the object.

*/ inline EvaluateExpressionRequest& WithObjectId(const Aws::String& value) { SetObjectId(value); return *this;} /** *

The ID of the object.

*/ inline EvaluateExpressionRequest& WithObjectId(Aws::String&& value) { SetObjectId(std::move(value)); return *this;} /** *

The ID of the object.

*/ inline EvaluateExpressionRequest& WithObjectId(const char* value) { SetObjectId(value); return *this;} /** *

The expression to evaluate.

*/ inline const Aws::String& GetExpression() const{ return m_expression; } /** *

The expression to evaluate.

*/ inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; } /** *

The expression to evaluate.

*/ inline void SetExpression(const Aws::String& value) { m_expressionHasBeenSet = true; m_expression = value; } /** *

The expression to evaluate.

*/ inline void SetExpression(Aws::String&& value) { m_expressionHasBeenSet = true; m_expression = std::move(value); } /** *

The expression to evaluate.

*/ inline void SetExpression(const char* value) { m_expressionHasBeenSet = true; m_expression.assign(value); } /** *

The expression to evaluate.

*/ inline EvaluateExpressionRequest& WithExpression(const Aws::String& value) { SetExpression(value); return *this;} /** *

The expression to evaluate.

*/ inline EvaluateExpressionRequest& WithExpression(Aws::String&& value) { SetExpression(std::move(value)); return *this;} /** *

The expression to evaluate.

*/ inline EvaluateExpressionRequest& WithExpression(const char* value) { SetExpression(value); return *this;} private: Aws::String m_pipelineId; bool m_pipelineIdHasBeenSet = false; Aws::String m_objectId; bool m_objectIdHasBeenSet = false; Aws::String m_expression; bool m_expressionHasBeenSet = false; }; } // namespace Model } // namespace DataPipeline } // namespace Aws