AWS SDK for C++  1.8.129
AWS SDK for C++
EvaluateExpressionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace DataPipeline
15 {
16 namespace Model
17 {
18 
25  {
26  public:
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::String SerializePayload() const override;
36 
38 
39 
43  inline const Aws::String& GetPipelineId() const{ return m_pipelineId; }
44 
48  inline bool PipelineIdHasBeenSet() const { return m_pipelineIdHasBeenSet; }
49 
53  inline void SetPipelineId(const Aws::String& value) { m_pipelineIdHasBeenSet = true; m_pipelineId = value; }
54 
58  inline void SetPipelineId(Aws::String&& value) { m_pipelineIdHasBeenSet = true; m_pipelineId = std::move(value); }
59 
63  inline void SetPipelineId(const char* value) { m_pipelineIdHasBeenSet = true; m_pipelineId.assign(value); }
64 
68  inline EvaluateExpressionRequest& WithPipelineId(const Aws::String& value) { SetPipelineId(value); return *this;}
69 
73  inline EvaluateExpressionRequest& WithPipelineId(Aws::String&& value) { SetPipelineId(std::move(value)); return *this;}
74 
78  inline EvaluateExpressionRequest& WithPipelineId(const char* value) { SetPipelineId(value); return *this;}
79 
80 
84  inline const Aws::String& GetObjectId() const{ return m_objectId; }
85 
89  inline bool ObjectIdHasBeenSet() const { return m_objectIdHasBeenSet; }
90 
94  inline void SetObjectId(const Aws::String& value) { m_objectIdHasBeenSet = true; m_objectId = value; }
95 
99  inline void SetObjectId(Aws::String&& value) { m_objectIdHasBeenSet = true; m_objectId = std::move(value); }
100 
104  inline void SetObjectId(const char* value) { m_objectIdHasBeenSet = true; m_objectId.assign(value); }
105 
109  inline EvaluateExpressionRequest& WithObjectId(const Aws::String& value) { SetObjectId(value); return *this;}
110 
114  inline EvaluateExpressionRequest& WithObjectId(Aws::String&& value) { SetObjectId(std::move(value)); return *this;}
115 
119  inline EvaluateExpressionRequest& WithObjectId(const char* value) { SetObjectId(value); return *this;}
120 
121 
125  inline const Aws::String& GetExpression() const{ return m_expression; }
126 
130  inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; }
131 
135  inline void SetExpression(const Aws::String& value) { m_expressionHasBeenSet = true; m_expression = value; }
136 
140  inline void SetExpression(Aws::String&& value) { m_expressionHasBeenSet = true; m_expression = std::move(value); }
141 
145  inline void SetExpression(const char* value) { m_expressionHasBeenSet = true; m_expression.assign(value); }
146 
150  inline EvaluateExpressionRequest& WithExpression(const Aws::String& value) { SetExpression(value); return *this;}
151 
155  inline EvaluateExpressionRequest& WithExpression(Aws::String&& value) { SetExpression(std::move(value)); return *this;}
156 
160  inline EvaluateExpressionRequest& WithExpression(const char* value) { SetExpression(value); return *this;}
161 
162  private:
163 
164  Aws::String m_pipelineId;
165  bool m_pipelineIdHasBeenSet;
166 
167  Aws::String m_objectId;
168  bool m_objectIdHasBeenSet;
169 
170  Aws::String m_expression;
171  bool m_expressionHasBeenSet;
172  };
173 
174 } // namespace Model
175 } // namespace DataPipeline
176 } // namespace Aws
Aws::DataPipeline::Model::EvaluateExpressionRequest::GetExpression
const Aws::String & GetExpression() const
Definition: EvaluateExpressionRequest.h:125
Aws::DataPipeline::Model::EvaluateExpressionRequest::SetPipelineId
void SetPipelineId(const char *value)
Definition: EvaluateExpressionRequest.h:63
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::DataPipeline::Model::EvaluateExpressionRequest::WithPipelineId
EvaluateExpressionRequest & WithPipelineId(Aws::String &&value)
Definition: EvaluateExpressionRequest.h:73
Aws::DataPipeline::Model::EvaluateExpressionRequest::GetPipelineId
const Aws::String & GetPipelineId() const
Definition: EvaluateExpressionRequest.h:43
Aws::DataPipeline::Model::EvaluateExpressionRequest::WithObjectId
EvaluateExpressionRequest & WithObjectId(const char *value)
Definition: EvaluateExpressionRequest.h:119
Aws::DataPipeline::Model::EvaluateExpressionRequest::WithExpression
EvaluateExpressionRequest & WithExpression(const Aws::String &value)
Definition: EvaluateExpressionRequest.h:150
Aws::DataPipeline::Model::EvaluateExpressionRequest::WithObjectId
EvaluateExpressionRequest & WithObjectId(const Aws::String &value)
Definition: EvaluateExpressionRequest.h:109
Aws::DataPipeline::Model::EvaluateExpressionRequest::SetExpression
void SetExpression(Aws::String &&value)
Definition: EvaluateExpressionRequest.h:140
Aws::DataPipeline::Model::EvaluateExpressionRequest::SerializePayload
Aws::String SerializePayload() const override
DataPipeline_EXPORTS.h
Aws::DataPipeline::Model::EvaluateExpressionRequest::SetObjectId
void SetObjectId(Aws::String &&value)
Definition: EvaluateExpressionRequest.h:99
Aws::DataPipeline::Model::EvaluateExpressionRequest::SetPipelineId
void SetPipelineId(Aws::String &&value)
Definition: EvaluateExpressionRequest.h:58
Aws::DataPipeline::Model::EvaluateExpressionRequest::WithObjectId
EvaluateExpressionRequest & WithObjectId(Aws::String &&value)
Definition: EvaluateExpressionRequest.h:114
Aws::DataPipeline::Model::EvaluateExpressionRequest::WithExpression
EvaluateExpressionRequest & WithExpression(Aws::String &&value)
Definition: EvaluateExpressionRequest.h:155
Aws::DataPipeline::Model::EvaluateExpressionRequest::GetObjectId
const Aws::String & GetObjectId() const
Definition: EvaluateExpressionRequest.h:84
Aws::DataPipeline::Model::EvaluateExpressionRequest::PipelineIdHasBeenSet
bool PipelineIdHasBeenSet() const
Definition: EvaluateExpressionRequest.h:48
DataPipelineRequest.h
AWSString.h
Aws::DataPipeline::Model::EvaluateExpressionRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::DataPipeline::Model::EvaluateExpressionRequest::SetExpression
void SetExpression(const char *value)
Definition: EvaluateExpressionRequest.h:145
Aws::DataPipeline::Model::EvaluateExpressionRequest
Definition: EvaluateExpressionRequest.h:25
Aws::DataPipeline::Model::EvaluateExpressionRequest::SetObjectId
void SetObjectId(const char *value)
Definition: EvaluateExpressionRequest.h:104
Aws
Definition: AccessManagementClient.h:15
Aws::DataPipeline::Model::EvaluateExpressionRequest::WithPipelineId
EvaluateExpressionRequest & WithPipelineId(const char *value)
Definition: EvaluateExpressionRequest.h:78
AWS_DATAPIPELINE_API
#define AWS_DATAPIPELINE_API
Definition: DataPipeline_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DataPipeline::Model::EvaluateExpressionRequest::EvaluateExpressionRequest
EvaluateExpressionRequest()
Aws::DataPipeline::Model::EvaluateExpressionRequest::ExpressionHasBeenSet
bool ExpressionHasBeenSet() const
Definition: EvaluateExpressionRequest.h:130
Aws::DataPipeline::DataPipelineRequest
Definition: DataPipelineRequest.h:17
Aws::DataPipeline::Model::EvaluateExpressionRequest::SetPipelineId
void SetPipelineId(const Aws::String &value)
Definition: EvaluateExpressionRequest.h:53
Aws::DataPipeline::Model::EvaluateExpressionRequest::SetExpression
void SetExpression(const Aws::String &value)
Definition: EvaluateExpressionRequest.h:135
Aws::DataPipeline::Model::EvaluateExpressionRequest::SetObjectId
void SetObjectId(const Aws::String &value)
Definition: EvaluateExpressionRequest.h:94
Aws::DataPipeline::Model::EvaluateExpressionRequest::ObjectIdHasBeenSet
bool ObjectIdHasBeenSet() const
Definition: EvaluateExpressionRequest.h:89
Aws::DataPipeline::Model::EvaluateExpressionRequest::WithPipelineId
EvaluateExpressionRequest & WithPipelineId(const Aws::String &value)
Definition: EvaluateExpressionRequest.h:68
Aws::DataPipeline::Model::EvaluateExpressionRequest::WithExpression
EvaluateExpressionRequest & WithExpression(const char *value)
Definition: EvaluateExpressionRequest.h:160
Aws::DataPipeline::Model::EvaluateExpressionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: EvaluateExpressionRequest.h:33