AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
UpdateAccountCustomizationRequest.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#include <aws/quicksight/model/AccountCustomization.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace QuickSight {
19namespace Model {
20
24 public:
25 AWS_QUICKSIGHT_API UpdateAccountCustomizationRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateAccountCustomization"; }
32
33 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
34
35 AWS_QUICKSIGHT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
36
38
42 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
43 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
44 template <typename AwsAccountIdT = Aws::String>
45 void SetAwsAccountId(AwsAccountIdT&& value) {
46 m_awsAccountIdHasBeenSet = true;
47 m_awsAccountId = std::forward<AwsAccountIdT>(value);
48 }
49 template <typename AwsAccountIdT = Aws::String>
51 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetNamespace() const { return m_namespace; }
61 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
62 template <typename NamespaceT = Aws::String>
63 void SetNamespace(NamespaceT&& value) {
64 m_namespaceHasBeenSet = true;
65 m_namespace = std::forward<NamespaceT>(value);
66 }
67 template <typename NamespaceT = Aws::String>
69 SetNamespace(std::forward<NamespaceT>(value));
70 return *this;
71 }
73
75
78 inline const AccountCustomization& GetAccountCustomization() const { return m_accountCustomization; }
79 inline bool AccountCustomizationHasBeenSet() const { return m_accountCustomizationHasBeenSet; }
80 template <typename AccountCustomizationT = AccountCustomization>
81 void SetAccountCustomization(AccountCustomizationT&& value) {
82 m_accountCustomizationHasBeenSet = true;
83 m_accountCustomization = std::forward<AccountCustomizationT>(value);
84 }
85 template <typename AccountCustomizationT = AccountCustomization>
87 SetAccountCustomization(std::forward<AccountCustomizationT>(value));
88 return *this;
89 }
91 private:
92 Aws::String m_awsAccountId;
93
94 Aws::String m_namespace;
95
96 AccountCustomization m_accountCustomization;
97 bool m_awsAccountIdHasBeenSet = false;
98 bool m_namespaceHasBeenSet = false;
99 bool m_accountCustomizationHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace QuickSight
104} // namespace Aws
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
AWS_QUICKSIGHT_API UpdateAccountCustomizationRequest()=default
UpdateAccountCustomizationRequest & WithNamespace(NamespaceT &&value)
AWS_QUICKSIGHT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
UpdateAccountCustomizationRequest & WithAccountCustomization(AccountCustomizationT &&value)
UpdateAccountCustomizationRequest & WithAwsAccountId(AwsAccountIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String