AWS SDK for C++

AWS SDK for C++ Version 1.11.782

Loading...
Searching...
No Matches
DescribeAutomationJobResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/quicksight/QuickSight_EXPORTS.h>
11#include <aws/quicksight/model/AutomationJobStatus.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace QuickSight {
25namespace Model {
27 public:
28 AWS_QUICKSIGHT_API DescribeAutomationJobResult() = default;
31
33
36 inline const Aws::String& GetArn() const { return m_arn; }
37 template <typename ArnT = Aws::String>
38 void SetArn(ArnT&& value) {
39 m_arnHasBeenSet = true;
40 m_arn = std::forward<ArnT>(value);
41 }
42 template <typename ArnT = Aws::String>
44 SetArn(std::forward<ArnT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
54 template <typename CreatedAtT = Aws::Utils::DateTime>
55 void SetCreatedAt(CreatedAtT&& value) {
56 m_createdAtHasBeenSet = true;
57 m_createdAt = std::forward<CreatedAtT>(value);
58 }
59 template <typename CreatedAtT = Aws::Utils::DateTime>
61 SetCreatedAt(std::forward<CreatedAtT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::Utils::DateTime& GetStartedAt() const { return m_startedAt; }
71 template <typename StartedAtT = Aws::Utils::DateTime>
72 void SetStartedAt(StartedAtT&& value) {
73 m_startedAtHasBeenSet = true;
74 m_startedAt = std::forward<StartedAtT>(value);
75 }
76 template <typename StartedAtT = Aws::Utils::DateTime>
78 SetStartedAt(std::forward<StartedAtT>(value));
79 return *this;
80 }
82
84
87 inline const Aws::Utils::DateTime& GetEndedAt() const { return m_endedAt; }
88 template <typename EndedAtT = Aws::Utils::DateTime>
89 void SetEndedAt(EndedAtT&& value) {
90 m_endedAtHasBeenSet = true;
91 m_endedAt = std::forward<EndedAtT>(value);
92 }
93 template <typename EndedAtT = Aws::Utils::DateTime>
95 SetEndedAt(std::forward<EndedAtT>(value));
96 return *this;
97 }
99
101
104 inline AutomationJobStatus GetJobStatus() const { return m_jobStatus; }
106 m_jobStatusHasBeenSet = true;
107 m_jobStatus = value;
108 }
110 SetJobStatus(value);
111 return *this;
112 }
114
116
121 inline const Aws::String& GetInputPayload() const { return m_inputPayload; }
122 template <typename InputPayloadT = Aws::String>
123 void SetInputPayload(InputPayloadT&& value) {
124 m_inputPayloadHasBeenSet = true;
125 m_inputPayload = std::forward<InputPayloadT>(value);
126 }
127 template <typename InputPayloadT = Aws::String>
129 SetInputPayload(std::forward<InputPayloadT>(value));
130 return *this;
131 }
133
135
140 inline const Aws::String& GetOutputPayload() const { return m_outputPayload; }
141 template <typename OutputPayloadT = Aws::String>
142 void SetOutputPayload(OutputPayloadT&& value) {
143 m_outputPayloadHasBeenSet = true;
144 m_outputPayload = std::forward<OutputPayloadT>(value);
145 }
146 template <typename OutputPayloadT = Aws::String>
148 SetOutputPayload(std::forward<OutputPayloadT>(value));
149 return *this;
150 }
152
154
155 inline const Aws::String& GetRequestId() const { return m_requestId; }
156 template <typename RequestIdT = Aws::String>
157 void SetRequestId(RequestIdT&& value) {
158 m_requestIdHasBeenSet = true;
159 m_requestId = std::forward<RequestIdT>(value);
160 }
161 template <typename RequestIdT = Aws::String>
163 SetRequestId(std::forward<RequestIdT>(value));
164 return *this;
165 }
167 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
168
169 private:
170 Aws::String m_arn;
171
172 Aws::Utils::DateTime m_createdAt{};
173
174 Aws::Utils::DateTime m_startedAt{};
175
176 Aws::Utils::DateTime m_endedAt{};
177
179
180 Aws::String m_inputPayload;
181
182 Aws::String m_outputPayload;
183
184 Aws::String m_requestId;
185 Aws::Http::HttpResponseCode m_HttpResponseCode;
186 bool m_arnHasBeenSet = false;
187 bool m_createdAtHasBeenSet = false;
188 bool m_startedAtHasBeenSet = false;
189 bool m_endedAtHasBeenSet = false;
190 bool m_jobStatusHasBeenSet = false;
191 bool m_inputPayloadHasBeenSet = false;
192 bool m_outputPayloadHasBeenSet = false;
193 bool m_requestIdHasBeenSet = false;
194};
195
196} // namespace Model
197} // namespace QuickSight
198} // namespace Aws
DescribeAutomationJobResult & WithCreatedAt(CreatedAtT &&value)
DescribeAutomationJobResult & WithArn(ArnT &&value)
AWS_QUICKSIGHT_API DescribeAutomationJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_QUICKSIGHT_API DescribeAutomationJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeAutomationJobResult & WithInputPayload(InputPayloadT &&value)
DescribeAutomationJobResult & WithJobStatus(AutomationJobStatus value)
DescribeAutomationJobResult & WithEndedAt(EndedAtT &&value)
AWS_QUICKSIGHT_API DescribeAutomationJobResult()=default
DescribeAutomationJobResult & WithRequestId(RequestIdT &&value)
DescribeAutomationJobResult & WithOutputPayload(OutputPayloadT &&value)
DescribeAutomationJobResult & WithStartedAt(StartedAtT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue