AWS SDK for C++  1.9.40
AWS SDK for C++
UpdateAccountSettingsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace QuickSight
15 {
16 namespace Model
17 {
18 
22  {
23  public:
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::String SerializePayload() const override;
33 
34 
39  inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
40 
45  inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
46 
51  inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
52 
57  inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
58 
63  inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
64 
69  inline UpdateAccountSettingsRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
70 
75  inline UpdateAccountSettingsRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
76 
81  inline UpdateAccountSettingsRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
82 
83 
90  inline const Aws::String& GetDefaultNamespace() const{ return m_defaultNamespace; }
91 
98  inline bool DefaultNamespaceHasBeenSet() const { return m_defaultNamespaceHasBeenSet; }
99 
106  inline void SetDefaultNamespace(const Aws::String& value) { m_defaultNamespaceHasBeenSet = true; m_defaultNamespace = value; }
107 
114  inline void SetDefaultNamespace(Aws::String&& value) { m_defaultNamespaceHasBeenSet = true; m_defaultNamespace = std::move(value); }
115 
122  inline void SetDefaultNamespace(const char* value) { m_defaultNamespaceHasBeenSet = true; m_defaultNamespace.assign(value); }
123 
130  inline UpdateAccountSettingsRequest& WithDefaultNamespace(const Aws::String& value) { SetDefaultNamespace(value); return *this;}
131 
138  inline UpdateAccountSettingsRequest& WithDefaultNamespace(Aws::String&& value) { SetDefaultNamespace(std::move(value)); return *this;}
139 
146  inline UpdateAccountSettingsRequest& WithDefaultNamespace(const char* value) { SetDefaultNamespace(value); return *this;}
147 
148 
153  inline const Aws::String& GetNotificationEmail() const{ return m_notificationEmail; }
154 
159  inline bool NotificationEmailHasBeenSet() const { return m_notificationEmailHasBeenSet; }
160 
165  inline void SetNotificationEmail(const Aws::String& value) { m_notificationEmailHasBeenSet = true; m_notificationEmail = value; }
166 
171  inline void SetNotificationEmail(Aws::String&& value) { m_notificationEmailHasBeenSet = true; m_notificationEmail = std::move(value); }
172 
177  inline void SetNotificationEmail(const char* value) { m_notificationEmailHasBeenSet = true; m_notificationEmail.assign(value); }
178 
183  inline UpdateAccountSettingsRequest& WithNotificationEmail(const Aws::String& value) { SetNotificationEmail(value); return *this;}
184 
189  inline UpdateAccountSettingsRequest& WithNotificationEmail(Aws::String&& value) { SetNotificationEmail(std::move(value)); return *this;}
190 
195  inline UpdateAccountSettingsRequest& WithNotificationEmail(const char* value) { SetNotificationEmail(value); return *this;}
196 
197  private:
198 
199  Aws::String m_awsAccountId;
200  bool m_awsAccountIdHasBeenSet;
201 
202  Aws::String m_defaultNamespace;
203  bool m_defaultNamespaceHasBeenSet;
204 
205  Aws::String m_notificationEmail;
206  bool m_notificationEmailHasBeenSet;
207  };
208 
209 } // namespace Model
210 } // namespace QuickSight
211 } // namespace Aws
Aws::QuickSight::Model::UpdateAccountSettingsRequest::SetDefaultNamespace
void SetDefaultNamespace(const Aws::String &value)
Definition: UpdateAccountSettingsRequest.h:106
Aws::QuickSight::Model::UpdateAccountSettingsRequest::SetDefaultNamespace
void SetDefaultNamespace(Aws::String &&value)
Definition: UpdateAccountSettingsRequest.h:114
QuickSight_EXPORTS.h
Aws::QuickSight::Model::UpdateAccountSettingsRequest::GetAwsAccountId
const Aws::String & GetAwsAccountId() const
Definition: UpdateAccountSettingsRequest.h:39
Aws::QuickSight::Model::UpdateAccountSettingsRequest::UpdateAccountSettingsRequest
UpdateAccountSettingsRequest()
Aws::QuickSight::Model::UpdateAccountSettingsRequest::GetDefaultNamespace
const Aws::String & GetDefaultNamespace() const
Definition: UpdateAccountSettingsRequest.h:90
Aws::QuickSight::Model::UpdateAccountSettingsRequest::WithDefaultNamespace
UpdateAccountSettingsRequest & WithDefaultNamespace(const char *value)
Definition: UpdateAccountSettingsRequest.h:146
Aws::QuickSight::Model::UpdateAccountSettingsRequest
Definition: UpdateAccountSettingsRequest.h:22
Aws::QuickSight::Model::UpdateAccountSettingsRequest::SetAwsAccountId
void SetAwsAccountId(const char *value)
Definition: UpdateAccountSettingsRequest.h:63
Aws::QuickSight::Model::UpdateAccountSettingsRequest::GetNotificationEmail
const Aws::String & GetNotificationEmail() const
Definition: UpdateAccountSettingsRequest.h:153
Aws::QuickSight::Model::UpdateAccountSettingsRequest::WithNotificationEmail
UpdateAccountSettingsRequest & WithNotificationEmail(const Aws::String &value)
Definition: UpdateAccountSettingsRequest.h:183
Aws::QuickSight::Model::UpdateAccountSettingsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateAccountSettingsRequest.h:30
Aws::QuickSight::Model::UpdateAccountSettingsRequest::WithDefaultNamespace
UpdateAccountSettingsRequest & WithDefaultNamespace(const Aws::String &value)
Definition: UpdateAccountSettingsRequest.h:130
Aws::QuickSight::Model::UpdateAccountSettingsRequest::SetNotificationEmail
void SetNotificationEmail(Aws::String &&value)
Definition: UpdateAccountSettingsRequest.h:171
Aws::QuickSight::Model::UpdateAccountSettingsRequest::SetAwsAccountId
void SetAwsAccountId(Aws::String &&value)
Definition: UpdateAccountSettingsRequest.h:57
Aws::QuickSight::Model::UpdateAccountSettingsRequest::AwsAccountIdHasBeenSet
bool AwsAccountIdHasBeenSet() const
Definition: UpdateAccountSettingsRequest.h:45
Aws::QuickSight::Model::UpdateAccountSettingsRequest::SetNotificationEmail
void SetNotificationEmail(const char *value)
Definition: UpdateAccountSettingsRequest.h:177
Aws::QuickSight::Model::UpdateAccountSettingsRequest::SetAwsAccountId
void SetAwsAccountId(const Aws::String &value)
Definition: UpdateAccountSettingsRequest.h:51
Aws::QuickSight::Model::UpdateAccountSettingsRequest::SetDefaultNamespace
void SetDefaultNamespace(const char *value)
Definition: UpdateAccountSettingsRequest.h:122
Aws::QuickSight::Model::UpdateAccountSettingsRequest::SerializePayload
Aws::String SerializePayload() const override
QuickSightRequest.h
Aws::QuickSight::Model::UpdateAccountSettingsRequest::WithAwsAccountId
UpdateAccountSettingsRequest & WithAwsAccountId(const char *value)
Definition: UpdateAccountSettingsRequest.h:81
AWSString.h
Aws::QuickSight::Model::UpdateAccountSettingsRequest::DefaultNamespaceHasBeenSet
bool DefaultNamespaceHasBeenSet() const
Definition: UpdateAccountSettingsRequest.h:98
Aws::QuickSight::Model::UpdateAccountSettingsRequest::SetNotificationEmail
void SetNotificationEmail(const Aws::String &value)
Definition: UpdateAccountSettingsRequest.h:165
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::UpdateAccountSettingsRequest::WithDefaultNamespace
UpdateAccountSettingsRequest & WithDefaultNamespace(Aws::String &&value)
Definition: UpdateAccountSettingsRequest.h:138
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::UpdateAccountSettingsRequest::WithNotificationEmail
UpdateAccountSettingsRequest & WithNotificationEmail(const char *value)
Definition: UpdateAccountSettingsRequest.h:195
Aws::QuickSight::Model::UpdateAccountSettingsRequest::WithAwsAccountId
UpdateAccountSettingsRequest & WithAwsAccountId(Aws::String &&value)
Definition: UpdateAccountSettingsRequest.h:75
Aws::QuickSight::Model::UpdateAccountSettingsRequest::WithAwsAccountId
UpdateAccountSettingsRequest & WithAwsAccountId(const Aws::String &value)
Definition: UpdateAccountSettingsRequest.h:69
Aws::QuickSight::QuickSightRequest
Definition: QuickSightRequest.h:17
Aws::QuickSight::Model::UpdateAccountSettingsRequest::NotificationEmailHasBeenSet
bool NotificationEmailHasBeenSet() const
Definition: UpdateAccountSettingsRequest.h:159
Aws::QuickSight::Model::UpdateAccountSettingsRequest::WithNotificationEmail
UpdateAccountSettingsRequest & WithNotificationEmail(Aws::String &&value)
Definition: UpdateAccountSettingsRequest.h:189