AWS SDK for C++  1.8.129
AWS SDK for C++
ReportTaskRunnerHeartbeatRequest.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 
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 "ReportTaskRunnerHeartbeat"; }
35 
36  Aws::String SerializePayload() const override;
37 
39 
40 
48  inline const Aws::String& GetTaskrunnerId() const{ return m_taskrunnerId; }
49 
57  inline bool TaskrunnerIdHasBeenSet() const { return m_taskrunnerIdHasBeenSet; }
58 
66  inline void SetTaskrunnerId(const Aws::String& value) { m_taskrunnerIdHasBeenSet = true; m_taskrunnerId = value; }
67 
75  inline void SetTaskrunnerId(Aws::String&& value) { m_taskrunnerIdHasBeenSet = true; m_taskrunnerId = std::move(value); }
76 
84  inline void SetTaskrunnerId(const char* value) { m_taskrunnerIdHasBeenSet = true; m_taskrunnerId.assign(value); }
85 
93  inline ReportTaskRunnerHeartbeatRequest& WithTaskrunnerId(const Aws::String& value) { SetTaskrunnerId(value); return *this;}
94 
102  inline ReportTaskRunnerHeartbeatRequest& WithTaskrunnerId(Aws::String&& value) { SetTaskrunnerId(std::move(value)); return *this;}
103 
111  inline ReportTaskRunnerHeartbeatRequest& WithTaskrunnerId(const char* value) { SetTaskrunnerId(value); return *this;}
112 
113 
121  inline const Aws::String& GetWorkerGroup() const{ return m_workerGroup; }
122 
130  inline bool WorkerGroupHasBeenSet() const { return m_workerGroupHasBeenSet; }
131 
139  inline void SetWorkerGroup(const Aws::String& value) { m_workerGroupHasBeenSet = true; m_workerGroup = value; }
140 
148  inline void SetWorkerGroup(Aws::String&& value) { m_workerGroupHasBeenSet = true; m_workerGroup = std::move(value); }
149 
157  inline void SetWorkerGroup(const char* value) { m_workerGroupHasBeenSet = true; m_workerGroup.assign(value); }
158 
166  inline ReportTaskRunnerHeartbeatRequest& WithWorkerGroup(const Aws::String& value) { SetWorkerGroup(value); return *this;}
167 
175  inline ReportTaskRunnerHeartbeatRequest& WithWorkerGroup(Aws::String&& value) { SetWorkerGroup(std::move(value)); return *this;}
176 
184  inline ReportTaskRunnerHeartbeatRequest& WithWorkerGroup(const char* value) { SetWorkerGroup(value); return *this;}
185 
186 
190  inline const Aws::String& GetHostname() const{ return m_hostname; }
191 
195  inline bool HostnameHasBeenSet() const { return m_hostnameHasBeenSet; }
196 
200  inline void SetHostname(const Aws::String& value) { m_hostnameHasBeenSet = true; m_hostname = value; }
201 
205  inline void SetHostname(Aws::String&& value) { m_hostnameHasBeenSet = true; m_hostname = std::move(value); }
206 
210  inline void SetHostname(const char* value) { m_hostnameHasBeenSet = true; m_hostname.assign(value); }
211 
215  inline ReportTaskRunnerHeartbeatRequest& WithHostname(const Aws::String& value) { SetHostname(value); return *this;}
216 
220  inline ReportTaskRunnerHeartbeatRequest& WithHostname(Aws::String&& value) { SetHostname(std::move(value)); return *this;}
221 
225  inline ReportTaskRunnerHeartbeatRequest& WithHostname(const char* value) { SetHostname(value); return *this;}
226 
227  private:
228 
229  Aws::String m_taskrunnerId;
230  bool m_taskrunnerIdHasBeenSet;
231 
232  Aws::String m_workerGroup;
233  bool m_workerGroupHasBeenSet;
234 
235  Aws::String m_hostname;
236  bool m_hostnameHasBeenSet;
237  };
238 
239 } // namespace Model
240 } // namespace DataPipeline
241 } // namespace Aws
Aws::DataPipeline::Model::ReportTaskRunnerHeartbeatRequest::WithHostname
ReportTaskRunnerHeartbeatRequest & WithHostname(Aws::String &&value)
Definition: ReportTaskRunnerHeartbeatRequest.h:220
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::DataPipeline::Model::ReportTaskRunnerHeartbeatRequest::ReportTaskRunnerHeartbeatRequest
ReportTaskRunnerHeartbeatRequest()
Aws::DataPipeline::Model::ReportTaskRunnerHeartbeatRequest::WithWorkerGroup
ReportTaskRunnerHeartbeatRequest & WithWorkerGroup(Aws::String &&value)
Definition: ReportTaskRunnerHeartbeatRequest.h:175
Aws::DataPipeline::Model::ReportTaskRunnerHeartbeatRequest::WithTaskrunnerId
ReportTaskRunnerHeartbeatRequest & WithTaskrunnerId(const char *value)
Definition: ReportTaskRunnerHeartbeatRequest.h:111
Aws::DataPipeline::Model::ReportTaskRunnerHeartbeatRequest::GetTaskrunnerId
const Aws::String & GetTaskrunnerId() const
Definition: ReportTaskRunnerHeartbeatRequest.h:48
Aws::DataPipeline::Model::ReportTaskRunnerHeartbeatRequest::SetTaskrunnerId
void SetTaskrunnerId(const char *value)
Definition: ReportTaskRunnerHeartbeatRequest.h:84
Aws::DataPipeline::Model::ReportTaskRunnerHeartbeatRequest::TaskrunnerIdHasBeenSet
bool TaskrunnerIdHasBeenSet() const
Definition: ReportTaskRunnerHeartbeatRequest.h:57
Aws::DataPipeline::Model::ReportTaskRunnerHeartbeatRequest::SetHostname
void SetHostname(const Aws::String &value)
Definition: ReportTaskRunnerHeartbeatRequest.h:200
Aws::DataPipeline::Model::ReportTaskRunnerHeartbeatRequest::WithTaskrunnerId
ReportTaskRunnerHeartbeatRequest & WithTaskrunnerId(const Aws::String &value)
Definition: ReportTaskRunnerHeartbeatRequest.h:93
Aws::DataPipeline::Model::ReportTaskRunnerHeartbeatRequest::SetWorkerGroup
void SetWorkerGroup(Aws::String &&value)
Definition: ReportTaskRunnerHeartbeatRequest.h:148
Aws::DataPipeline::Model::ReportTaskRunnerHeartbeatRequest::SetWorkerGroup
void SetWorkerGroup(const Aws::String &value)
Definition: ReportTaskRunnerHeartbeatRequest.h:139
Aws::DataPipeline::Model::ReportTaskRunnerHeartbeatRequest::SetTaskrunnerId
void SetTaskrunnerId(const Aws::String &value)
Definition: ReportTaskRunnerHeartbeatRequest.h:66
Aws::DataPipeline::Model::ReportTaskRunnerHeartbeatRequest::SetHostname
void SetHostname(Aws::String &&value)
Definition: ReportTaskRunnerHeartbeatRequest.h:205
Aws::DataPipeline::Model::ReportTaskRunnerHeartbeatRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ReportTaskRunnerHeartbeatRequest.h:34
Aws::DataPipeline::Model::ReportTaskRunnerHeartbeatRequest::HostnameHasBeenSet
bool HostnameHasBeenSet() const
Definition: ReportTaskRunnerHeartbeatRequest.h:195
DataPipeline_EXPORTS.h
Aws::DataPipeline::Model::ReportTaskRunnerHeartbeatRequest::WithTaskrunnerId
ReportTaskRunnerHeartbeatRequest & WithTaskrunnerId(Aws::String &&value)
Definition: ReportTaskRunnerHeartbeatRequest.h:102
Aws::DataPipeline::Model::ReportTaskRunnerHeartbeatRequest::SetTaskrunnerId
void SetTaskrunnerId(Aws::String &&value)
Definition: ReportTaskRunnerHeartbeatRequest.h:75
Aws::DataPipeline::Model::ReportTaskRunnerHeartbeatRequest::WithHostname
ReportTaskRunnerHeartbeatRequest & WithHostname(const char *value)
Definition: ReportTaskRunnerHeartbeatRequest.h:225
Aws::DataPipeline::Model::ReportTaskRunnerHeartbeatRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::DataPipeline::Model::ReportTaskRunnerHeartbeatRequest::GetHostname
const Aws::String & GetHostname() const
Definition: ReportTaskRunnerHeartbeatRequest.h:190
DataPipelineRequest.h
Aws::DataPipeline::Model::ReportTaskRunnerHeartbeatRequest::WithWorkerGroup
ReportTaskRunnerHeartbeatRequest & WithWorkerGroup(const char *value)
Definition: ReportTaskRunnerHeartbeatRequest.h:184
AWSString.h
Aws::DataPipeline::Model::ReportTaskRunnerHeartbeatRequest
Definition: ReportTaskRunnerHeartbeatRequest.h:26
Aws::DataPipeline::Model::ReportTaskRunnerHeartbeatRequest::GetWorkerGroup
const Aws::String & GetWorkerGroup() const
Definition: ReportTaskRunnerHeartbeatRequest.h:121
Aws
Definition: AccessManagementClient.h:15
Aws::DataPipeline::Model::ReportTaskRunnerHeartbeatRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::DataPipeline::Model::ReportTaskRunnerHeartbeatRequest::SetWorkerGroup
void SetWorkerGroup(const char *value)
Definition: ReportTaskRunnerHeartbeatRequest.h:157
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::ReportTaskRunnerHeartbeatRequest::WithWorkerGroup
ReportTaskRunnerHeartbeatRequest & WithWorkerGroup(const Aws::String &value)
Definition: ReportTaskRunnerHeartbeatRequest.h:166
Aws::DataPipeline::DataPipelineRequest
Definition: DataPipelineRequest.h:17
Aws::DataPipeline::Model::ReportTaskRunnerHeartbeatRequest::SetHostname
void SetHostname(const char *value)
Definition: ReportTaskRunnerHeartbeatRequest.h:210
Aws::DataPipeline::Model::ReportTaskRunnerHeartbeatRequest::WorkerGroupHasBeenSet
bool WorkerGroupHasBeenSet() const
Definition: ReportTaskRunnerHeartbeatRequest.h:130
Aws::DataPipeline::Model::ReportTaskRunnerHeartbeatRequest::WithHostname
ReportTaskRunnerHeartbeatRequest & WithHostname(const Aws::String &value)
Definition: ReportTaskRunnerHeartbeatRequest.h:215