AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ReportTaskProgressRequest.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 <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/datapipeline/model/Field.h>
12#include <utility>
13
14namespace Aws
15{
16namespace DataPipeline
17{
18namespace Model
19{
20
27 {
28 public:
29 AWS_DATAPIPELINE_API ReportTaskProgressRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "ReportTaskProgress"; }
36
37 AWS_DATAPIPELINE_API Aws::String SerializePayload() const override;
38
39 AWS_DATAPIPELINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
40
41
43
47 inline const Aws::String& GetTaskId() const { return m_taskId; }
48 inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; }
49 template<typename TaskIdT = Aws::String>
50 void SetTaskId(TaskIdT&& value) { m_taskIdHasBeenSet = true; m_taskId = std::forward<TaskIdT>(value); }
51 template<typename TaskIdT = Aws::String>
52 ReportTaskProgressRequest& WithTaskId(TaskIdT&& value) { SetTaskId(std::forward<TaskIdT>(value)); return *this;}
54
56
60 inline const Aws::Vector<Field>& GetFields() const { return m_fields; }
61 inline bool FieldsHasBeenSet() const { return m_fieldsHasBeenSet; }
62 template<typename FieldsT = Aws::Vector<Field>>
63 void SetFields(FieldsT&& value) { m_fieldsHasBeenSet = true; m_fields = std::forward<FieldsT>(value); }
64 template<typename FieldsT = Aws::Vector<Field>>
65 ReportTaskProgressRequest& WithFields(FieldsT&& value) { SetFields(std::forward<FieldsT>(value)); return *this;}
66 template<typename FieldsT = Field>
67 ReportTaskProgressRequest& AddFields(FieldsT&& value) { m_fieldsHasBeenSet = true; m_fields.emplace_back(std::forward<FieldsT>(value)); return *this; }
69 private:
70
71 Aws::String m_taskId;
72 bool m_taskIdHasBeenSet = false;
73
74 Aws::Vector<Field> m_fields;
75 bool m_fieldsHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace DataPipeline
80} // namespace Aws
AWS_DATAPIPELINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_DATAPIPELINE_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
AWS_DATAPIPELINE_API ReportTaskProgressRequest()=default
ReportTaskProgressRequest & AddFields(FieldsT &&value)
ReportTaskProgressRequest & WithFields(FieldsT &&value)
ReportTaskProgressRequest & WithTaskId(TaskIdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector