AWS SDK for C++  1.9.154
AWS SDK for C++
AccountSettings.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace QuickSight
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
48  inline const Aws::String& GetAccountName() const{ return m_accountName; }
49 
56  inline bool AccountNameHasBeenSet() const { return m_accountNameHasBeenSet; }
57 
64  inline void SetAccountName(const Aws::String& value) { m_accountNameHasBeenSet = true; m_accountName = value; }
65 
72  inline void SetAccountName(Aws::String&& value) { m_accountNameHasBeenSet = true; m_accountName = std::move(value); }
73 
80  inline void SetAccountName(const char* value) { m_accountNameHasBeenSet = true; m_accountName.assign(value); }
81 
88  inline AccountSettings& WithAccountName(const Aws::String& value) { SetAccountName(value); return *this;}
89 
96  inline AccountSettings& WithAccountName(Aws::String&& value) { SetAccountName(std::move(value)); return *this;}
97 
104  inline AccountSettings& WithAccountName(const char* value) { SetAccountName(value); return *this;}
105 
106 
111  inline const Edition& GetEdition() const{ return m_edition; }
112 
117  inline bool EditionHasBeenSet() const { return m_editionHasBeenSet; }
118 
123  inline void SetEdition(const Edition& value) { m_editionHasBeenSet = true; m_edition = value; }
124 
129  inline void SetEdition(Edition&& value) { m_editionHasBeenSet = true; m_edition = std::move(value); }
130 
135  inline AccountSettings& WithEdition(const Edition& value) { SetEdition(value); return *this;}
136 
141  inline AccountSettings& WithEdition(Edition&& value) { SetEdition(std::move(value)); return *this;}
142 
143 
148  inline const Aws::String& GetDefaultNamespace() const{ return m_defaultNamespace; }
149 
154  inline bool DefaultNamespaceHasBeenSet() const { return m_defaultNamespaceHasBeenSet; }
155 
160  inline void SetDefaultNamespace(const Aws::String& value) { m_defaultNamespaceHasBeenSet = true; m_defaultNamespace = value; }
161 
166  inline void SetDefaultNamespace(Aws::String&& value) { m_defaultNamespaceHasBeenSet = true; m_defaultNamespace = std::move(value); }
167 
172  inline void SetDefaultNamespace(const char* value) { m_defaultNamespaceHasBeenSet = true; m_defaultNamespace.assign(value); }
173 
178  inline AccountSettings& WithDefaultNamespace(const Aws::String& value) { SetDefaultNamespace(value); return *this;}
179 
184  inline AccountSettings& WithDefaultNamespace(Aws::String&& value) { SetDefaultNamespace(std::move(value)); return *this;}
185 
190  inline AccountSettings& WithDefaultNamespace(const char* value) { SetDefaultNamespace(value); return *this;}
191 
192 
196  inline const Aws::String& GetNotificationEmail() const{ return m_notificationEmail; }
197 
201  inline bool NotificationEmailHasBeenSet() const { return m_notificationEmailHasBeenSet; }
202 
206  inline void SetNotificationEmail(const Aws::String& value) { m_notificationEmailHasBeenSet = true; m_notificationEmail = value; }
207 
211  inline void SetNotificationEmail(Aws::String&& value) { m_notificationEmailHasBeenSet = true; m_notificationEmail = std::move(value); }
212 
216  inline void SetNotificationEmail(const char* value) { m_notificationEmailHasBeenSet = true; m_notificationEmail.assign(value); }
217 
221  inline AccountSettings& WithNotificationEmail(const Aws::String& value) { SetNotificationEmail(value); return *this;}
222 
226  inline AccountSettings& WithNotificationEmail(Aws::String&& value) { SetNotificationEmail(std::move(value)); return *this;}
227 
231  inline AccountSettings& WithNotificationEmail(const char* value) { SetNotificationEmail(value); return *this;}
232 
233  private:
234 
235  Aws::String m_accountName;
236  bool m_accountNameHasBeenSet;
237 
238  Edition m_edition;
239  bool m_editionHasBeenSet;
240 
241  Aws::String m_defaultNamespace;
242  bool m_defaultNamespaceHasBeenSet;
243 
244  Aws::String m_notificationEmail;
245  bool m_notificationEmailHasBeenSet;
246  };
247 
248 } // namespace Model
249 } // namespace QuickSight
250 } // namespace Aws
Aws::QuickSight::Model::AccountSettings::WithNotificationEmail
AccountSettings & WithNotificationEmail(Aws::String &&value)
Definition: AccountSettings.h:226
Aws::QuickSight::Model::AccountSettings::SetNotificationEmail
void SetNotificationEmail(const Aws::String &value)
Definition: AccountSettings.h:206
QuickSight_EXPORTS.h
Aws::QuickSight::Model::AccountSettings::GetEdition
const Edition & GetEdition() const
Definition: AccountSettings.h:111
Aws::QuickSight::Model::AccountSettings::WithDefaultNamespace
AccountSettings & WithDefaultNamespace(const char *value)
Definition: AccountSettings.h:190
Aws::QuickSight::Model::AccountSettings::AccountSettings
AccountSettings(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::AccountSettings::SetAccountName
void SetAccountName(const char *value)
Definition: AccountSettings.h:80
Aws::QuickSight::Model::AccountSettings::NotificationEmailHasBeenSet
bool NotificationEmailHasBeenSet() const
Definition: AccountSettings.h:201
Aws::QuickSight::Model::AccountSettings::AccountSettings
AccountSettings()
Edition.h
Aws::QuickSight::Model::AccountSettings::GetNotificationEmail
const Aws::String & GetNotificationEmail() const
Definition: AccountSettings.h:196
Aws::QuickSight::Model::AccountSettings::SetDefaultNamespace
void SetDefaultNamespace(const Aws::String &value)
Definition: AccountSettings.h:160
Aws::QuickSight::Model::AccountSettings::WithEdition
AccountSettings & WithEdition(const Edition &value)
Definition: AccountSettings.h:135
Aws::QuickSight::Model::AccountSettings::SetNotificationEmail
void SetNotificationEmail(const char *value)
Definition: AccountSettings.h:216
Aws::QuickSight::Model::AccountSettings::WithAccountName
AccountSettings & WithAccountName(const Aws::String &value)
Definition: AccountSettings.h:88
Aws::QuickSight::Model::AccountSettings::WithAccountName
AccountSettings & WithAccountName(const char *value)
Definition: AccountSettings.h:104
Aws::QuickSight::Model::AccountSettings::SetEdition
void SetEdition(const Edition &value)
Definition: AccountSettings.h:123
Aws::QuickSight::Model::AccountSettings::SetDefaultNamespace
void SetDefaultNamespace(Aws::String &&value)
Definition: AccountSettings.h:166
Aws::QuickSight::Model::AccountSettings::GetAccountName
const Aws::String & GetAccountName() const
Definition: AccountSettings.h:48
Aws::QuickSight::Model::AccountSettings::AccountNameHasBeenSet
bool AccountNameHasBeenSet() const
Definition: AccountSettings.h:56
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::QuickSight::Model::AccountSettings::SetDefaultNamespace
void SetDefaultNamespace(const char *value)
Definition: AccountSettings.h:172
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::QuickSight::Model::Edition
Edition
Definition: Edition.h:17
Aws::QuickSight::Model::AccountSettings::WithDefaultNamespace
AccountSettings & WithDefaultNamespace(Aws::String &&value)
Definition: AccountSettings.h:184
Aws::QuickSight::Model::AccountSettings::DefaultNamespaceHasBeenSet
bool DefaultNamespaceHasBeenSet() const
Definition: AccountSettings.h:154
Aws::QuickSight::Model::AccountSettings::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::QuickSight::Model::AccountSettings::SetAccountName
void SetAccountName(Aws::String &&value)
Definition: AccountSettings.h:72
Aws::QuickSight::Model::AccountSettings
Definition: AccountSettings.h:34
Aws::QuickSight::Model::AccountSettings::WithNotificationEmail
AccountSettings & WithNotificationEmail(const Aws::String &value)
Definition: AccountSettings.h:221
Aws::QuickSight::Model::AccountSettings::WithDefaultNamespace
AccountSettings & WithDefaultNamespace(const Aws::String &value)
Definition: AccountSettings.h:178
Aws::QuickSight::Model::AccountSettings::EditionHasBeenSet
bool EditionHasBeenSet() const
Definition: AccountSettings.h:117
Aws::QuickSight::Model::AccountSettings::WithAccountName
AccountSettings & WithAccountName(Aws::String &&value)
Definition: AccountSettings.h:96
Aws::QuickSight::Model::AccountSettings::WithNotificationEmail
AccountSettings & WithNotificationEmail(const char *value)
Definition: AccountSettings.h:231
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::AccountSettings::GetDefaultNamespace
const Aws::String & GetDefaultNamespace() const
Definition: AccountSettings.h:148
Aws::QuickSight::Model::AccountSettings::operator=
AccountSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::AccountSettings::SetNotificationEmail
void SetNotificationEmail(Aws::String &&value)
Definition: AccountSettings.h:211
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::AccountSettings::WithEdition
AccountSettings & WithEdition(Edition &&value)
Definition: AccountSettings.h:141
Aws::QuickSight::Model::AccountSettings::SetEdition
void SetEdition(Edition &&value)
Definition: AccountSettings.h:129
Aws::QuickSight::Model::AccountSettings::SetAccountName
void SetAccountName(const Aws::String &value)
Definition: AccountSettings.h:64