AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AccountSettings.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
34 {
35 public:
36 AWS_QUICKSIGHT_API AccountSettings();
37 AWS_QUICKSIGHT_API AccountSettings(Aws::Utils::Json::JsonView jsonValue);
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
49 inline const Aws::String& GetAccountName() const{ return m_accountName; }
50 inline bool AccountNameHasBeenSet() const { return m_accountNameHasBeenSet; }
51 inline void SetAccountName(const Aws::String& value) { m_accountNameHasBeenSet = true; m_accountName = value; }
52 inline void SetAccountName(Aws::String&& value) { m_accountNameHasBeenSet = true; m_accountName = std::move(value); }
53 inline void SetAccountName(const char* value) { m_accountNameHasBeenSet = true; m_accountName.assign(value); }
54 inline AccountSettings& WithAccountName(const Aws::String& value) { SetAccountName(value); return *this;}
55 inline AccountSettings& WithAccountName(Aws::String&& value) { SetAccountName(std::move(value)); return *this;}
56 inline AccountSettings& WithAccountName(const char* value) { SetAccountName(value); return *this;}
58
60
64 inline const Edition& GetEdition() const{ return m_edition; }
65 inline bool EditionHasBeenSet() const { return m_editionHasBeenSet; }
66 inline void SetEdition(const Edition& value) { m_editionHasBeenSet = true; m_edition = value; }
67 inline void SetEdition(Edition&& value) { m_editionHasBeenSet = true; m_edition = std::move(value); }
68 inline AccountSettings& WithEdition(const Edition& value) { SetEdition(value); return *this;}
69 inline AccountSettings& WithEdition(Edition&& value) { SetEdition(std::move(value)); return *this;}
71
73
77 inline const Aws::String& GetDefaultNamespace() const{ return m_defaultNamespace; }
78 inline bool DefaultNamespaceHasBeenSet() const { return m_defaultNamespaceHasBeenSet; }
79 inline void SetDefaultNamespace(const Aws::String& value) { m_defaultNamespaceHasBeenSet = true; m_defaultNamespace = value; }
80 inline void SetDefaultNamespace(Aws::String&& value) { m_defaultNamespaceHasBeenSet = true; m_defaultNamespace = std::move(value); }
81 inline void SetDefaultNamespace(const char* value) { m_defaultNamespaceHasBeenSet = true; m_defaultNamespace.assign(value); }
82 inline AccountSettings& WithDefaultNamespace(const Aws::String& value) { SetDefaultNamespace(value); return *this;}
83 inline AccountSettings& WithDefaultNamespace(Aws::String&& value) { SetDefaultNamespace(std::move(value)); return *this;}
84 inline AccountSettings& WithDefaultNamespace(const char* value) { SetDefaultNamespace(value); return *this;}
86
88
91 inline const Aws::String& GetNotificationEmail() const{ return m_notificationEmail; }
92 inline bool NotificationEmailHasBeenSet() const { return m_notificationEmailHasBeenSet; }
93 inline void SetNotificationEmail(const Aws::String& value) { m_notificationEmailHasBeenSet = true; m_notificationEmail = value; }
94 inline void SetNotificationEmail(Aws::String&& value) { m_notificationEmailHasBeenSet = true; m_notificationEmail = std::move(value); }
95 inline void SetNotificationEmail(const char* value) { m_notificationEmailHasBeenSet = true; m_notificationEmail.assign(value); }
96 inline AccountSettings& WithNotificationEmail(const Aws::String& value) { SetNotificationEmail(value); return *this;}
97 inline AccountSettings& WithNotificationEmail(Aws::String&& value) { SetNotificationEmail(std::move(value)); return *this;}
98 inline AccountSettings& WithNotificationEmail(const char* value) { SetNotificationEmail(value); return *this;}
100
102
108 inline bool GetPublicSharingEnabled() const{ return m_publicSharingEnabled; }
109 inline bool PublicSharingEnabledHasBeenSet() const { return m_publicSharingEnabledHasBeenSet; }
110 inline void SetPublicSharingEnabled(bool value) { m_publicSharingEnabledHasBeenSet = true; m_publicSharingEnabled = value; }
111 inline AccountSettings& WithPublicSharingEnabled(bool value) { SetPublicSharingEnabled(value); return *this;}
113
115
122 inline bool GetTerminationProtectionEnabled() const{ return m_terminationProtectionEnabled; }
123 inline bool TerminationProtectionEnabledHasBeenSet() const { return m_terminationProtectionEnabledHasBeenSet; }
124 inline void SetTerminationProtectionEnabled(bool value) { m_terminationProtectionEnabledHasBeenSet = true; m_terminationProtectionEnabled = value; }
127 private:
128
129 Aws::String m_accountName;
130 bool m_accountNameHasBeenSet = false;
131
132 Edition m_edition;
133 bool m_editionHasBeenSet = false;
134
135 Aws::String m_defaultNamespace;
136 bool m_defaultNamespaceHasBeenSet = false;
137
138 Aws::String m_notificationEmail;
139 bool m_notificationEmailHasBeenSet = false;
140
141 bool m_publicSharingEnabled;
142 bool m_publicSharingEnabledHasBeenSet = false;
143
144 bool m_terminationProtectionEnabled;
145 bool m_terminationProtectionEnabledHasBeenSet = false;
146 };
147
148} // namespace Model
149} // namespace QuickSight
150} // namespace Aws
AccountSettings & WithAccountName(const Aws::String &value)
void SetEdition(const Edition &value)
void SetNotificationEmail(Aws::String &&value)
void SetNotificationEmail(const char *value)
const Aws::String & GetNotificationEmail() const
AccountSettings & WithDefaultNamespace(const char *value)
AccountSettings & WithNotificationEmail(const Aws::String &value)
AccountSettings & WithEdition(const Edition &value)
void SetDefaultNamespace(Aws::String &&value)
AccountSettings & WithTerminationProtectionEnabled(bool value)
AccountSettings & WithAccountName(Aws::String &&value)
AccountSettings & WithEdition(Edition &&value)
void SetDefaultNamespace(const Aws::String &value)
AWS_QUICKSIGHT_API AccountSettings(Aws::Utils::Json::JsonView jsonValue)
AccountSettings & WithNotificationEmail(Aws::String &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API AccountSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetNotificationEmail(const Aws::String &value)
AccountSettings & WithDefaultNamespace(const Aws::String &value)
void SetAccountName(Aws::String &&value)
AccountSettings & WithAccountName(const char *value)
void SetDefaultNamespace(const char *value)
const Aws::String & GetDefaultNamespace() const
void SetAccountName(const Aws::String &value)
AccountSettings & WithNotificationEmail(const char *value)
AccountSettings & WithPublicSharingEnabled(bool value)
AccountSettings & WithDefaultNamespace(Aws::String &&value)
const Aws::String & GetAccountName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue