AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetTaskId(const Aws::String& value) { m_taskIdHasBeenSet = true; m_taskId = value; }
50 inline void SetTaskId(Aws::String&& value) { m_taskIdHasBeenSet = true; m_taskId = std::move(value); }
51 inline void SetTaskId(const char* value) { m_taskIdHasBeenSet = true; m_taskId.assign(value); }
52 inline ReportTaskProgressRequest& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;}
53 inline ReportTaskProgressRequest& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;}
54 inline ReportTaskProgressRequest& WithTaskId(const char* value) { SetTaskId(value); return *this;}
56
58
62 inline const Aws::Vector<Field>& GetFields() const{ return m_fields; }
63 inline bool FieldsHasBeenSet() const { return m_fieldsHasBeenSet; }
64 inline void SetFields(const Aws::Vector<Field>& value) { m_fieldsHasBeenSet = true; m_fields = value; }
65 inline void SetFields(Aws::Vector<Field>&& value) { m_fieldsHasBeenSet = true; m_fields = std::move(value); }
66 inline ReportTaskProgressRequest& WithFields(const Aws::Vector<Field>& value) { SetFields(value); return *this;}
67 inline ReportTaskProgressRequest& WithFields(Aws::Vector<Field>&& value) { SetFields(std::move(value)); return *this;}
68 inline ReportTaskProgressRequest& AddFields(const Field& value) { m_fieldsHasBeenSet = true; m_fields.push_back(value); return *this; }
69 inline ReportTaskProgressRequest& AddFields(Field&& value) { m_fieldsHasBeenSet = true; m_fields.push_back(std::move(value)); return *this; }
71 private:
72
73 Aws::String m_taskId;
74 bool m_taskIdHasBeenSet = false;
75
76 Aws::Vector<Field> m_fields;
77 bool m_fieldsHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace DataPipeline
82} // namespace Aws
ReportTaskProgressRequest & AddFields(Field &&value)
AWS_DATAPIPELINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_DATAPIPELINE_API Aws::String SerializePayload() const override
ReportTaskProgressRequest & AddFields(const Field &value)
ReportTaskProgressRequest & WithTaskId(const char *value)
virtual const char * GetServiceRequestName() const override
ReportTaskProgressRequest & WithTaskId(const Aws::String &value)
ReportTaskProgressRequest & WithFields(const Aws::Vector< Field > &value)
ReportTaskProgressRequest & WithFields(Aws::Vector< Field > &&value)
ReportTaskProgressRequest & WithTaskId(Aws::String &&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