AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
ActionConnectorSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/QuickSight_EXPORTS.h>
10#include <aws/quicksight/model/ActionConnectorError.h>
11#include <aws/quicksight/model/ActionConnectorType.h>
12#include <aws/quicksight/model/ResourceStatus.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight {
24namespace Model {
25
33 public:
34 AWS_QUICKSIGHT_API ActionConnectorSummary() = default;
37 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetArn() const { return m_arn; }
44 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
45 template <typename ArnT = Aws::String>
46 void SetArn(ArnT&& value) {
47 m_arnHasBeenSet = true;
48 m_arn = std::forward<ArnT>(value);
49 }
50 template <typename ArnT = Aws::String>
52 SetArn(std::forward<ArnT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetActionConnectorId() const { return m_actionConnectorId; }
62 inline bool ActionConnectorIdHasBeenSet() const { return m_actionConnectorIdHasBeenSet; }
63 template <typename ActionConnectorIdT = Aws::String>
64 void SetActionConnectorId(ActionConnectorIdT&& value) {
65 m_actionConnectorIdHasBeenSet = true;
66 m_actionConnectorId = std::forward<ActionConnectorIdT>(value);
67 }
68 template <typename ActionConnectorIdT = Aws::String>
69 ActionConnectorSummary& WithActionConnectorId(ActionConnectorIdT&& value) {
70 SetActionConnectorId(std::forward<ActionConnectorIdT>(value));
71 return *this;
72 }
74
76
79 inline ActionConnectorType GetType() const { return m_type; }
80 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
81 inline void SetType(ActionConnectorType value) {
82 m_typeHasBeenSet = true;
83 m_type = value;
84 }
86 SetType(value);
87 return *this;
88 }
90
92
95 inline const Aws::String& GetName() const { return m_name; }
96 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
97 template <typename NameT = Aws::String>
98 void SetName(NameT&& value) {
99 m_nameHasBeenSet = true;
100 m_name = std::forward<NameT>(value);
101 }
102 template <typename NameT = Aws::String>
104 SetName(std::forward<NameT>(value));
105 return *this;
106 }
108
110
113 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
114 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
115 template <typename CreatedTimeT = Aws::Utils::DateTime>
116 void SetCreatedTime(CreatedTimeT&& value) {
117 m_createdTimeHasBeenSet = true;
118 m_createdTime = std::forward<CreatedTimeT>(value);
119 }
120 template <typename CreatedTimeT = Aws::Utils::DateTime>
122 SetCreatedTime(std::forward<CreatedTimeT>(value));
123 return *this;
124 }
126
128
131 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
132 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
133 template <typename LastUpdatedTimeT = Aws::Utils::DateTime>
134 void SetLastUpdatedTime(LastUpdatedTimeT&& value) {
135 m_lastUpdatedTimeHasBeenSet = true;
136 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
137 }
138 template <typename LastUpdatedTimeT = Aws::Utils::DateTime>
139 ActionConnectorSummary& WithLastUpdatedTime(LastUpdatedTimeT&& value) {
140 SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value));
141 return *this;
142 }
144
146
149 inline ResourceStatus GetStatus() const { return m_status; }
150 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
151 inline void SetStatus(ResourceStatus value) {
152 m_statusHasBeenSet = true;
153 m_status = value;
154 }
156 SetStatus(value);
157 return *this;
158 }
160
162
165 inline const ActionConnectorError& GetError() const { return m_error; }
166 inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
167 template <typename ErrorT = ActionConnectorError>
168 void SetError(ErrorT&& value) {
169 m_errorHasBeenSet = true;
170 m_error = std::forward<ErrorT>(value);
171 }
172 template <typename ErrorT = ActionConnectorError>
174 SetError(std::forward<ErrorT>(value));
175 return *this;
176 }
178 private:
179 Aws::String m_arn;
180
181 Aws::String m_actionConnectorId;
182
184
185 Aws::String m_name;
186
187 Aws::Utils::DateTime m_createdTime{};
188
189 Aws::Utils::DateTime m_lastUpdatedTime{};
190
192
193 ActionConnectorError m_error;
194 bool m_arnHasBeenSet = false;
195 bool m_actionConnectorIdHasBeenSet = false;
196 bool m_typeHasBeenSet = false;
197 bool m_nameHasBeenSet = false;
198 bool m_createdTimeHasBeenSet = false;
199 bool m_lastUpdatedTimeHasBeenSet = false;
200 bool m_statusHasBeenSet = false;
201 bool m_errorHasBeenSet = false;
202};
203
204} // namespace Model
205} // namespace QuickSight
206} // namespace Aws
const Aws::Utils::DateTime & GetCreatedTime() const
AWS_QUICKSIGHT_API ActionConnectorSummary()=default
ActionConnectorSummary & WithStatus(ResourceStatus value)
ActionConnectorSummary & WithActionConnectorId(ActionConnectorIdT &&value)
ActionConnectorSummary & WithError(ErrorT &&value)
const ActionConnectorError & GetError() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
ActionConnectorSummary & WithLastUpdatedTime(LastUpdatedTimeT &&value)
AWS_QUICKSIGHT_API ActionConnectorSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ActionConnectorSummary & WithName(NameT &&value)
ActionConnectorSummary & WithArn(ArnT &&value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
ActionConnectorSummary & WithCreatedTime(CreatedTimeT &&value)
ActionConnectorSummary & WithType(ActionConnectorType value)
AWS_QUICKSIGHT_API ActionConnectorSummary(Aws::Utils::Json::JsonView jsonValue)
void SetActionConnectorId(ActionConnectorIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue