AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReportTaskRunnerHeartbeatRequest.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
26 {
27 public:
28 AWS_DATAPIPELINE_API ReportTaskRunnerHeartbeatRequest();
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_DATAPIPELINE_API Aws::String SerializePayload() const override;
37
38 AWS_DATAPIPELINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
39
40
42
49 inline const Aws::String& GetTaskrunnerId() const{ return m_taskrunnerId; }
50 inline bool TaskrunnerIdHasBeenSet() const { return m_taskrunnerIdHasBeenSet; }
51 inline void SetTaskrunnerId(const Aws::String& value) { m_taskrunnerIdHasBeenSet = true; m_taskrunnerId = value; }
52 inline void SetTaskrunnerId(Aws::String&& value) { m_taskrunnerIdHasBeenSet = true; m_taskrunnerId = std::move(value); }
53 inline void SetTaskrunnerId(const char* value) { m_taskrunnerIdHasBeenSet = true; m_taskrunnerId.assign(value); }
55 inline ReportTaskRunnerHeartbeatRequest& WithTaskrunnerId(Aws::String&& value) { SetTaskrunnerId(std::move(value)); return *this;}
56 inline ReportTaskRunnerHeartbeatRequest& WithTaskrunnerId(const char* value) { SetTaskrunnerId(value); return *this;}
58
60
67 inline const Aws::String& GetWorkerGroup() const{ return m_workerGroup; }
68 inline bool WorkerGroupHasBeenSet() const { return m_workerGroupHasBeenSet; }
69 inline void SetWorkerGroup(const Aws::String& value) { m_workerGroupHasBeenSet = true; m_workerGroup = value; }
70 inline void SetWorkerGroup(Aws::String&& value) { m_workerGroupHasBeenSet = true; m_workerGroup = std::move(value); }
71 inline void SetWorkerGroup(const char* value) { m_workerGroupHasBeenSet = true; m_workerGroup.assign(value); }
72 inline ReportTaskRunnerHeartbeatRequest& WithWorkerGroup(const Aws::String& value) { SetWorkerGroup(value); return *this;}
73 inline ReportTaskRunnerHeartbeatRequest& WithWorkerGroup(Aws::String&& value) { SetWorkerGroup(std::move(value)); return *this;}
74 inline ReportTaskRunnerHeartbeatRequest& WithWorkerGroup(const char* value) { SetWorkerGroup(value); return *this;}
76
78
81 inline const Aws::String& GetHostname() const{ return m_hostname; }
82 inline bool HostnameHasBeenSet() const { return m_hostnameHasBeenSet; }
83 inline void SetHostname(const Aws::String& value) { m_hostnameHasBeenSet = true; m_hostname = value; }
84 inline void SetHostname(Aws::String&& value) { m_hostnameHasBeenSet = true; m_hostname = std::move(value); }
85 inline void SetHostname(const char* value) { m_hostnameHasBeenSet = true; m_hostname.assign(value); }
86 inline ReportTaskRunnerHeartbeatRequest& WithHostname(const Aws::String& value) { SetHostname(value); return *this;}
87 inline ReportTaskRunnerHeartbeatRequest& WithHostname(Aws::String&& value) { SetHostname(std::move(value)); return *this;}
88 inline ReportTaskRunnerHeartbeatRequest& WithHostname(const char* value) { SetHostname(value); return *this;}
90 private:
91
92 Aws::String m_taskrunnerId;
93 bool m_taskrunnerIdHasBeenSet = false;
94
95 Aws::String m_workerGroup;
96 bool m_workerGroupHasBeenSet = false;
97
98 Aws::String m_hostname;
99 bool m_hostnameHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace DataPipeline
104} // namespace Aws
AWS_DATAPIPELINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ReportTaskRunnerHeartbeatRequest & WithWorkerGroup(const char *value)
ReportTaskRunnerHeartbeatRequest & WithTaskrunnerId(const Aws::String &value)
AWS_DATAPIPELINE_API Aws::String SerializePayload() const override
ReportTaskRunnerHeartbeatRequest & WithTaskrunnerId(Aws::String &&value)
ReportTaskRunnerHeartbeatRequest & WithHostname(Aws::String &&value)
ReportTaskRunnerHeartbeatRequest & WithTaskrunnerId(const char *value)
ReportTaskRunnerHeartbeatRequest & WithWorkerGroup(const Aws::String &value)
ReportTaskRunnerHeartbeatRequest & WithHostname(const Aws::String &value)
ReportTaskRunnerHeartbeatRequest & WithHostname(const char *value)
ReportTaskRunnerHeartbeatRequest & WithWorkerGroup(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String