AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
43 inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
44 inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
45 inline UpdateAccountSettingsRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
46 inline UpdateAccountSettingsRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
47 inline UpdateAccountSettingsRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
49
51
57 inline const Aws::String& GetDefaultNamespace() const{ return m_defaultNamespace; }
58 inline bool DefaultNamespaceHasBeenSet() const { return m_defaultNamespaceHasBeenSet; }
59 inline void SetDefaultNamespace(const Aws::String& value) { m_defaultNamespaceHasBeenSet = true; m_defaultNamespace = value; }
60 inline void SetDefaultNamespace(Aws::String&& value) { m_defaultNamespaceHasBeenSet = true; m_defaultNamespace = std::move(value); }
61 inline void SetDefaultNamespace(const char* value) { m_defaultNamespaceHasBeenSet = true; m_defaultNamespace.assign(value); }
63 inline UpdateAccountSettingsRequest& WithDefaultNamespace(Aws::String&& value) { SetDefaultNamespace(std::move(value)); return *this;}
64 inline UpdateAccountSettingsRequest& WithDefaultNamespace(const char* value) { SetDefaultNamespace(value); return *this;}
66
68
73 inline const Aws::String& GetNotificationEmail() const{ return m_notificationEmail; }
74 inline bool NotificationEmailHasBeenSet() const { return m_notificationEmailHasBeenSet; }
75 inline void SetNotificationEmail(const Aws::String& value) { m_notificationEmailHasBeenSet = true; m_notificationEmail = value; }
76 inline void SetNotificationEmail(Aws::String&& value) { m_notificationEmailHasBeenSet = true; m_notificationEmail = std::move(value); }
77 inline void SetNotificationEmail(const char* value) { m_notificationEmailHasBeenSet = true; m_notificationEmail.assign(value); }
79 inline UpdateAccountSettingsRequest& WithNotificationEmail(Aws::String&& value) { SetNotificationEmail(std::move(value)); return *this;}
80 inline UpdateAccountSettingsRequest& WithNotificationEmail(const char* value) { SetNotificationEmail(value); return *this;}
82
84
91 inline bool GetTerminationProtectionEnabled() const{ return m_terminationProtectionEnabled; }
92 inline bool TerminationProtectionEnabledHasBeenSet() const { return m_terminationProtectionEnabledHasBeenSet; }
93 inline void SetTerminationProtectionEnabled(bool value) { m_terminationProtectionEnabledHasBeenSet = true; m_terminationProtectionEnabled = value; }
96 private:
97
98 Aws::String m_awsAccountId;
99 bool m_awsAccountIdHasBeenSet = false;
100
101 Aws::String m_defaultNamespace;
102 bool m_defaultNamespaceHasBeenSet = false;
103
104 Aws::String m_notificationEmail;
105 bool m_notificationEmailHasBeenSet = false;
106
107 bool m_terminationProtectionEnabled;
108 bool m_terminationProtectionEnabledHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace QuickSight
113} // namespace Aws
UpdateAccountSettingsRequest & WithDefaultNamespace(const Aws::String &value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
UpdateAccountSettingsRequest & WithTerminationProtectionEnabled(bool value)
UpdateAccountSettingsRequest & WithAwsAccountId(Aws::String &&value)
UpdateAccountSettingsRequest & WithNotificationEmail(const Aws::String &value)
UpdateAccountSettingsRequest & WithAwsAccountId(const char *value)
UpdateAccountSettingsRequest & WithNotificationEmail(Aws::String &&value)
UpdateAccountSettingsRequest & WithDefaultNamespace(Aws::String &&value)
UpdateAccountSettingsRequest & WithDefaultNamespace(const char *value)
UpdateAccountSettingsRequest & WithNotificationEmail(const char *value)
UpdateAccountSettingsRequest & WithAwsAccountId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String