AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
AccountInfo.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/Edition.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight
23{
24namespace Model
25{
26
39 {
40 public:
41 AWS_QUICKSIGHT_API AccountInfo() = default;
42 AWS_QUICKSIGHT_API AccountInfo(Aws::Utils::Json::JsonView jsonValue);
43 AWS_QUICKSIGHT_API AccountInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
54 inline const Aws::String& GetAccountName() const { return m_accountName; }
55 inline bool AccountNameHasBeenSet() const { return m_accountNameHasBeenSet; }
56 template<typename AccountNameT = Aws::String>
57 void SetAccountName(AccountNameT&& value) { m_accountNameHasBeenSet = true; m_accountName = std::forward<AccountNameT>(value); }
58 template<typename AccountNameT = Aws::String>
59 AccountInfo& WithAccountName(AccountNameT&& value) { SetAccountName(std::forward<AccountNameT>(value)); return *this;}
61
63
66 inline Edition GetEdition() const { return m_edition; }
67 inline bool EditionHasBeenSet() const { return m_editionHasBeenSet; }
68 inline void SetEdition(Edition value) { m_editionHasBeenSet = true; m_edition = value; }
69 inline AccountInfo& WithEdition(Edition value) { SetEdition(value); return *this;}
71
73
78 inline const Aws::String& GetNotificationEmail() const { return m_notificationEmail; }
79 inline bool NotificationEmailHasBeenSet() const { return m_notificationEmailHasBeenSet; }
80 template<typename NotificationEmailT = Aws::String>
81 void SetNotificationEmail(NotificationEmailT&& value) { m_notificationEmailHasBeenSet = true; m_notificationEmail = std::forward<NotificationEmailT>(value); }
82 template<typename NotificationEmailT = Aws::String>
83 AccountInfo& WithNotificationEmail(NotificationEmailT&& value) { SetNotificationEmail(std::forward<NotificationEmailT>(value)); return *this;}
85
87
90 inline const Aws::String& GetAuthenticationType() const { return m_authenticationType; }
91 inline bool AuthenticationTypeHasBeenSet() const { return m_authenticationTypeHasBeenSet; }
92 template<typename AuthenticationTypeT = Aws::String>
93 void SetAuthenticationType(AuthenticationTypeT&& value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = std::forward<AuthenticationTypeT>(value); }
94 template<typename AuthenticationTypeT = Aws::String>
95 AccountInfo& WithAuthenticationType(AuthenticationTypeT&& value) { SetAuthenticationType(std::forward<AuthenticationTypeT>(value)); return *this;}
97
99
102 inline const Aws::String& GetAccountSubscriptionStatus() const { return m_accountSubscriptionStatus; }
103 inline bool AccountSubscriptionStatusHasBeenSet() const { return m_accountSubscriptionStatusHasBeenSet; }
104 template<typename AccountSubscriptionStatusT = Aws::String>
105 void SetAccountSubscriptionStatus(AccountSubscriptionStatusT&& value) { m_accountSubscriptionStatusHasBeenSet = true; m_accountSubscriptionStatus = std::forward<AccountSubscriptionStatusT>(value); }
106 template<typename AccountSubscriptionStatusT = Aws::String>
107 AccountInfo& WithAccountSubscriptionStatus(AccountSubscriptionStatusT&& value) { SetAccountSubscriptionStatus(std::forward<AccountSubscriptionStatusT>(value)); return *this;}
109
111
114 inline const Aws::String& GetIAMIdentityCenterInstanceArn() const { return m_iAMIdentityCenterInstanceArn; }
115 inline bool IAMIdentityCenterInstanceArnHasBeenSet() const { return m_iAMIdentityCenterInstanceArnHasBeenSet; }
116 template<typename IAMIdentityCenterInstanceArnT = Aws::String>
117 void SetIAMIdentityCenterInstanceArn(IAMIdentityCenterInstanceArnT&& value) { m_iAMIdentityCenterInstanceArnHasBeenSet = true; m_iAMIdentityCenterInstanceArn = std::forward<IAMIdentityCenterInstanceArnT>(value); }
118 template<typename IAMIdentityCenterInstanceArnT = Aws::String>
119 AccountInfo& WithIAMIdentityCenterInstanceArn(IAMIdentityCenterInstanceArnT&& value) { SetIAMIdentityCenterInstanceArn(std::forward<IAMIdentityCenterInstanceArnT>(value)); return *this;}
121 private:
122
123 Aws::String m_accountName;
124 bool m_accountNameHasBeenSet = false;
125
126 Edition m_edition{Edition::NOT_SET};
127 bool m_editionHasBeenSet = false;
128
129 Aws::String m_notificationEmail;
130 bool m_notificationEmailHasBeenSet = false;
131
132 Aws::String m_authenticationType;
133 bool m_authenticationTypeHasBeenSet = false;
134
135 Aws::String m_accountSubscriptionStatus;
136 bool m_accountSubscriptionStatusHasBeenSet = false;
137
138 Aws::String m_iAMIdentityCenterInstanceArn;
139 bool m_iAMIdentityCenterInstanceArnHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace QuickSight
144} // namespace Aws
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API AccountInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetIAMIdentityCenterInstanceArn() const
bool IAMIdentityCenterInstanceArnHasBeenSet() const
AWS_QUICKSIGHT_API AccountInfo(Aws::Utils::Json::JsonView jsonValue)
void SetIAMIdentityCenterInstanceArn(IAMIdentityCenterInstanceArnT &&value)
void SetNotificationEmail(NotificationEmailT &&value)
Definition AccountInfo.h:81
AccountInfo & WithAccountName(AccountNameT &&value)
Definition AccountInfo.h:59
void SetAuthenticationType(AuthenticationTypeT &&value)
Definition AccountInfo.h:93
AccountInfo & WithEdition(Edition value)
Definition AccountInfo.h:69
AWS_QUICKSIGHT_API AccountInfo()=default
void SetAccountName(AccountNameT &&value)
Definition AccountInfo.h:57
AccountInfo & WithAccountSubscriptionStatus(AccountSubscriptionStatusT &&value)
AccountInfo & WithNotificationEmail(NotificationEmailT &&value)
Definition AccountInfo.h:83
const Aws::String & GetAuthenticationType() const
Definition AccountInfo.h:90
const Aws::String & GetNotificationEmail() const
Definition AccountInfo.h:78
AccountInfo & WithAuthenticationType(AuthenticationTypeT &&value)
Definition AccountInfo.h:95
const Aws::String & GetAccountName() const
Definition AccountInfo.h:54
const Aws::String & GetAccountSubscriptionStatus() const
AccountInfo & WithIAMIdentityCenterInstanceArn(IAMIdentityCenterInstanceArnT &&value)
void SetAccountSubscriptionStatus(AccountSubscriptionStatusT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue