AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetFlowMetadataResult.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/FlowPublishState.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 GetFlowMetadataResult() = 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::String& GetFlowId() const { return m_flowId; }
54 template <typename FlowIdT = Aws::String>
55 void SetFlowId(FlowIdT&& value) {
56 m_flowIdHasBeenSet = true;
57 m_flowId = std::forward<FlowIdT>(value);
58 }
59 template <typename FlowIdT = Aws::String>
61 SetFlowId(std::forward<FlowIdT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::String& GetName() const { return m_name; }
71 template <typename NameT = Aws::String>
72 void SetName(NameT&& value) {
73 m_nameHasBeenSet = true;
74 m_name = std::forward<NameT>(value);
75 }
76 template <typename NameT = Aws::String>
78 SetName(std::forward<NameT>(value));
79 return *this;
80 }
82
84
87 inline const Aws::String& GetDescription() const { return m_description; }
88 template <typename DescriptionT = Aws::String>
89 void SetDescription(DescriptionT&& value) {
90 m_descriptionHasBeenSet = true;
91 m_description = std::forward<DescriptionT>(value);
92 }
93 template <typename DescriptionT = Aws::String>
94 GetFlowMetadataResult& WithDescription(DescriptionT&& value) {
95 SetDescription(std::forward<DescriptionT>(value));
96 return *this;
97 }
99
101
105 inline FlowPublishState GetPublishState() const { return m_publishState; }
107 m_publishStateHasBeenSet = true;
108 m_publishState = value;
109 }
111 SetPublishState(value);
112 return *this;
113 }
115
117
120 inline int GetUserCount() const { return m_userCount; }
121 inline void SetUserCount(int value) {
122 m_userCountHasBeenSet = true;
123 m_userCount = value;
124 }
126 SetUserCount(value);
127 return *this;
128 }
130
132
135 inline int GetRunCount() const { return m_runCount; }
136 inline void SetRunCount(int value) {
137 m_runCountHasBeenSet = true;
138 m_runCount = value;
139 }
141 SetRunCount(value);
142 return *this;
143 }
145
147
150 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
151 template <typename CreatedTimeT = Aws::Utils::DateTime>
152 void SetCreatedTime(CreatedTimeT&& value) {
153 m_createdTimeHasBeenSet = true;
154 m_createdTime = std::forward<CreatedTimeT>(value);
155 }
156 template <typename CreatedTimeT = Aws::Utils::DateTime>
157 GetFlowMetadataResult& WithCreatedTime(CreatedTimeT&& value) {
158 SetCreatedTime(std::forward<CreatedTimeT>(value));
159 return *this;
160 }
162
164
167 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
168 template <typename LastUpdatedTimeT = Aws::Utils::DateTime>
169 void SetLastUpdatedTime(LastUpdatedTimeT&& value) {
170 m_lastUpdatedTimeHasBeenSet = true;
171 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
172 }
173 template <typename LastUpdatedTimeT = Aws::Utils::DateTime>
174 GetFlowMetadataResult& WithLastUpdatedTime(LastUpdatedTimeT&& value) {
175 SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value));
176 return *this;
177 }
179
181
182 inline const Aws::String& GetRequestId() const { return m_requestId; }
183 template <typename RequestIdT = Aws::String>
184 void SetRequestId(RequestIdT&& value) {
185 m_requestIdHasBeenSet = true;
186 m_requestId = std::forward<RequestIdT>(value);
187 }
188 template <typename RequestIdT = Aws::String>
190 SetRequestId(std::forward<RequestIdT>(value));
191 return *this;
192 }
194
196
199 inline int GetStatus() const { return m_status; }
200 inline void SetStatus(int value) {
201 m_statusHasBeenSet = true;
202 m_status = value;
203 }
205 SetStatus(value);
206 return *this;
207 }
209 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
210
211 private:
212 Aws::String m_arn;
213
214 Aws::String m_flowId;
215
216 Aws::String m_name;
217
218 Aws::String m_description;
219
221
222 int m_userCount{0};
223
224 int m_runCount{0};
225
226 Aws::Utils::DateTime m_createdTime{};
227
228 Aws::Utils::DateTime m_lastUpdatedTime{};
229
230 Aws::String m_requestId;
231
232 int m_status{0};
233 Aws::Http::HttpResponseCode m_HttpResponseCode;
234 bool m_arnHasBeenSet = false;
235 bool m_flowIdHasBeenSet = false;
236 bool m_nameHasBeenSet = false;
237 bool m_descriptionHasBeenSet = false;
238 bool m_publishStateHasBeenSet = false;
239 bool m_userCountHasBeenSet = false;
240 bool m_runCountHasBeenSet = false;
241 bool m_createdTimeHasBeenSet = false;
242 bool m_lastUpdatedTimeHasBeenSet = false;
243 bool m_requestIdHasBeenSet = false;
244 bool m_statusHasBeenSet = false;
245};
246
247} // namespace Model
248} // namespace QuickSight
249} // namespace Aws
GetFlowMetadataResult & WithName(NameT &&value)
AWS_QUICKSIGHT_API GetFlowMetadataResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetFlowMetadataResult & WithLastUpdatedTime(LastUpdatedTimeT &&value)
GetFlowMetadataResult & WithDescription(DescriptionT &&value)
GetFlowMetadataResult & WithRequestId(RequestIdT &&value)
AWS_QUICKSIGHT_API GetFlowMetadataResult()=default
AWS_QUICKSIGHT_API GetFlowMetadataResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetFlowMetadataResult & WithArn(ArnT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetFlowMetadataResult & WithFlowId(FlowIdT &&value)
GetFlowMetadataResult & WithUserCount(int value)
GetFlowMetadataResult & WithPublishState(FlowPublishState value)
const Aws::Utils::DateTime & GetCreatedTime() const
GetFlowMetadataResult & WithStatus(int value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
GetFlowMetadataResult & WithRunCount(int value)
GetFlowMetadataResult & WithCreatedTime(CreatedTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue