AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateAccountCustomizationRequest.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 <aws/quicksight/model/AccountCustomization.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/quicksight/model/Tag.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Http
18{
19 class URI;
20} //namespace Http
21namespace QuickSight
22{
23namespace Model
24{
25
29 {
30 public:
31 AWS_QUICKSIGHT_API CreateAccountCustomizationRequest() = default;
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "CreateAccountCustomization"; }
38
39 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
40
41 AWS_QUICKSIGHT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
42
43
45
49 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
50 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
51 template<typename AwsAccountIdT = Aws::String>
52 void SetAwsAccountId(AwsAccountIdT&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::forward<AwsAccountIdT>(value); }
53 template<typename AwsAccountIdT = Aws::String>
54 CreateAccountCustomizationRequest& WithAwsAccountId(AwsAccountIdT&& value) { SetAwsAccountId(std::forward<AwsAccountIdT>(value)); return *this;}
56
58
61 inline const Aws::String& GetNamespace() const { return m_namespace; }
62 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
63 template<typename NamespaceT = Aws::String>
64 void SetNamespace(NamespaceT&& value) { m_namespaceHasBeenSet = true; m_namespace = std::forward<NamespaceT>(value); }
65 template<typename NamespaceT = Aws::String>
66 CreateAccountCustomizationRequest& WithNamespace(NamespaceT&& value) { SetNamespace(std::forward<NamespaceT>(value)); return *this;}
68
70
81 inline const AccountCustomization& GetAccountCustomization() const { return m_accountCustomization; }
82 inline bool AccountCustomizationHasBeenSet() const { return m_accountCustomizationHasBeenSet; }
83 template<typename AccountCustomizationT = AccountCustomization>
84 void SetAccountCustomization(AccountCustomizationT&& value) { m_accountCustomizationHasBeenSet = true; m_accountCustomization = std::forward<AccountCustomizationT>(value); }
85 template<typename AccountCustomizationT = AccountCustomization>
86 CreateAccountCustomizationRequest& WithAccountCustomization(AccountCustomizationT&& value) { SetAccountCustomization(std::forward<AccountCustomizationT>(value)); return *this;}
88
90
93 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
94 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
95 template<typename TagsT = Aws::Vector<Tag>>
96 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
97 template<typename TagsT = Aws::Vector<Tag>>
98 CreateAccountCustomizationRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
99 template<typename TagsT = Tag>
100 CreateAccountCustomizationRequest& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
102 private:
103
104 Aws::String m_awsAccountId;
105 bool m_awsAccountIdHasBeenSet = false;
106
107 Aws::String m_namespace;
108 bool m_namespaceHasBeenSet = false;
109
110 AccountCustomization m_accountCustomization;
111 bool m_accountCustomizationHasBeenSet = false;
112
113 Aws::Vector<Tag> m_tags;
114 bool m_tagsHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace QuickSight
119} // namespace Aws
CreateAccountCustomizationRequest & WithTags(TagsT &&value)
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