AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetLoaderJobStatusRequest.h
1
6#pragma once
7#include <aws/neptunedata/Neptunedata_EXPORTS.h>
8#include <aws/neptunedata/NeptunedataRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace neptunedata
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_NEPTUNEDATA_API GetLoaderJobStatusRequest() = default;
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 "GetLoaderJobStatus"; }
35
36 AWS_NEPTUNEDATA_API Aws::String SerializePayload() const override;
37
38 AWS_NEPTUNEDATA_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
45 inline const Aws::String& GetLoadId() const { return m_loadId; }
46 inline bool LoadIdHasBeenSet() const { return m_loadIdHasBeenSet; }
47 template<typename LoadIdT = Aws::String>
48 void SetLoadId(LoadIdT&& value) { m_loadIdHasBeenSet = true; m_loadId = std::forward<LoadIdT>(value); }
49 template<typename LoadIdT = Aws::String>
50 GetLoaderJobStatusRequest& WithLoadId(LoadIdT&& value) { SetLoadId(std::forward<LoadIdT>(value)); return *this;}
52
54
59 inline bool GetDetails() const { return m_details; }
60 inline bool DetailsHasBeenSet() const { return m_detailsHasBeenSet; }
61 inline void SetDetails(bool value) { m_detailsHasBeenSet = true; m_details = value; }
62 inline GetLoaderJobStatusRequest& WithDetails(bool value) { SetDetails(value); return *this;}
64
66
73 inline bool GetErrors() const { return m_errors; }
74 inline bool ErrorsHasBeenSet() const { return m_errorsHasBeenSet; }
75 inline void SetErrors(bool value) { m_errorsHasBeenSet = true; m_errors = value; }
76 inline GetLoaderJobStatusRequest& WithErrors(bool value) { SetErrors(value); return *this;}
78
80
85 inline int GetPage() const { return m_page; }
86 inline bool PageHasBeenSet() const { return m_pageHasBeenSet; }
87 inline void SetPage(int value) { m_pageHasBeenSet = true; m_page = value; }
88 inline GetLoaderJobStatusRequest& WithPage(int value) { SetPage(value); return *this;}
90
92
97 inline int GetErrorsPerPage() const { return m_errorsPerPage; }
98 inline bool ErrorsPerPageHasBeenSet() const { return m_errorsPerPageHasBeenSet; }
99 inline void SetErrorsPerPage(int value) { m_errorsPerPageHasBeenSet = true; m_errorsPerPage = value; }
100 inline GetLoaderJobStatusRequest& WithErrorsPerPage(int value) { SetErrorsPerPage(value); return *this;}
102 private:
103
104 Aws::String m_loadId;
105 bool m_loadIdHasBeenSet = false;
106
107 bool m_details{false};
108 bool m_detailsHasBeenSet = false;
109
110 bool m_errors{false};
111 bool m_errorsHasBeenSet = false;
112
113 int m_page{0};
114 bool m_pageHasBeenSet = false;
115
116 int m_errorsPerPage{0};
117 bool m_errorsPerPageHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace neptunedata
122} // 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