AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename AccountNameT = Aws::String>
52 void SetAccountName(AccountNameT&& value) { m_accountNameHasBeenSet = true; m_accountName = std::forward<AccountNameT>(value); }
53 template<typename AccountNameT = Aws::String>
54 AccountSettings& WithAccountName(AccountNameT&& value) { SetAccountName(std::forward<AccountNameT>(value)); return *this;}
56
58
62 inline Edition GetEdition() const { return m_edition; }
63 inline bool EditionHasBeenSet() const { return m_editionHasBeenSet; }
64 inline void SetEdition(Edition value) { m_editionHasBeenSet = true; m_edition = value; }
65 inline AccountSettings& WithEdition(Edition value) { SetEdition(value); return *this;}
67
69
73 inline const Aws::String& GetDefaultNamespace() const { return m_defaultNamespace; }
74 inline bool DefaultNamespaceHasBeenSet() const { return m_defaultNamespaceHasBeenSet; }
75 template<typename DefaultNamespaceT = Aws::String>
76 void SetDefaultNamespace(DefaultNamespaceT&& value) { m_defaultNamespaceHasBeenSet = true; m_defaultNamespace = std::forward<DefaultNamespaceT>(value); }
77 template<typename DefaultNamespaceT = Aws::String>
78 AccountSettings& WithDefaultNamespace(DefaultNamespaceT&& value) { SetDefaultNamespace(std::forward<DefaultNamespaceT>(value)); return *this;}
80
82
85 inline const Aws::String& GetNotificationEmail() const { return m_notificationEmail; }
86 inline bool NotificationEmailHasBeenSet() const { return m_notificationEmailHasBeenSet; }
87 template<typename NotificationEmailT = Aws::String>
88 void SetNotificationEmail(NotificationEmailT&& value) { m_notificationEmailHasBeenSet = true; m_notificationEmail = std::forward<NotificationEmailT>(value); }
89 template<typename NotificationEmailT = Aws::String>
90 AccountSettings& WithNotificationEmail(NotificationEmailT&& value) { SetNotificationEmail(std::forward<NotificationEmailT>(value)); return *this;}
92
94
100 inline bool GetPublicSharingEnabled() const { return m_publicSharingEnabled; }
101 inline bool PublicSharingEnabledHasBeenSet() const { return m_publicSharingEnabledHasBeenSet; }
102 inline void SetPublicSharingEnabled(bool value) { m_publicSharingEnabledHasBeenSet = true; m_publicSharingEnabled = value; }
103 inline AccountSettings& WithPublicSharingEnabled(bool value) { SetPublicSharingEnabled(value); return *this;}
105
107
114 inline bool GetTerminationProtectionEnabled() const { return m_terminationProtectionEnabled; }
115 inline bool TerminationProtectionEnabledHasBeenSet() const { return m_terminationProtectionEnabledHasBeenSet; }
116 inline void SetTerminationProtectionEnabled(bool value) { m_terminationProtectionEnabledHasBeenSet = true; m_terminationProtectionEnabled = value; }
119 private:
120
121 Aws::String m_accountName;
122 bool m_accountNameHasBeenSet = false;
123
124 Edition m_edition{Edition::NOT_SET};
125 bool m_editionHasBeenSet = false;
126
127 Aws::String m_defaultNamespace;
128 bool m_defaultNamespaceHasBeenSet = false;
129
130 Aws::String m_notificationEmail;
131 bool m_notificationEmailHasBeenSet = false;
132
133 bool m_publicSharingEnabled{false};
134 bool m_publicSharingEnabledHasBeenSet = false;
135
136 bool m_terminationProtectionEnabled{false};
137 bool m_terminationProtectionEnabledHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace QuickSight
142} // namespace Aws
void SetAccountName(AccountNameT &&value)
AccountSettings & WithEdition(Edition value)
const Aws::String & GetNotificationEmail() const
AccountSettings & WithTerminationProtectionEnabled(bool value)
AWS_QUICKSIGHT_API AccountSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API AccountSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API AccountSettings()=default
AccountSettings & WithDefaultNamespace(DefaultNamespaceT &&value)
const Aws::String & GetDefaultNamespace() const
void SetNotificationEmail(NotificationEmailT &&value)
AccountSettings & WithPublicSharingEnabled(bool value)
AccountSettings & WithAccountName(AccountNameT &&value)
AccountSettings & WithNotificationEmail(NotificationEmailT &&value)
const Aws::String & GetAccountName() const
void SetDefaultNamespace(DefaultNamespaceT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue