AWS SDK for C++

AWS SDK for C++ Version 1.11.827

Loading...
Searching...
No Matches
FlowDetail.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/Document.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/quicksight/QuickSight_EXPORTS.h>
12#include <aws/quicksight/model/FlowPublishState.h>
13#include <aws/quicksight/model/StepAliasMapping.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace QuickSight {
25namespace Model {
26
34 public:
35 AWS_QUICKSIGHT_API FlowDetail() = default;
36 AWS_QUICKSIGHT_API FlowDetail(Aws::Utils::Json::JsonView jsonValue);
37 AWS_QUICKSIGHT_API FlowDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline const Aws::String& GetArn() const { return m_arn; }
45 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
46 template <typename ArnT = Aws::String>
47 void SetArn(ArnT&& value) {
48 m_arnHasBeenSet = true;
49 m_arn = std::forward<ArnT>(value);
50 }
51 template <typename ArnT = Aws::String>
52 FlowDetail& WithArn(ArnT&& value) {
53 SetArn(std::forward<ArnT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetFlowId() const { return m_flowId; }
63 inline bool FlowIdHasBeenSet() const { return m_flowIdHasBeenSet; }
64 template <typename FlowIdT = Aws::String>
65 void SetFlowId(FlowIdT&& value) {
66 m_flowIdHasBeenSet = true;
67 m_flowId = std::forward<FlowIdT>(value);
68 }
69 template <typename FlowIdT = Aws::String>
70 FlowDetail& WithFlowId(FlowIdT&& value) {
71 SetFlowId(std::forward<FlowIdT>(value));
72 return *this;
73 }
75
77
80 inline const Aws::String& GetName() const { return m_name; }
81 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
82 template <typename NameT = Aws::String>
83 void SetName(NameT&& value) {
84 m_nameHasBeenSet = true;
85 m_name = std::forward<NameT>(value);
86 }
87 template <typename NameT = Aws::String>
88 FlowDetail& WithName(NameT&& value) {
89 SetName(std::forward<NameT>(value));
90 return *this;
91 }
93
95
98 inline const Aws::String& GetDescription() const { return m_description; }
99 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
100 template <typename DescriptionT = Aws::String>
101 void SetDescription(DescriptionT&& value) {
102 m_descriptionHasBeenSet = true;
103 m_description = std::forward<DescriptionT>(value);
104 }
105 template <typename DescriptionT = Aws::String>
106 FlowDetail& WithDescription(DescriptionT&& value) {
107 SetDescription(std::forward<DescriptionT>(value));
108 return *this;
109 }
111
113
117 inline FlowPublishState GetPublishState() const { return m_publishState; }
118 inline bool PublishStateHasBeenSet() const { return m_publishStateHasBeenSet; }
120 m_publishStateHasBeenSet = true;
121 m_publishState = value;
122 }
124 SetPublishState(value);
125 return *this;
126 }
128
130
133 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
134 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
135 template <typename CreatedTimeT = Aws::Utils::DateTime>
136 void SetCreatedTime(CreatedTimeT&& value) {
137 m_createdTimeHasBeenSet = true;
138 m_createdTime = std::forward<CreatedTimeT>(value);
139 }
140 template <typename CreatedTimeT = Aws::Utils::DateTime>
141 FlowDetail& WithCreatedTime(CreatedTimeT&& value) {
142 SetCreatedTime(std::forward<CreatedTimeT>(value));
143 return *this;
144 }
146
148
151 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
152 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
153 template <typename CreatedByT = Aws::String>
154 void SetCreatedBy(CreatedByT&& value) {
155 m_createdByHasBeenSet = true;
156 m_createdBy = std::forward<CreatedByT>(value);
157 }
158 template <typename CreatedByT = Aws::String>
159 FlowDetail& WithCreatedBy(CreatedByT&& value) {
160 SetCreatedBy(std::forward<CreatedByT>(value));
161 return *this;
162 }
164
166
169 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
170 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
171 template <typename LastUpdatedTimeT = Aws::Utils::DateTime>
172 void SetLastUpdatedTime(LastUpdatedTimeT&& value) {
173 m_lastUpdatedTimeHasBeenSet = true;
174 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
175 }
176 template <typename LastUpdatedTimeT = Aws::Utils::DateTime>
177 FlowDetail& WithLastUpdatedTime(LastUpdatedTimeT&& value) {
178 SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value));
179 return *this;
180 }
182
184
187 inline const Aws::String& GetLastUpdatedBy() const { return m_lastUpdatedBy; }
188 inline bool LastUpdatedByHasBeenSet() const { return m_lastUpdatedByHasBeenSet; }
189 template <typename LastUpdatedByT = Aws::String>
190 void SetLastUpdatedBy(LastUpdatedByT&& value) {
191 m_lastUpdatedByHasBeenSet = true;
192 m_lastUpdatedBy = std::forward<LastUpdatedByT>(value);
193 }
194 template <typename LastUpdatedByT = Aws::String>
195 FlowDetail& WithLastUpdatedBy(LastUpdatedByT&& value) {
196 SetLastUpdatedBy(std::forward<LastUpdatedByT>(value));
197 return *this;
198 }
200
202
207 inline Aws::Utils::DocumentView GetFlowDefinition() const { return m_flowDefinition; }
208 inline bool FlowDefinitionHasBeenSet() const { return m_flowDefinitionHasBeenSet; }
209 template <typename FlowDefinitionT = Aws::Utils::Document>
210 void SetFlowDefinition(FlowDefinitionT&& value) {
211 m_flowDefinitionHasBeenSet = true;
212 m_flowDefinition = std::forward<FlowDefinitionT>(value);
213 }
214 template <typename FlowDefinitionT = Aws::Utils::Document>
215 FlowDetail& WithFlowDefinition(FlowDefinitionT&& value) {
216 SetFlowDefinition(std::forward<FlowDefinitionT>(value));
217 return *this;
218 }
220
222
225 inline const Aws::Vector<StepAliasMapping>& GetStepAliases() const { return m_stepAliases; }
226 inline bool StepAliasesHasBeenSet() const { return m_stepAliasesHasBeenSet; }
227 template <typename StepAliasesT = Aws::Vector<StepAliasMapping>>
228 void SetStepAliases(StepAliasesT&& value) {
229 m_stepAliasesHasBeenSet = true;
230 m_stepAliases = std::forward<StepAliasesT>(value);
231 }
232 template <typename StepAliasesT = Aws::Vector<StepAliasMapping>>
233 FlowDetail& WithStepAliases(StepAliasesT&& value) {
234 SetStepAliases(std::forward<StepAliasesT>(value));
235 return *this;
236 }
237 template <typename StepAliasesT = StepAliasMapping>
238 FlowDetail& AddStepAliases(StepAliasesT&& value) {
239 m_stepAliasesHasBeenSet = true;
240 m_stepAliases.emplace_back(std::forward<StepAliasesT>(value));
241 return *this;
242 }
244 private:
245 Aws::String m_arn;
246
247 Aws::String m_flowId;
248
249 Aws::String m_name;
250
251 Aws::String m_description;
252
254
255 Aws::Utils::DateTime m_createdTime{};
256
257 Aws::String m_createdBy;
258
259 Aws::Utils::DateTime m_lastUpdatedTime{};
260
261 Aws::String m_lastUpdatedBy;
262
263 Aws::Utils::Document m_flowDefinition;
264
265 Aws::Vector<StepAliasMapping> m_stepAliases;
266 bool m_arnHasBeenSet = false;
267 bool m_flowIdHasBeenSet = false;
268 bool m_nameHasBeenSet = false;
269 bool m_descriptionHasBeenSet = false;
270 bool m_publishStateHasBeenSet = false;
271 bool m_createdTimeHasBeenSet = false;
272 bool m_createdByHasBeenSet = false;
273 bool m_lastUpdatedTimeHasBeenSet = false;
274 bool m_lastUpdatedByHasBeenSet = false;
275 bool m_flowDefinitionHasBeenSet = false;
276 bool m_stepAliasesHasBeenSet = false;
277};
278
279} // namespace Model
280} // namespace QuickSight
281} // namespace Aws
FlowPublishState GetPublishState() const
Definition FlowDetail.h:117
const Aws::Utils::DateTime & GetCreatedTime() const
Definition FlowDetail.h:133
FlowDetail & WithFlowId(FlowIdT &&value)
Definition FlowDetail.h:70
void SetPublishState(FlowPublishState value)
Definition FlowDetail.h:119
FlowDetail & WithPublishState(FlowPublishState value)
Definition FlowDetail.h:123
FlowDetail & WithLastUpdatedBy(LastUpdatedByT &&value)
Definition FlowDetail.h:195
void SetStepAliases(StepAliasesT &&value)
Definition FlowDetail.h:228
FlowDetail & WithStepAliases(StepAliasesT &&value)
Definition FlowDetail.h:233
AWS_QUICKSIGHT_API FlowDetail(Aws::Utils::Json::JsonView jsonValue)
FlowDetail & WithArn(ArnT &&value)
Definition FlowDetail.h:52
const Aws::String & GetLastUpdatedBy() const
Definition FlowDetail.h:187
void SetLastUpdatedBy(LastUpdatedByT &&value)
Definition FlowDetail.h:190
Aws::Utils::DocumentView GetFlowDefinition() const
Definition FlowDetail.h:207
void SetCreatedBy(CreatedByT &&value)
Definition FlowDetail.h:154
const Aws::String & GetFlowId() const
Definition FlowDetail.h:62
FlowDetail & WithCreatedBy(CreatedByT &&value)
Definition FlowDetail.h:159
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
Definition FlowDetail.h:172
const Aws::Utils::DateTime & GetLastUpdatedTime() const
Definition FlowDetail.h:169
void SetCreatedTime(CreatedTimeT &&value)
Definition FlowDetail.h:136
const Aws::String & GetCreatedBy() const
Definition FlowDetail.h:151
FlowDetail & WithCreatedTime(CreatedTimeT &&value)
Definition FlowDetail.h:141
FlowDetail & WithLastUpdatedTime(LastUpdatedTimeT &&value)
Definition FlowDetail.h:177
FlowDetail & WithFlowDefinition(FlowDefinitionT &&value)
Definition FlowDetail.h:215
AWS_QUICKSIGHT_API FlowDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFlowId(FlowIdT &&value)
Definition FlowDetail.h:65
const Aws::Vector< StepAliasMapping > & GetStepAliases() const
Definition FlowDetail.h:225
void SetDescription(DescriptionT &&value)
Definition FlowDetail.h:101
void SetFlowDefinition(FlowDefinitionT &&value)
Definition FlowDetail.h:210
AWS_QUICKSIGHT_API FlowDetail()=default
FlowDetail & WithName(NameT &&value)
Definition FlowDetail.h:88
const Aws::String & GetArn() const
Definition FlowDetail.h:44
const Aws::String & GetDescription() const
Definition FlowDetail.h:98
FlowDetail & WithDescription(DescriptionT &&value)
Definition FlowDetail.h:106
FlowDetail & AddStepAliases(StepAliasesT &&value)
Definition FlowDetail.h:238
const Aws::String & GetName() const
Definition FlowDetail.h:80
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue