AWS SDK for C++  1.8.129
AWS SDK for C++
SetStatusRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace DataPipeline
16 {
17 namespace Model
18 {
19 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "SetStatus"; }
35 
36  Aws::String SerializePayload() const override;
37 
39 
40 
44  inline const Aws::String& GetPipelineId() const{ return m_pipelineId; }
45 
49  inline bool PipelineIdHasBeenSet() const { return m_pipelineIdHasBeenSet; }
50 
54  inline void SetPipelineId(const Aws::String& value) { m_pipelineIdHasBeenSet = true; m_pipelineId = value; }
55 
59  inline void SetPipelineId(Aws::String&& value) { m_pipelineIdHasBeenSet = true; m_pipelineId = std::move(value); }
60 
64  inline void SetPipelineId(const char* value) { m_pipelineIdHasBeenSet = true; m_pipelineId.assign(value); }
65 
69  inline SetStatusRequest& WithPipelineId(const Aws::String& value) { SetPipelineId(value); return *this;}
70 
74  inline SetStatusRequest& WithPipelineId(Aws::String&& value) { SetPipelineId(std::move(value)); return *this;}
75 
79  inline SetStatusRequest& WithPipelineId(const char* value) { SetPipelineId(value); return *this;}
80 
81 
86  inline const Aws::Vector<Aws::String>& GetObjectIds() const{ return m_objectIds; }
87 
92  inline bool ObjectIdsHasBeenSet() const { return m_objectIdsHasBeenSet; }
93 
98  inline void SetObjectIds(const Aws::Vector<Aws::String>& value) { m_objectIdsHasBeenSet = true; m_objectIds = value; }
99 
104  inline void SetObjectIds(Aws::Vector<Aws::String>&& value) { m_objectIdsHasBeenSet = true; m_objectIds = std::move(value); }
105 
110  inline SetStatusRequest& WithObjectIds(const Aws::Vector<Aws::String>& value) { SetObjectIds(value); return *this;}
111 
116  inline SetStatusRequest& WithObjectIds(Aws::Vector<Aws::String>&& value) { SetObjectIds(std::move(value)); return *this;}
117 
122  inline SetStatusRequest& AddObjectIds(const Aws::String& value) { m_objectIdsHasBeenSet = true; m_objectIds.push_back(value); return *this; }
123 
128  inline SetStatusRequest& AddObjectIds(Aws::String&& value) { m_objectIdsHasBeenSet = true; m_objectIds.push_back(std::move(value)); return *this; }
129 
134  inline SetStatusRequest& AddObjectIds(const char* value) { m_objectIdsHasBeenSet = true; m_objectIds.push_back(value); return *this; }
135 
136 
143  inline const Aws::String& GetStatus() const{ return m_status; }
144 
151  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
152 
159  inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
160 
167  inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
168 
175  inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
176 
183  inline SetStatusRequest& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
184 
191  inline SetStatusRequest& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
192 
199  inline SetStatusRequest& WithStatus(const char* value) { SetStatus(value); return *this;}
200 
201  private:
202 
203  Aws::String m_pipelineId;
204  bool m_pipelineIdHasBeenSet;
205 
206  Aws::Vector<Aws::String> m_objectIds;
207  bool m_objectIdsHasBeenSet;
208 
209  Aws::String m_status;
210  bool m_statusHasBeenSet;
211  };
212 
213 } // namespace Model
214 } // namespace DataPipeline
215 } // namespace Aws
Aws::DataPipeline::Model::SetStatusRequest::AddObjectIds
SetStatusRequest & AddObjectIds(const Aws::String &value)
Definition: SetStatusRequest.h:122
Aws::DataPipeline::Model::SetStatusRequest::WithObjectIds
SetStatusRequest & WithObjectIds(Aws::Vector< Aws::String > &&value)
Definition: SetStatusRequest.h:116
Aws::DataPipeline::Model::SetStatusRequest::SetPipelineId
void SetPipelineId(Aws::String &&value)
Definition: SetStatusRequest.h:59
Aws::DataPipeline::Model::SetStatusRequest::WithPipelineId
SetStatusRequest & WithPipelineId(Aws::String &&value)
Definition: SetStatusRequest.h:74
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::DataPipeline::Model::SetStatusRequest::SetStatus
void SetStatus(Aws::String &&value)
Definition: SetStatusRequest.h:167
Aws::DataPipeline::Model::SetStatusRequest::WithPipelineId
SetStatusRequest & WithPipelineId(const Aws::String &value)
Definition: SetStatusRequest.h:69
Aws::DataPipeline::Model::SetStatusRequest::WithStatus
SetStatusRequest & WithStatus(const Aws::String &value)
Definition: SetStatusRequest.h:183
Aws::DataPipeline::Model::SetStatusRequest
Definition: SetStatusRequest.h:26
Aws::DataPipeline::Model::SetStatusRequest::SetObjectIds
void SetObjectIds(Aws::Vector< Aws::String > &&value)
Definition: SetStatusRequest.h:104
Aws::DataPipeline::Model::SetStatusRequest::GetPipelineId
const Aws::String & GetPipelineId() const
Definition: SetStatusRequest.h:44
Aws::DataPipeline::Model::SetStatusRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::DataPipeline::Model::SetStatusRequest::GetStatus
const Aws::String & GetStatus() const
Definition: SetStatusRequest.h:143
Aws::DataPipeline::Model::SetStatusRequest::SetPipelineId
void SetPipelineId(const Aws::String &value)
Definition: SetStatusRequest.h:54
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::DataPipeline::Model::SetStatusRequest::SetPipelineId
void SetPipelineId(const char *value)
Definition: SetStatusRequest.h:64
Aws::DataPipeline::Model::SetStatusRequest::WithObjectIds
SetStatusRequest & WithObjectIds(const Aws::Vector< Aws::String > &value)
Definition: SetStatusRequest.h:110
AWSVector.h
Aws::DataPipeline::Model::SetStatusRequest::AddObjectIds
SetStatusRequest & AddObjectIds(const char *value)
Definition: SetStatusRequest.h:134
Aws::DataPipeline::Model::SetStatusRequest::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: SetStatusRequest.h:151
DataPipeline_EXPORTS.h
Aws::DataPipeline::Model::SetStatusRequest::WithStatus
SetStatusRequest & WithStatus(const char *value)
Definition: SetStatusRequest.h:199
Aws::DataPipeline::Model::SetStatusRequest::AddObjectIds
SetStatusRequest & AddObjectIds(Aws::String &&value)
Definition: SetStatusRequest.h:128
Aws::DataPipeline::Model::SetStatusRequest::WithPipelineId
SetStatusRequest & WithPipelineId(const char *value)
Definition: SetStatusRequest.h:79
Aws::DataPipeline::Model::SetStatusRequest::PipelineIdHasBeenSet
bool PipelineIdHasBeenSet() const
Definition: SetStatusRequest.h:49
Aws::DataPipeline::Model::SetStatusRequest::SetObjectIds
void SetObjectIds(const Aws::Vector< Aws::String > &value)
Definition: SetStatusRequest.h:98
DataPipelineRequest.h
AWSString.h
Aws::DataPipeline::Model::SetStatusRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: SetStatusRequest.h:34
Aws::DataPipeline::Model::SetStatusRequest::WithStatus
SetStatusRequest & WithStatus(Aws::String &&value)
Definition: SetStatusRequest.h:191
Aws::DataPipeline::Model::SetStatusRequest::SetStatus
void SetStatus(const Aws::String &value)
Definition: SetStatusRequest.h:159
Aws
Definition: AccessManagementClient.h:15
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::SetStatusRequest::ObjectIdsHasBeenSet
bool ObjectIdsHasBeenSet() const
Definition: SetStatusRequest.h:92
Aws::DataPipeline::DataPipelineRequest
Definition: DataPipelineRequest.h:17
Aws::DataPipeline::Model::SetStatusRequest::SetStatusRequest
SetStatusRequest()
Aws::DataPipeline::Model::SetStatusRequest::SetStatus
void SetStatus(const char *value)
Definition: SetStatusRequest.h:175
Aws::DataPipeline::Model::SetStatusRequest::GetObjectIds
const Aws::Vector< Aws::String > & GetObjectIds() const
Definition: SetStatusRequest.h:86
Aws::DataPipeline::Model::SetStatusRequest::SerializePayload
Aws::String SerializePayload() const override