AWS SDK for C++

AWS SDK for C++ Version 1.11.755

Loading...
Searching...
No Matches
GetLoaderJobStatusRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/neptunedata/NeptunedataRequest.h>
9#include <aws/neptunedata/Neptunedata_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace neptunedata {
18namespace Model {
19
23 public:
24 AWS_NEPTUNEDATA_API GetLoaderJobStatusRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "GetLoaderJobStatus"; }
31
32 AWS_NEPTUNEDATA_API Aws::String SerializePayload() const override;
33
34 AWS_NEPTUNEDATA_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
40 inline const Aws::String& GetLoadId() const { return m_loadId; }
41 inline bool LoadIdHasBeenSet() const { return m_loadIdHasBeenSet; }
42 template <typename LoadIdT = Aws::String>
43 void SetLoadId(LoadIdT&& value) {
44 m_loadIdHasBeenSet = true;
45 m_loadId = std::forward<LoadIdT>(value);
46 }
47 template <typename LoadIdT = Aws::String>
49 SetLoadId(std::forward<LoadIdT>(value));
50 return *this;
51 }
53
55
60 inline bool GetDetails() const { return m_details; }
61 inline bool DetailsHasBeenSet() const { return m_detailsHasBeenSet; }
62 inline void SetDetails(bool value) {
63 m_detailsHasBeenSet = true;
64 m_details = value;
65 }
67 SetDetails(value);
68 return *this;
69 }
71
73
80 inline bool GetErrors() const { return m_errors; }
81 inline bool ErrorsHasBeenSet() const { return m_errorsHasBeenSet; }
82 inline void SetErrors(bool value) {
83 m_errorsHasBeenSet = true;
84 m_errors = value;
85 }
87 SetErrors(value);
88 return *this;
89 }
91
93
98 inline int GetPage() const { return m_page; }
99 inline bool PageHasBeenSet() const { return m_pageHasBeenSet; }
100 inline void SetPage(int value) {
101 m_pageHasBeenSet = true;
102 m_page = value;
103 }
105 SetPage(value);
106 return *this;
107 }
109
111
116 inline int GetErrorsPerPage() const { return m_errorsPerPage; }
117 inline bool ErrorsPerPageHasBeenSet() const { return m_errorsPerPageHasBeenSet; }
118 inline void SetErrorsPerPage(int value) {
119 m_errorsPerPageHasBeenSet = true;
120 m_errorsPerPage = value;
121 }
123 SetErrorsPerPage(value);
124 return *this;
125 }
127 private:
128 Aws::String m_loadId;
129
130 bool m_details{false};
131
132 bool m_errors{false};
133
134 int m_page{0};
135
136 int m_errorsPerPage{0};
137 bool m_loadIdHasBeenSet = false;
138 bool m_detailsHasBeenSet = false;
139 bool m_errorsHasBeenSet = false;
140 bool m_pageHasBeenSet = false;
141 bool m_errorsPerPageHasBeenSet = false;
142};
143
144} // namespace Model
145} // namespace neptunedata
146} // namespace Aws
AWS_NEPTUNEDATA_API Aws::String SerializePayload() const override
GetLoaderJobStatusRequest & WithErrorsPerPage(int value)
virtual const char * GetServiceRequestName() const override
AWS_NEPTUNEDATA_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_NEPTUNEDATA_API GetLoaderJobStatusRequest()=default
GetLoaderJobStatusRequest & WithDetails(bool value)
GetLoaderJobStatusRequest & WithLoadId(LoadIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String