AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
EvaluateExpressionRequest.h
1
6#pragma once
7#include <aws/datapipeline/DataPipeline_EXPORTS.h>
8#include <aws/datapipeline/DataPipelineRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace DataPipeline
15{
16namespace Model
17{
18
25 {
26 public:
27 AWS_DATAPIPELINE_API EvaluateExpressionRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "EvaluateExpression"; }
34
35 AWS_DATAPIPELINE_API Aws::String SerializePayload() const override;
36
37 AWS_DATAPIPELINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38
39
41
44 inline const Aws::String& GetPipelineId() const { return m_pipelineId; }
45 inline bool PipelineIdHasBeenSet() const { return m_pipelineIdHasBeenSet; }
46 template<typename PipelineIdT = Aws::String>
47 void SetPipelineId(PipelineIdT&& value) { m_pipelineIdHasBeenSet = true; m_pipelineId = std::forward<PipelineIdT>(value); }
48 template<typename PipelineIdT = Aws::String>
49 EvaluateExpressionRequest& WithPipelineId(PipelineIdT&& value) { SetPipelineId(std::forward<PipelineIdT>(value)); return *this;}
51
53
56 inline const Aws::String& GetObjectId() const { return m_objectId; }
57 inline bool ObjectIdHasBeenSet() const { return m_objectIdHasBeenSet; }
58 template<typename ObjectIdT = Aws::String>
59 void SetObjectId(ObjectIdT&& value) { m_objectIdHasBeenSet = true; m_objectId = std::forward<ObjectIdT>(value); }
60 template<typename ObjectIdT = Aws::String>
61 EvaluateExpressionRequest& WithObjectId(ObjectIdT&& value) { SetObjectId(std::forward<ObjectIdT>(value)); return *this;}
63
65
68 inline const Aws::String& GetExpression() const { return m_expression; }
69 inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; }
70 template<typename ExpressionT = Aws::String>
71 void SetExpression(ExpressionT&& value) { m_expressionHasBeenSet = true; m_expression = std::forward<ExpressionT>(value); }
72 template<typename ExpressionT = Aws::String>
73 EvaluateExpressionRequest& WithExpression(ExpressionT&& value) { SetExpression(std::forward<ExpressionT>(value)); return *this;}
75 private:
76
77 Aws::String m_pipelineId;
78 bool m_pipelineIdHasBeenSet = false;
79
80 Aws::String m_objectId;
81 bool m_objectIdHasBeenSet = false;
82
83 Aws::String m_expression;
84 bool m_expressionHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace DataPipeline
89} // namespace Aws
EvaluateExpressionRequest & WithPipelineId(PipelineIdT &&value)
EvaluateExpressionRequest & WithExpression(ExpressionT &&value)
AWS_DATAPIPELINE_API EvaluateExpressionRequest()=default
virtual const char * GetServiceRequestName() const override
EvaluateExpressionRequest & WithObjectId(ObjectIdT &&value)
AWS_DATAPIPELINE_API Aws::String SerializePayload() const override
AWS_DATAPIPELINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String