AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
ActionConnector.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/quicksight/QuickSight_EXPORTS.h>
11#include <aws/quicksight/model/ActionConnectorError.h>
12#include <aws/quicksight/model/ActionConnectorType.h>
13#include <aws/quicksight/model/ReadAuthConfig.h>
14#include <aws/quicksight/model/ResourceStatus.h>
15
16#include <utility>
17
18namespace Aws {
19namespace Utils {
20namespace Json {
21class JsonValue;
22class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace QuickSight {
26namespace Model {
27
35 public:
36 AWS_QUICKSIGHT_API ActionConnector() = default;
37 AWS_QUICKSIGHT_API ActionConnector(Aws::Utils::Json::JsonView jsonValue);
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
45 inline const Aws::String& GetArn() const { return m_arn; }
46 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
47 template <typename ArnT = Aws::String>
48 void SetArn(ArnT&& value) {
49 m_arnHasBeenSet = true;
50 m_arn = std::forward<ArnT>(value);
51 }
52 template <typename ArnT = Aws::String>
53 ActionConnector& WithArn(ArnT&& value) {
54 SetArn(std::forward<ArnT>(value));
55 return *this;
56 }
58
60
63 inline const Aws::String& GetActionConnectorId() const { return m_actionConnectorId; }
64 inline bool ActionConnectorIdHasBeenSet() const { return m_actionConnectorIdHasBeenSet; }
65 template <typename ActionConnectorIdT = Aws::String>
66 void SetActionConnectorId(ActionConnectorIdT&& value) {
67 m_actionConnectorIdHasBeenSet = true;
68 m_actionConnectorId = std::forward<ActionConnectorIdT>(value);
69 }
70 template <typename ActionConnectorIdT = Aws::String>
71 ActionConnector& WithActionConnectorId(ActionConnectorIdT&& value) {
72 SetActionConnectorId(std::forward<ActionConnectorIdT>(value));
73 return *this;
74 }
76
78
81 inline ActionConnectorType GetType() const { return m_type; }
82 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
83 inline void SetType(ActionConnectorType value) {
84 m_typeHasBeenSet = true;
85 m_type = value;
86 }
88 SetType(value);
89 return *this;
90 }
92
94
97 inline const Aws::String& GetName() const { return m_name; }
98 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
99 template <typename NameT = Aws::String>
100 void SetName(NameT&& value) {
101 m_nameHasBeenSet = true;
102 m_name = std::forward<NameT>(value);
103 }
104 template <typename NameT = Aws::String>
105 ActionConnector& WithName(NameT&& value) {
106 SetName(std::forward<NameT>(value));
107 return *this;
108 }
110
112
115 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
116 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
117 template <typename CreatedTimeT = Aws::Utils::DateTime>
118 void SetCreatedTime(CreatedTimeT&& value) {
119 m_createdTimeHasBeenSet = true;
120 m_createdTime = std::forward<CreatedTimeT>(value);
121 }
122 template <typename CreatedTimeT = Aws::Utils::DateTime>
123 ActionConnector& WithCreatedTime(CreatedTimeT&& value) {
124 SetCreatedTime(std::forward<CreatedTimeT>(value));
125 return *this;
126 }
128
130
133 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
134 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
135 template <typename LastUpdatedTimeT = Aws::Utils::DateTime>
136 void SetLastUpdatedTime(LastUpdatedTimeT&& value) {
137 m_lastUpdatedTimeHasBeenSet = true;
138 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
139 }
140 template <typename LastUpdatedTimeT = Aws::Utils::DateTime>
141 ActionConnector& WithLastUpdatedTime(LastUpdatedTimeT&& value) {
142 SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value));
143 return *this;
144 }
146
148
151 inline ResourceStatus GetStatus() const { return m_status; }
152 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
153 inline void SetStatus(ResourceStatus value) {
154 m_statusHasBeenSet = true;
155 m_status = value;
156 }
158 SetStatus(value);
159 return *this;
160 }
162
164
167 inline const ActionConnectorError& GetError() const { return m_error; }
168 inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
169 template <typename ErrorT = ActionConnectorError>
170 void SetError(ErrorT&& value) {
171 m_errorHasBeenSet = true;
172 m_error = std::forward<ErrorT>(value);
173 }
174 template <typename ErrorT = ActionConnectorError>
175 ActionConnector& WithError(ErrorT&& value) {
176 SetError(std::forward<ErrorT>(value));
177 return *this;
178 }
180
182
185 inline const Aws::String& GetDescription() const { return m_description; }
186 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
187 template <typename DescriptionT = Aws::String>
188 void SetDescription(DescriptionT&& value) {
189 m_descriptionHasBeenSet = true;
190 m_description = std::forward<DescriptionT>(value);
191 }
192 template <typename DescriptionT = Aws::String>
193 ActionConnector& WithDescription(DescriptionT&& value) {
194 SetDescription(std::forward<DescriptionT>(value));
195 return *this;
196 }
198
200
203 inline const ReadAuthConfig& GetAuthenticationConfig() const { return m_authenticationConfig; }
204 inline bool AuthenticationConfigHasBeenSet() const { return m_authenticationConfigHasBeenSet; }
205 template <typename AuthenticationConfigT = ReadAuthConfig>
206 void SetAuthenticationConfig(AuthenticationConfigT&& value) {
207 m_authenticationConfigHasBeenSet = true;
208 m_authenticationConfig = std::forward<AuthenticationConfigT>(value);
209 }
210 template <typename AuthenticationConfigT = ReadAuthConfig>
211 ActionConnector& WithAuthenticationConfig(AuthenticationConfigT&& value) {
212 SetAuthenticationConfig(std::forward<AuthenticationConfigT>(value));
213 return *this;
214 }
216
218
221 inline const Aws::Vector<Aws::String>& GetEnabledActions() const { return m_enabledActions; }
222 inline bool EnabledActionsHasBeenSet() const { return m_enabledActionsHasBeenSet; }
223 template <typename EnabledActionsT = Aws::Vector<Aws::String>>
224 void SetEnabledActions(EnabledActionsT&& value) {
225 m_enabledActionsHasBeenSet = true;
226 m_enabledActions = std::forward<EnabledActionsT>(value);
227 }
228 template <typename EnabledActionsT = Aws::Vector<Aws::String>>
229 ActionConnector& WithEnabledActions(EnabledActionsT&& value) {
230 SetEnabledActions(std::forward<EnabledActionsT>(value));
231 return *this;
232 }
233 template <typename EnabledActionsT = Aws::String>
234 ActionConnector& AddEnabledActions(EnabledActionsT&& value) {
235 m_enabledActionsHasBeenSet = true;
236 m_enabledActions.emplace_back(std::forward<EnabledActionsT>(value));
237 return *this;
238 }
240
242
246 inline const Aws::String& GetVpcConnectionArn() const { return m_vpcConnectionArn; }
247 inline bool VpcConnectionArnHasBeenSet() const { return m_vpcConnectionArnHasBeenSet; }
248 template <typename VpcConnectionArnT = Aws::String>
249 void SetVpcConnectionArn(VpcConnectionArnT&& value) {
250 m_vpcConnectionArnHasBeenSet = true;
251 m_vpcConnectionArn = std::forward<VpcConnectionArnT>(value);
252 }
253 template <typename VpcConnectionArnT = Aws::String>
254 ActionConnector& WithVpcConnectionArn(VpcConnectionArnT&& value) {
255 SetVpcConnectionArn(std::forward<VpcConnectionArnT>(value));
256 return *this;
257 }
259 private:
260 Aws::String m_arn;
261
262 Aws::String m_actionConnectorId;
263
265
266 Aws::String m_name;
267
268 Aws::Utils::DateTime m_createdTime{};
269
270 Aws::Utils::DateTime m_lastUpdatedTime{};
271
273
274 ActionConnectorError m_error;
275
276 Aws::String m_description;
277
278 ReadAuthConfig m_authenticationConfig;
279
280 Aws::Vector<Aws::String> m_enabledActions;
281
282 Aws::String m_vpcConnectionArn;
283 bool m_arnHasBeenSet = false;
284 bool m_actionConnectorIdHasBeenSet = false;
285 bool m_typeHasBeenSet = false;
286 bool m_nameHasBeenSet = false;
287 bool m_createdTimeHasBeenSet = false;
288 bool m_lastUpdatedTimeHasBeenSet = false;
289 bool m_statusHasBeenSet = false;
290 bool m_errorHasBeenSet = false;
291 bool m_descriptionHasBeenSet = false;
292 bool m_authenticationConfigHasBeenSet = false;
293 bool m_enabledActionsHasBeenSet = false;
294 bool m_vpcConnectionArnHasBeenSet = false;
295};
296
297} // namespace Model
298} // namespace QuickSight
299} // namespace Aws
const Aws::String & GetVpcConnectionArn() const
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
const Aws::String & GetActionConnectorId() const
void SetActionConnectorId(ActionConnectorIdT &&value)
AWS_QUICKSIGHT_API ActionConnector & operator=(Aws::Utils::Json::JsonView jsonValue)
ActionConnector & WithEnabledActions(EnabledActionsT &&value)
void SetVpcConnectionArn(VpcConnectionArnT &&value)
ActionConnector & WithStatus(ResourceStatus value)
const Aws::String & GetDescription() const
ActionConnector & WithActionConnectorId(ActionConnectorIdT &&value)
void SetCreatedTime(CreatedTimeT &&value)
ActionConnector & WithCreatedTime(CreatedTimeT &&value)
AWS_QUICKSIGHT_API ActionConnector()=default
void SetType(ActionConnectorType value)
ActionConnector & WithLastUpdatedTime(LastUpdatedTimeT &&value)
const ReadAuthConfig & GetAuthenticationConfig() const
ActionConnector & AddEnabledActions(EnabledActionsT &&value)
ActionConnector & WithError(ErrorT &&value)
const ActionConnectorError & GetError() const
const Aws::String & GetName() const
void SetAuthenticationConfig(AuthenticationConfigT &&value)
ActionConnector & WithDescription(DescriptionT &&value)
ActionConnectorType GetType() const
ActionConnector & WithAuthenticationConfig(AuthenticationConfigT &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
ActionConnector & WithVpcConnectionArn(VpcConnectionArnT &&value)
ActionConnector & WithName(NameT &&value)
void SetEnabledActions(EnabledActionsT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
ActionConnector & WithType(ActionConnectorType value)
void SetDescription(DescriptionT &&value)
const Aws::Vector< Aws::String > & GetEnabledActions() const
AWS_QUICKSIGHT_API ActionConnector(Aws::Utils::Json::JsonView jsonValue)
ActionConnector & WithArn(ArnT &&value)
const Aws::String & GetArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue