AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
CreateAccountSubscriptionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/quicksight/QuickSightRequest.h>
10#include <aws/quicksight/QuickSight_EXPORTS.h>
11#include <aws/quicksight/model/AuthenticationMethodOption.h>
12#include <aws/quicksight/model/Edition.h>
13
14#include <utility>
15
16namespace Aws {
17namespace QuickSight {
18namespace Model {
19
23 public:
24 AWS_QUICKSIGHT_API CreateAccountSubscriptionRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "CreateAccountSubscription"; }
31
32 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
33
35
44 inline Edition GetEdition() const { return m_edition; }
45 inline bool EditionHasBeenSet() const { return m_editionHasBeenSet; }
46 inline void SetEdition(Edition value) {
47 m_editionHasBeenSet = true;
48 m_edition = value;
49 }
51 SetEdition(value);
52 return *this;
53 }
55
57
65 inline AuthenticationMethodOption GetAuthenticationMethod() const { return m_authenticationMethod; }
66 inline bool AuthenticationMethodHasBeenSet() const { return m_authenticationMethodHasBeenSet; }
68 m_authenticationMethodHasBeenSet = true;
69 m_authenticationMethod = value;
70 }
73 return *this;
74 }
76
78
82 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
83 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
84 template <typename AwsAccountIdT = Aws::String>
85 void SetAwsAccountId(AwsAccountIdT&& value) {
86 m_awsAccountIdHasBeenSet = true;
87 m_awsAccountId = std::forward<AwsAccountIdT>(value);
88 }
89 template <typename AwsAccountIdT = Aws::String>
91 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
92 return *this;
93 }
95
97
103 inline const Aws::String& GetAccountName() const { return m_accountName; }
104 inline bool AccountNameHasBeenSet() const { return m_accountNameHasBeenSet; }
105 template <typename AccountNameT = Aws::String>
106 void SetAccountName(AccountNameT&& value) {
107 m_accountNameHasBeenSet = true;
108 m_accountName = std::forward<AccountNameT>(value);
109 }
110 template <typename AccountNameT = Aws::String>
112 SetAccountName(std::forward<AccountNameT>(value));
113 return *this;
114 }
116
118
122 inline const Aws::String& GetNotificationEmail() const { return m_notificationEmail; }
123 inline bool NotificationEmailHasBeenSet() const { return m_notificationEmailHasBeenSet; }
124 template <typename NotificationEmailT = Aws::String>
125 void SetNotificationEmail(NotificationEmailT&& value) {
126 m_notificationEmailHasBeenSet = true;
127 m_notificationEmail = std::forward<NotificationEmailT>(value);
128 }
129 template <typename NotificationEmailT = Aws::String>
131 SetNotificationEmail(std::forward<NotificationEmailT>(value));
132 return *this;
133 }
135
137
142 inline const Aws::String& GetActiveDirectoryName() const { return m_activeDirectoryName; }
143 inline bool ActiveDirectoryNameHasBeenSet() const { return m_activeDirectoryNameHasBeenSet; }
144 template <typename ActiveDirectoryNameT = Aws::String>
145 void SetActiveDirectoryName(ActiveDirectoryNameT&& value) {
146 m_activeDirectoryNameHasBeenSet = true;
147 m_activeDirectoryName = std::forward<ActiveDirectoryNameT>(value);
148 }
149 template <typename ActiveDirectoryNameT = Aws::String>
151 SetActiveDirectoryName(std::forward<ActiveDirectoryNameT>(value));
152 return *this;
153 }
155
157
162 inline const Aws::String& GetRealm() const { return m_realm; }
163 inline bool RealmHasBeenSet() const { return m_realmHasBeenSet; }
164 template <typename RealmT = Aws::String>
165 void SetRealm(RealmT&& value) {
166 m_realmHasBeenSet = true;
167 m_realm = std::forward<RealmT>(value);
168 }
169 template <typename RealmT = Aws::String>
171 SetRealm(std::forward<RealmT>(value));
172 return *this;
173 }
175
177
181 inline const Aws::String& GetDirectoryId() const { return m_directoryId; }
182 inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; }
183 template <typename DirectoryIdT = Aws::String>
184 void SetDirectoryId(DirectoryIdT&& value) {
185 m_directoryIdHasBeenSet = true;
186 m_directoryId = std::forward<DirectoryIdT>(value);
187 }
188 template <typename DirectoryIdT = Aws::String>
190 SetDirectoryId(std::forward<DirectoryIdT>(value));
191 return *this;
192 }
194
196
210 inline const Aws::Vector<Aws::String>& GetAdminGroup() const { return m_adminGroup; }
211 inline bool AdminGroupHasBeenSet() const { return m_adminGroupHasBeenSet; }
212 template <typename AdminGroupT = Aws::Vector<Aws::String>>
213 void SetAdminGroup(AdminGroupT&& value) {
214 m_adminGroupHasBeenSet = true;
215 m_adminGroup = std::forward<AdminGroupT>(value);
216 }
217 template <typename AdminGroupT = Aws::Vector<Aws::String>>
219 SetAdminGroup(std::forward<AdminGroupT>(value));
220 return *this;
221 }
222 template <typename AdminGroupT = Aws::String>
224 m_adminGroupHasBeenSet = true;
225 m_adminGroup.emplace_back(std::forward<AdminGroupT>(value));
226 return *this;
227 }
229
231
243 inline const Aws::Vector<Aws::String>& GetAuthorGroup() const { return m_authorGroup; }
244 inline bool AuthorGroupHasBeenSet() const { return m_authorGroupHasBeenSet; }
245 template <typename AuthorGroupT = Aws::Vector<Aws::String>>
246 void SetAuthorGroup(AuthorGroupT&& value) {
247 m_authorGroupHasBeenSet = true;
248 m_authorGroup = std::forward<AuthorGroupT>(value);
249 }
250 template <typename AuthorGroupT = Aws::Vector<Aws::String>>
252 SetAuthorGroup(std::forward<AuthorGroupT>(value));
253 return *this;
254 }
255 template <typename AuthorGroupT = Aws::String>
257 m_authorGroupHasBeenSet = true;
258 m_authorGroup.emplace_back(std::forward<AuthorGroupT>(value));
259 return *this;
260 }
262
264
276 inline const Aws::Vector<Aws::String>& GetReaderGroup() const { return m_readerGroup; }
277 inline bool ReaderGroupHasBeenSet() const { return m_readerGroupHasBeenSet; }
278 template <typename ReaderGroupT = Aws::Vector<Aws::String>>
279 void SetReaderGroup(ReaderGroupT&& value) {
280 m_readerGroupHasBeenSet = true;
281 m_readerGroup = std::forward<ReaderGroupT>(value);
282 }
283 template <typename ReaderGroupT = Aws::Vector<Aws::String>>
285 SetReaderGroup(std::forward<ReaderGroupT>(value));
286 return *this;
287 }
288 template <typename ReaderGroupT = Aws::String>
290 m_readerGroupHasBeenSet = true;
291 m_readerGroup.emplace_back(std::forward<ReaderGroupT>(value));
292 return *this;
293 }
295
297
311 inline const Aws::Vector<Aws::String>& GetAdminProGroup() const { return m_adminProGroup; }
312 inline bool AdminProGroupHasBeenSet() const { return m_adminProGroupHasBeenSet; }
313 template <typename AdminProGroupT = Aws::Vector<Aws::String>>
314 void SetAdminProGroup(AdminProGroupT&& value) {
315 m_adminProGroupHasBeenSet = true;
316 m_adminProGroup = std::forward<AdminProGroupT>(value);
317 }
318 template <typename AdminProGroupT = Aws::Vector<Aws::String>>
320 SetAdminProGroup(std::forward<AdminProGroupT>(value));
321 return *this;
322 }
323 template <typename AdminProGroupT = Aws::String>
325 m_adminProGroupHasBeenSet = true;
326 m_adminProGroup.emplace_back(std::forward<AdminProGroupT>(value));
327 return *this;
328 }
330
332
344 inline const Aws::Vector<Aws::String>& GetAuthorProGroup() const { return m_authorProGroup; }
345 inline bool AuthorProGroupHasBeenSet() const { return m_authorProGroupHasBeenSet; }
346 template <typename AuthorProGroupT = Aws::Vector<Aws::String>>
347 void SetAuthorProGroup(AuthorProGroupT&& value) {
348 m_authorProGroupHasBeenSet = true;
349 m_authorProGroup = std::forward<AuthorProGroupT>(value);
350 }
351 template <typename AuthorProGroupT = Aws::Vector<Aws::String>>
353 SetAuthorProGroup(std::forward<AuthorProGroupT>(value));
354 return *this;
355 }
356 template <typename AuthorProGroupT = Aws::String>
358 m_authorProGroupHasBeenSet = true;
359 m_authorProGroup.emplace_back(std::forward<AuthorProGroupT>(value));
360 return *this;
361 }
363
365
377 inline const Aws::Vector<Aws::String>& GetReaderProGroup() const { return m_readerProGroup; }
378 inline bool ReaderProGroupHasBeenSet() const { return m_readerProGroupHasBeenSet; }
379 template <typename ReaderProGroupT = Aws::Vector<Aws::String>>
380 void SetReaderProGroup(ReaderProGroupT&& value) {
381 m_readerProGroupHasBeenSet = true;
382 m_readerProGroup = std::forward<ReaderProGroupT>(value);
383 }
384 template <typename ReaderProGroupT = Aws::Vector<Aws::String>>
386 SetReaderProGroup(std::forward<ReaderProGroupT>(value));
387 return *this;
388 }
389 template <typename ReaderProGroupT = Aws::String>
391 m_readerProGroupHasBeenSet = true;
392 m_readerProGroup.emplace_back(std::forward<ReaderProGroupT>(value));
393 return *this;
394 }
396
398
403 inline const Aws::String& GetFirstName() const { return m_firstName; }
404 inline bool FirstNameHasBeenSet() const { return m_firstNameHasBeenSet; }
405 template <typename FirstNameT = Aws::String>
406 void SetFirstName(FirstNameT&& value) {
407 m_firstNameHasBeenSet = true;
408 m_firstName = std::forward<FirstNameT>(value);
409 }
410 template <typename FirstNameT = Aws::String>
412 SetFirstName(std::forward<FirstNameT>(value));
413 return *this;
414 }
416
418
423 inline const Aws::String& GetLastName() const { return m_lastName; }
424 inline bool LastNameHasBeenSet() const { return m_lastNameHasBeenSet; }
425 template <typename LastNameT = Aws::String>
426 void SetLastName(LastNameT&& value) {
427 m_lastNameHasBeenSet = true;
428 m_lastName = std::forward<LastNameT>(value);
429 }
430 template <typename LastNameT = Aws::String>
432 SetLastName(std::forward<LastNameT>(value));
433 return *this;
434 }
436
438
443 inline const Aws::String& GetEmailAddress() const { return m_emailAddress; }
444 inline bool EmailAddressHasBeenSet() const { return m_emailAddressHasBeenSet; }
445 template <typename EmailAddressT = Aws::String>
446 void SetEmailAddress(EmailAddressT&& value) {
447 m_emailAddressHasBeenSet = true;
448 m_emailAddress = std::forward<EmailAddressT>(value);
449 }
450 template <typename EmailAddressT = Aws::String>
452 SetEmailAddress(std::forward<EmailAddressT>(value));
453 return *this;
454 }
456
458
464 inline const Aws::String& GetContactNumber() const { return m_contactNumber; }
465 inline bool ContactNumberHasBeenSet() const { return m_contactNumberHasBeenSet; }
466 template <typename ContactNumberT = Aws::String>
467 void SetContactNumber(ContactNumberT&& value) {
468 m_contactNumberHasBeenSet = true;
469 m_contactNumber = std::forward<ContactNumberT>(value);
470 }
471 template <typename ContactNumberT = Aws::String>
473 SetContactNumber(std::forward<ContactNumberT>(value));
474 return *this;
475 }
477
479
482 inline const Aws::String& GetIAMIdentityCenterInstanceArn() const { return m_iAMIdentityCenterInstanceArn; }
483 inline bool IAMIdentityCenterInstanceArnHasBeenSet() const { return m_iAMIdentityCenterInstanceArnHasBeenSet; }
484 template <typename IAMIdentityCenterInstanceArnT = Aws::String>
485 void SetIAMIdentityCenterInstanceArn(IAMIdentityCenterInstanceArnT&& value) {
486 m_iAMIdentityCenterInstanceArnHasBeenSet = true;
487 m_iAMIdentityCenterInstanceArn = std::forward<IAMIdentityCenterInstanceArnT>(value);
488 }
489 template <typename IAMIdentityCenterInstanceArnT = Aws::String>
491 SetIAMIdentityCenterInstanceArn(std::forward<IAMIdentityCenterInstanceArnT>(value));
492 return *this;
493 }
495 private:
496 Edition m_edition{Edition::NOT_SET};
497
499
500 Aws::String m_awsAccountId;
501
502 Aws::String m_accountName;
503
504 Aws::String m_notificationEmail;
505
506 Aws::String m_activeDirectoryName;
507
508 Aws::String m_realm;
509
510 Aws::String m_directoryId;
511
512 Aws::Vector<Aws::String> m_adminGroup;
513
514 Aws::Vector<Aws::String> m_authorGroup;
515
516 Aws::Vector<Aws::String> m_readerGroup;
517
518 Aws::Vector<Aws::String> m_adminProGroup;
519
520 Aws::Vector<Aws::String> m_authorProGroup;
521
522 Aws::Vector<Aws::String> m_readerProGroup;
523
524 Aws::String m_firstName;
525
526 Aws::String m_lastName;
527
528 Aws::String m_emailAddress;
529
530 Aws::String m_contactNumber;
531
532 Aws::String m_iAMIdentityCenterInstanceArn;
533 bool m_editionHasBeenSet = false;
534 bool m_authenticationMethodHasBeenSet = false;
535 bool m_awsAccountIdHasBeenSet = false;
536 bool m_accountNameHasBeenSet = false;
537 bool m_notificationEmailHasBeenSet = false;
538 bool m_activeDirectoryNameHasBeenSet = false;
539 bool m_realmHasBeenSet = false;
540 bool m_directoryIdHasBeenSet = false;
541 bool m_adminGroupHasBeenSet = false;
542 bool m_authorGroupHasBeenSet = false;
543 bool m_readerGroupHasBeenSet = false;
544 bool m_adminProGroupHasBeenSet = false;
545 bool m_authorProGroupHasBeenSet = false;
546 bool m_readerProGroupHasBeenSet = false;
547 bool m_firstNameHasBeenSet = false;
548 bool m_lastNameHasBeenSet = false;
549 bool m_emailAddressHasBeenSet = false;
550 bool m_contactNumberHasBeenSet = false;
551 bool m_iAMIdentityCenterInstanceArnHasBeenSet = false;
552};
553
554} // namespace Model
555} // namespace QuickSight
556} // namespace Aws
void SetIAMIdentityCenterInstanceArn(IAMIdentityCenterInstanceArnT &&value)
CreateAccountSubscriptionRequest & WithReaderProGroup(ReaderProGroupT &&value)
CreateAccountSubscriptionRequest & AddAuthorProGroup(AuthorProGroupT &&value)
CreateAccountSubscriptionRequest & WithAdminGroup(AdminGroupT &&value)
CreateAccountSubscriptionRequest & WithAuthenticationMethod(AuthenticationMethodOption value)
CreateAccountSubscriptionRequest & WithAwsAccountId(AwsAccountIdT &&value)
CreateAccountSubscriptionRequest & WithAdminProGroup(AdminProGroupT &&value)
CreateAccountSubscriptionRequest & WithActiveDirectoryName(ActiveDirectoryNameT &&value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
CreateAccountSubscriptionRequest & WithFirstName(FirstNameT &&value)
CreateAccountSubscriptionRequest & WithNotificationEmail(NotificationEmailT &&value)
CreateAccountSubscriptionRequest & WithContactNumber(ContactNumberT &&value)
CreateAccountSubscriptionRequest & WithRealm(RealmT &&value)
CreateAccountSubscriptionRequest & WithAuthorProGroup(AuthorProGroupT &&value)
CreateAccountSubscriptionRequest & WithIAMIdentityCenterInstanceArn(IAMIdentityCenterInstanceArnT &&value)
CreateAccountSubscriptionRequest & WithLastName(LastNameT &&value)
CreateAccountSubscriptionRequest & WithEmailAddress(EmailAddressT &&value)
CreateAccountSubscriptionRequest & WithAccountName(AccountNameT &&value)
CreateAccountSubscriptionRequest & AddAuthorGroup(AuthorGroupT &&value)
CreateAccountSubscriptionRequest & WithDirectoryId(DirectoryIdT &&value)
CreateAccountSubscriptionRequest & WithReaderGroup(ReaderGroupT &&value)
CreateAccountSubscriptionRequest & WithAuthorGroup(AuthorGroupT &&value)
CreateAccountSubscriptionRequest & WithEdition(Edition value)
CreateAccountSubscriptionRequest & AddAdminGroup(AdminGroupT &&value)
AWS_QUICKSIGHT_API CreateAccountSubscriptionRequest()=default
CreateAccountSubscriptionRequest & AddReaderGroup(ReaderGroupT &&value)
CreateAccountSubscriptionRequest & AddReaderProGroup(ReaderProGroupT &&value)
CreateAccountSubscriptionRequest & AddAdminProGroup(AdminProGroupT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector