AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
CreateAccountSubscriptionRequest.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/QuickSightRequest.h>
9#include <aws/quicksight/model/Edition.h>
10#include <aws/quicksight/model/AuthenticationMethodOption.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <utility>
14
15namespace Aws
16{
17namespace QuickSight
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_QUICKSIGHT_API CreateAccountSubscriptionRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreateAccountSubscription"; }
34
35 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
36
37
39
48 inline Edition GetEdition() const { return m_edition; }
49 inline bool EditionHasBeenSet() const { return m_editionHasBeenSet; }
50 inline void SetEdition(Edition value) { m_editionHasBeenSet = true; m_edition = value; }
51 inline CreateAccountSubscriptionRequest& WithEdition(Edition value) { SetEdition(value); return *this;}
53
55
63 inline AuthenticationMethodOption GetAuthenticationMethod() const { return m_authenticationMethod; }
64 inline bool AuthenticationMethodHasBeenSet() const { return m_authenticationMethodHasBeenSet; }
65 inline void SetAuthenticationMethod(AuthenticationMethodOption value) { m_authenticationMethodHasBeenSet = true; m_authenticationMethod = value; }
68
70
74 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
75 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
76 template<typename AwsAccountIdT = Aws::String>
77 void SetAwsAccountId(AwsAccountIdT&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::forward<AwsAccountIdT>(value); }
78 template<typename AwsAccountIdT = Aws::String>
79 CreateAccountSubscriptionRequest& WithAwsAccountId(AwsAccountIdT&& value) { SetAwsAccountId(std::forward<AwsAccountIdT>(value)); return *this;}
81
83
89 inline const Aws::String& GetAccountName() const { return m_accountName; }
90 inline bool AccountNameHasBeenSet() const { return m_accountNameHasBeenSet; }
91 template<typename AccountNameT = Aws::String>
92 void SetAccountName(AccountNameT&& value) { m_accountNameHasBeenSet = true; m_accountName = std::forward<AccountNameT>(value); }
93 template<typename AccountNameT = Aws::String>
94 CreateAccountSubscriptionRequest& WithAccountName(AccountNameT&& value) { SetAccountName(std::forward<AccountNameT>(value)); return *this;}
96
98
102 inline const Aws::String& GetNotificationEmail() const { return m_notificationEmail; }
103 inline bool NotificationEmailHasBeenSet() const { return m_notificationEmailHasBeenSet; }
104 template<typename NotificationEmailT = Aws::String>
105 void SetNotificationEmail(NotificationEmailT&& value) { m_notificationEmailHasBeenSet = true; m_notificationEmail = std::forward<NotificationEmailT>(value); }
106 template<typename NotificationEmailT = Aws::String>
107 CreateAccountSubscriptionRequest& WithNotificationEmail(NotificationEmailT&& value) { SetNotificationEmail(std::forward<NotificationEmailT>(value)); return *this;}
109
111
116 inline const Aws::String& GetActiveDirectoryName() const { return m_activeDirectoryName; }
117 inline bool ActiveDirectoryNameHasBeenSet() const { return m_activeDirectoryNameHasBeenSet; }
118 template<typename ActiveDirectoryNameT = Aws::String>
119 void SetActiveDirectoryName(ActiveDirectoryNameT&& value) { m_activeDirectoryNameHasBeenSet = true; m_activeDirectoryName = std::forward<ActiveDirectoryNameT>(value); }
120 template<typename ActiveDirectoryNameT = Aws::String>
121 CreateAccountSubscriptionRequest& WithActiveDirectoryName(ActiveDirectoryNameT&& value) { SetActiveDirectoryName(std::forward<ActiveDirectoryNameT>(value)); return *this;}
123
125
130 inline const Aws::String& GetRealm() const { return m_realm; }
131 inline bool RealmHasBeenSet() const { return m_realmHasBeenSet; }
132 template<typename RealmT = Aws::String>
133 void SetRealm(RealmT&& value) { m_realmHasBeenSet = true; m_realm = std::forward<RealmT>(value); }
134 template<typename RealmT = Aws::String>
135 CreateAccountSubscriptionRequest& WithRealm(RealmT&& value) { SetRealm(std::forward<RealmT>(value)); return *this;}
137
139
143 inline const Aws::String& GetDirectoryId() const { return m_directoryId; }
144 inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; }
145 template<typename DirectoryIdT = Aws::String>
146 void SetDirectoryId(DirectoryIdT&& value) { m_directoryIdHasBeenSet = true; m_directoryId = std::forward<DirectoryIdT>(value); }
147 template<typename DirectoryIdT = Aws::String>
148 CreateAccountSubscriptionRequest& WithDirectoryId(DirectoryIdT&& value) { SetDirectoryId(std::forward<DirectoryIdT>(value)); return *this;}
150
152
166 inline const Aws::Vector<Aws::String>& GetAdminGroup() const { return m_adminGroup; }
167 inline bool AdminGroupHasBeenSet() const { return m_adminGroupHasBeenSet; }
168 template<typename AdminGroupT = Aws::Vector<Aws::String>>
169 void SetAdminGroup(AdminGroupT&& value) { m_adminGroupHasBeenSet = true; m_adminGroup = std::forward<AdminGroupT>(value); }
170 template<typename AdminGroupT = Aws::Vector<Aws::String>>
171 CreateAccountSubscriptionRequest& WithAdminGroup(AdminGroupT&& value) { SetAdminGroup(std::forward<AdminGroupT>(value)); return *this;}
172 template<typename AdminGroupT = Aws::String>
173 CreateAccountSubscriptionRequest& AddAdminGroup(AdminGroupT&& value) { m_adminGroupHasBeenSet = true; m_adminGroup.emplace_back(std::forward<AdminGroupT>(value)); return *this; }
175
177
189 inline const Aws::Vector<Aws::String>& GetAuthorGroup() const { return m_authorGroup; }
190 inline bool AuthorGroupHasBeenSet() const { return m_authorGroupHasBeenSet; }
191 template<typename AuthorGroupT = Aws::Vector<Aws::String>>
192 void SetAuthorGroup(AuthorGroupT&& value) { m_authorGroupHasBeenSet = true; m_authorGroup = std::forward<AuthorGroupT>(value); }
193 template<typename AuthorGroupT = Aws::Vector<Aws::String>>
194 CreateAccountSubscriptionRequest& WithAuthorGroup(AuthorGroupT&& value) { SetAuthorGroup(std::forward<AuthorGroupT>(value)); return *this;}
195 template<typename AuthorGroupT = Aws::String>
196 CreateAccountSubscriptionRequest& AddAuthorGroup(AuthorGroupT&& value) { m_authorGroupHasBeenSet = true; m_authorGroup.emplace_back(std::forward<AuthorGroupT>(value)); return *this; }
198
200
212 inline const Aws::Vector<Aws::String>& GetReaderGroup() const { return m_readerGroup; }
213 inline bool ReaderGroupHasBeenSet() const { return m_readerGroupHasBeenSet; }
214 template<typename ReaderGroupT = Aws::Vector<Aws::String>>
215 void SetReaderGroup(ReaderGroupT&& value) { m_readerGroupHasBeenSet = true; m_readerGroup = std::forward<ReaderGroupT>(value); }
216 template<typename ReaderGroupT = Aws::Vector<Aws::String>>
217 CreateAccountSubscriptionRequest& WithReaderGroup(ReaderGroupT&& value) { SetReaderGroup(std::forward<ReaderGroupT>(value)); return *this;}
218 template<typename ReaderGroupT = Aws::String>
219 CreateAccountSubscriptionRequest& AddReaderGroup(ReaderGroupT&& value) { m_readerGroupHasBeenSet = true; m_readerGroup.emplace_back(std::forward<ReaderGroupT>(value)); return *this; }
221
223
238 inline const Aws::Vector<Aws::String>& GetAdminProGroup() const { return m_adminProGroup; }
239 inline bool AdminProGroupHasBeenSet() const { return m_adminProGroupHasBeenSet; }
240 template<typename AdminProGroupT = Aws::Vector<Aws::String>>
241 void SetAdminProGroup(AdminProGroupT&& value) { m_adminProGroupHasBeenSet = true; m_adminProGroup = std::forward<AdminProGroupT>(value); }
242 template<typename AdminProGroupT = Aws::Vector<Aws::String>>
243 CreateAccountSubscriptionRequest& WithAdminProGroup(AdminProGroupT&& value) { SetAdminProGroup(std::forward<AdminProGroupT>(value)); return *this;}
244 template<typename AdminProGroupT = Aws::String>
245 CreateAccountSubscriptionRequest& AddAdminProGroup(AdminProGroupT&& value) { m_adminProGroupHasBeenSet = true; m_adminProGroup.emplace_back(std::forward<AdminProGroupT>(value)); return *this; }
247
249
261 inline const Aws::Vector<Aws::String>& GetAuthorProGroup() const { return m_authorProGroup; }
262 inline bool AuthorProGroupHasBeenSet() const { return m_authorProGroupHasBeenSet; }
263 template<typename AuthorProGroupT = Aws::Vector<Aws::String>>
264 void SetAuthorProGroup(AuthorProGroupT&& value) { m_authorProGroupHasBeenSet = true; m_authorProGroup = std::forward<AuthorProGroupT>(value); }
265 template<typename AuthorProGroupT = Aws::Vector<Aws::String>>
266 CreateAccountSubscriptionRequest& WithAuthorProGroup(AuthorProGroupT&& value) { SetAuthorProGroup(std::forward<AuthorProGroupT>(value)); return *this;}
267 template<typename AuthorProGroupT = Aws::String>
268 CreateAccountSubscriptionRequest& AddAuthorProGroup(AuthorProGroupT&& value) { m_authorProGroupHasBeenSet = true; m_authorProGroup.emplace_back(std::forward<AuthorProGroupT>(value)); return *this; }
270
272
284 inline const Aws::Vector<Aws::String>& GetReaderProGroup() const { return m_readerProGroup; }
285 inline bool ReaderProGroupHasBeenSet() const { return m_readerProGroupHasBeenSet; }
286 template<typename ReaderProGroupT = Aws::Vector<Aws::String>>
287 void SetReaderProGroup(ReaderProGroupT&& value) { m_readerProGroupHasBeenSet = true; m_readerProGroup = std::forward<ReaderProGroupT>(value); }
288 template<typename ReaderProGroupT = Aws::Vector<Aws::String>>
289 CreateAccountSubscriptionRequest& WithReaderProGroup(ReaderProGroupT&& value) { SetReaderProGroup(std::forward<ReaderProGroupT>(value)); return *this;}
290 template<typename ReaderProGroupT = Aws::String>
291 CreateAccountSubscriptionRequest& AddReaderProGroup(ReaderProGroupT&& value) { m_readerProGroupHasBeenSet = true; m_readerProGroup.emplace_back(std::forward<ReaderProGroupT>(value)); return *this; }
293
295
300 inline const Aws::String& GetFirstName() const { return m_firstName; }
301 inline bool FirstNameHasBeenSet() const { return m_firstNameHasBeenSet; }
302 template<typename FirstNameT = Aws::String>
303 void SetFirstName(FirstNameT&& value) { m_firstNameHasBeenSet = true; m_firstName = std::forward<FirstNameT>(value); }
304 template<typename FirstNameT = Aws::String>
305 CreateAccountSubscriptionRequest& WithFirstName(FirstNameT&& value) { SetFirstName(std::forward<FirstNameT>(value)); return *this;}
307
309
314 inline const Aws::String& GetLastName() const { return m_lastName; }
315 inline bool LastNameHasBeenSet() const { return m_lastNameHasBeenSet; }
316 template<typename LastNameT = Aws::String>
317 void SetLastName(LastNameT&& value) { m_lastNameHasBeenSet = true; m_lastName = std::forward<LastNameT>(value); }
318 template<typename LastNameT = Aws::String>
319 CreateAccountSubscriptionRequest& WithLastName(LastNameT&& value) { SetLastName(std::forward<LastNameT>(value)); return *this;}
321
323
328 inline const Aws::String& GetEmailAddress() const { return m_emailAddress; }
329 inline bool EmailAddressHasBeenSet() const { return m_emailAddressHasBeenSet; }
330 template<typename EmailAddressT = Aws::String>
331 void SetEmailAddress(EmailAddressT&& value) { m_emailAddressHasBeenSet = true; m_emailAddress = std::forward<EmailAddressT>(value); }
332 template<typename EmailAddressT = Aws::String>
333 CreateAccountSubscriptionRequest& WithEmailAddress(EmailAddressT&& value) { SetEmailAddress(std::forward<EmailAddressT>(value)); return *this;}
335
337
343 inline const Aws::String& GetContactNumber() const { return m_contactNumber; }
344 inline bool ContactNumberHasBeenSet() const { return m_contactNumberHasBeenSet; }
345 template<typename ContactNumberT = Aws::String>
346 void SetContactNumber(ContactNumberT&& value) { m_contactNumberHasBeenSet = true; m_contactNumber = std::forward<ContactNumberT>(value); }
347 template<typename ContactNumberT = Aws::String>
348 CreateAccountSubscriptionRequest& WithContactNumber(ContactNumberT&& value) { SetContactNumber(std::forward<ContactNumberT>(value)); return *this;}
350
352
355 inline const Aws::String& GetIAMIdentityCenterInstanceArn() const { return m_iAMIdentityCenterInstanceArn; }
356 inline bool IAMIdentityCenterInstanceArnHasBeenSet() const { return m_iAMIdentityCenterInstanceArnHasBeenSet; }
357 template<typename IAMIdentityCenterInstanceArnT = Aws::String>
358 void SetIAMIdentityCenterInstanceArn(IAMIdentityCenterInstanceArnT&& value) { m_iAMIdentityCenterInstanceArnHasBeenSet = true; m_iAMIdentityCenterInstanceArn = std::forward<IAMIdentityCenterInstanceArnT>(value); }
359 template<typename IAMIdentityCenterInstanceArnT = Aws::String>
360 CreateAccountSubscriptionRequest& WithIAMIdentityCenterInstanceArn(IAMIdentityCenterInstanceArnT&& value) { SetIAMIdentityCenterInstanceArn(std::forward<IAMIdentityCenterInstanceArnT>(value)); return *this;}
362 private:
363
364 Edition m_edition{Edition::NOT_SET};
365 bool m_editionHasBeenSet = false;
366
368 bool m_authenticationMethodHasBeenSet = false;
369
370 Aws::String m_awsAccountId;
371 bool m_awsAccountIdHasBeenSet = false;
372
373 Aws::String m_accountName;
374 bool m_accountNameHasBeenSet = false;
375
376 Aws::String m_notificationEmail;
377 bool m_notificationEmailHasBeenSet = false;
378
379 Aws::String m_activeDirectoryName;
380 bool m_activeDirectoryNameHasBeenSet = false;
381
382 Aws::String m_realm;
383 bool m_realmHasBeenSet = false;
384
385 Aws::String m_directoryId;
386 bool m_directoryIdHasBeenSet = false;
387
388 Aws::Vector<Aws::String> m_adminGroup;
389 bool m_adminGroupHasBeenSet = false;
390
391 Aws::Vector<Aws::String> m_authorGroup;
392 bool m_authorGroupHasBeenSet = false;
393
394 Aws::Vector<Aws::String> m_readerGroup;
395 bool m_readerGroupHasBeenSet = false;
396
397 Aws::Vector<Aws::String> m_adminProGroup;
398 bool m_adminProGroupHasBeenSet = false;
399
400 Aws::Vector<Aws::String> m_authorProGroup;
401 bool m_authorProGroupHasBeenSet = false;
402
403 Aws::Vector<Aws::String> m_readerProGroup;
404 bool m_readerProGroupHasBeenSet = false;
405
406 Aws::String m_firstName;
407 bool m_firstNameHasBeenSet = false;
408
409 Aws::String m_lastName;
410 bool m_lastNameHasBeenSet = false;
411
412 Aws::String m_emailAddress;
413 bool m_emailAddressHasBeenSet = false;
414
415 Aws::String m_contactNumber;
416 bool m_contactNumberHasBeenSet = false;
417
418 Aws::String m_iAMIdentityCenterInstanceArn;
419 bool m_iAMIdentityCenterInstanceArnHasBeenSet = false;
420 };
421
422} // namespace Model
423} // namespace QuickSight
424} // 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