AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
UpdateAccountSettingsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSightRequest.h>
9#include <aws/quicksight/QuickSight_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace QuickSight {
15namespace Model {
16
20 public:
21 AWS_QUICKSIGHT_API UpdateAccountSettingsRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "UpdateAccountSettings"; }
28
29 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
30
32
36 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
37 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
38 template <typename AwsAccountIdT = Aws::String>
39 void SetAwsAccountId(AwsAccountIdT&& value) {
40 m_awsAccountIdHasBeenSet = true;
41 m_awsAccountId = std::forward<AwsAccountIdT>(value);
42 }
43 template <typename AwsAccountIdT = Aws::String>
45 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
46 return *this;
47 }
49
51
57 inline const Aws::String& GetDefaultNamespace() const { return m_defaultNamespace; }
58 inline bool DefaultNamespaceHasBeenSet() const { return m_defaultNamespaceHasBeenSet; }
59 template <typename DefaultNamespaceT = Aws::String>
60 void SetDefaultNamespace(DefaultNamespaceT&& value) {
61 m_defaultNamespaceHasBeenSet = true;
62 m_defaultNamespace = std::forward<DefaultNamespaceT>(value);
63 }
64 template <typename DefaultNamespaceT = Aws::String>
66 SetDefaultNamespace(std::forward<DefaultNamespaceT>(value));
67 return *this;
68 }
70
72
76 inline const Aws::String& GetNotificationEmail() const { return m_notificationEmail; }
77 inline bool NotificationEmailHasBeenSet() const { return m_notificationEmailHasBeenSet; }
78 template <typename NotificationEmailT = Aws::String>
79 void SetNotificationEmail(NotificationEmailT&& value) {
80 m_notificationEmailHasBeenSet = true;
81 m_notificationEmail = std::forward<NotificationEmailT>(value);
82 }
83 template <typename NotificationEmailT = Aws::String>
85 SetNotificationEmail(std::forward<NotificationEmailT>(value));
86 return *this;
87 }
89
91
98 inline bool GetTerminationProtectionEnabled() const { return m_terminationProtectionEnabled; }
99 inline bool TerminationProtectionEnabledHasBeenSet() const { return m_terminationProtectionEnabledHasBeenSet; }
100 inline void SetTerminationProtectionEnabled(bool value) {
101 m_terminationProtectionEnabledHasBeenSet = true;
102 m_terminationProtectionEnabled = value;
103 }
106 return *this;
107 }
109 private:
110 Aws::String m_awsAccountId;
111
112 Aws::String m_defaultNamespace;
113
114 Aws::String m_notificationEmail;
115
116 bool m_terminationProtectionEnabled{false};
117 bool m_awsAccountIdHasBeenSet = false;
118 bool m_defaultNamespaceHasBeenSet = false;
119 bool m_notificationEmailHasBeenSet = false;
120 bool m_terminationProtectionEnabledHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace QuickSight
125} // 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