AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
CreateAccountCustomizationRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/quicksight/QuickSightRequest.h>
10#include <aws/quicksight/QuickSight_EXPORTS.h>
11#include <aws/quicksight/model/AccountCustomization.h>
12#include <aws/quicksight/model/Tag.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Http {
18class URI;
19} // namespace Http
20namespace QuickSight {
21namespace Model {
22
26 public:
27 AWS_QUICKSIGHT_API CreateAccountCustomizationRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreateAccountCustomization"; }
34
35 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
36
37 AWS_QUICKSIGHT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
38
40
44 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
45 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
46 template <typename AwsAccountIdT = Aws::String>
47 void SetAwsAccountId(AwsAccountIdT&& value) {
48 m_awsAccountIdHasBeenSet = true;
49 m_awsAccountId = std::forward<AwsAccountIdT>(value);
50 }
51 template <typename AwsAccountIdT = Aws::String>
53 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetNamespace() const { return m_namespace; }
63 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
64 template <typename NamespaceT = Aws::String>
65 void SetNamespace(NamespaceT&& value) {
66 m_namespaceHasBeenSet = true;
67 m_namespace = std::forward<NamespaceT>(value);
68 }
69 template <typename NamespaceT = Aws::String>
71 SetNamespace(std::forward<NamespaceT>(value));
72 return *this;
73 }
75
77
87 inline const AccountCustomization& GetAccountCustomization() const { return m_accountCustomization; }
88 inline bool AccountCustomizationHasBeenSet() const { return m_accountCustomizationHasBeenSet; }
89 template <typename AccountCustomizationT = AccountCustomization>
90 void SetAccountCustomization(AccountCustomizationT&& value) {
91 m_accountCustomizationHasBeenSet = true;
92 m_accountCustomization = std::forward<AccountCustomizationT>(value);
93 }
94 template <typename AccountCustomizationT = AccountCustomization>
96 SetAccountCustomization(std::forward<AccountCustomizationT>(value));
97 return *this;
98 }
100
102
105 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
106 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
107 template <typename TagsT = Aws::Vector<Tag>>
108 void SetTags(TagsT&& value) {
109 m_tagsHasBeenSet = true;
110 m_tags = std::forward<TagsT>(value);
111 }
112 template <typename TagsT = Aws::Vector<Tag>>
114 SetTags(std::forward<TagsT>(value));
115 return *this;
116 }
117 template <typename TagsT = Tag>
119 m_tagsHasBeenSet = true;
120 m_tags.emplace_back(std::forward<TagsT>(value));
121 return *this;
122 }
124 private:
125 Aws::String m_awsAccountId;
126
127 Aws::String m_namespace;
128
129 AccountCustomization m_accountCustomization;
130
131 Aws::Vector<Tag> m_tags;
132 bool m_awsAccountIdHasBeenSet = false;
133 bool m_namespaceHasBeenSet = false;
134 bool m_accountCustomizationHasBeenSet = false;
135 bool m_tagsHasBeenSet = false;
136};
137
138} // namespace Model
139} // namespace QuickSight
140} // namespace Aws
CreateAccountCustomizationRequest & WithNamespace(NamespaceT &&value)
CreateAccountCustomizationRequest & WithAccountCustomization(AccountCustomizationT &&value)
CreateAccountCustomizationRequest & WithAwsAccountId(AwsAccountIdT &&value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
AWS_QUICKSIGHT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_QUICKSIGHT_API CreateAccountCustomizationRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector