AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateAccountSettingsRequest.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/QuickSightRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace QuickSight
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_QUICKSIGHT_API UpdateAccountSettingsRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateAccountSettings"; }
31
32 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
33
34
36
40 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
41 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
42 template<typename AwsAccountIdT = Aws::String>
43 void SetAwsAccountId(AwsAccountIdT&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::forward<AwsAccountIdT>(value); }
44 template<typename AwsAccountIdT = Aws::String>
45 UpdateAccountSettingsRequest& WithAwsAccountId(AwsAccountIdT&& value) { SetAwsAccountId(std::forward<AwsAccountIdT>(value)); return *this;}
47
49
55 inline const Aws::String& GetDefaultNamespace() const { return m_defaultNamespace; }
56 inline bool DefaultNamespaceHasBeenSet() const { return m_defaultNamespaceHasBeenSet; }
57 template<typename DefaultNamespaceT = Aws::String>
58 void SetDefaultNamespace(DefaultNamespaceT&& value) { m_defaultNamespaceHasBeenSet = true; m_defaultNamespace = std::forward<DefaultNamespaceT>(value); }
59 template<typename DefaultNamespaceT = Aws::String>
60 UpdateAccountSettingsRequest& WithDefaultNamespace(DefaultNamespaceT&& value) { SetDefaultNamespace(std::forward<DefaultNamespaceT>(value)); return *this;}
62
64
69 inline const Aws::String& GetNotificationEmail() const { return m_notificationEmail; }
70 inline bool NotificationEmailHasBeenSet() const { return m_notificationEmailHasBeenSet; }
71 template<typename NotificationEmailT = Aws::String>
72 void SetNotificationEmail(NotificationEmailT&& value) { m_notificationEmailHasBeenSet = true; m_notificationEmail = std::forward<NotificationEmailT>(value); }
73 template<typename NotificationEmailT = Aws::String>
74 UpdateAccountSettingsRequest& WithNotificationEmail(NotificationEmailT&& value) { SetNotificationEmail(std::forward<NotificationEmailT>(value)); return *this;}
76
78
85 inline bool GetTerminationProtectionEnabled() const { return m_terminationProtectionEnabled; }
86 inline bool TerminationProtectionEnabledHasBeenSet() const { return m_terminationProtectionEnabledHasBeenSet; }
87 inline void SetTerminationProtectionEnabled(bool value) { m_terminationProtectionEnabledHasBeenSet = true; m_terminationProtectionEnabled = value; }
90 private:
91
92 Aws::String m_awsAccountId;
93 bool m_awsAccountIdHasBeenSet = false;
94
95 Aws::String m_defaultNamespace;
96 bool m_defaultNamespaceHasBeenSet = false;
97
98 Aws::String m_notificationEmail;
99 bool m_notificationEmailHasBeenSet = false;
100
101 bool m_terminationProtectionEnabled{false};
102 bool m_terminationProtectionEnabledHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace QuickSight
107} // namespace Aws
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
UpdateAccountSettingsRequest & WithDefaultNamespace(DefaultNamespaceT &&value)
UpdateAccountSettingsRequest & WithTerminationProtectionEnabled(bool value)
UpdateAccountSettingsRequest & WithAwsAccountId(AwsAccountIdT &&value)
AWS_QUICKSIGHT_API UpdateAccountSettingsRequest()=default
UpdateAccountSettingsRequest & WithNotificationEmail(NotificationEmailT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String