AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
52 inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
53 inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
55 inline CreateAccountCustomizationRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
56 inline CreateAccountCustomizationRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
58
60
63 inline const Aws::String& GetNamespace() const{ return m_namespace; }
64 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
65 inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; }
66 inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); }
67 inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); }
68 inline CreateAccountCustomizationRequest& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;}
69 inline CreateAccountCustomizationRequest& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;}
70 inline CreateAccountCustomizationRequest& WithNamespace(const char* value) { SetNamespace(value); return *this;}
72
74
85 inline const AccountCustomization& GetAccountCustomization() const{ return m_accountCustomization; }
86 inline bool AccountCustomizationHasBeenSet() const { return m_accountCustomizationHasBeenSet; }
87 inline void SetAccountCustomization(const AccountCustomization& value) { m_accountCustomizationHasBeenSet = true; m_accountCustomization = value; }
88 inline void SetAccountCustomization(AccountCustomization&& value) { m_accountCustomizationHasBeenSet = true; m_accountCustomization = std::move(value); }
92
94
97 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
98 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
99 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
100 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
101 inline CreateAccountCustomizationRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
102 inline CreateAccountCustomizationRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
103 inline CreateAccountCustomizationRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
104 inline CreateAccountCustomizationRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
106 private:
107
108 Aws::String m_awsAccountId;
109 bool m_awsAccountIdHasBeenSet = false;
110
111 Aws::String m_namespace;
112 bool m_namespaceHasBeenSet = false;
113
114 AccountCustomization m_accountCustomization;
115 bool m_accountCustomizationHasBeenSet = false;
116
117 Aws::Vector<Tag> m_tags;
118 bool m_tagsHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace QuickSight
123} // namespace Aws
CreateAccountCustomizationRequest & WithAwsAccountId(Aws::String &&value)
CreateAccountCustomizationRequest & WithNamespace(Aws::String &&value)
CreateAccountCustomizationRequest & WithAwsAccountId(const Aws::String &value)
CreateAccountCustomizationRequest & WithTags(Aws::Vector< Tag > &&value)
CreateAccountCustomizationRequest & WithAccountCustomization(const AccountCustomization &value)
CreateAccountCustomizationRequest & WithTags(const Aws::Vector< Tag > &value)
CreateAccountCustomizationRequest & WithNamespace(const Aws::String &value)
CreateAccountCustomizationRequest & WithNamespace(const char *value)
CreateAccountCustomizationRequest & WithAwsAccountId(const char *value)
CreateAccountCustomizationRequest & WithAccountCustomization(AccountCustomization &&value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
CreateAccountCustomizationRequest & AddTags(const Tag &value)
AWS_QUICKSIGHT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector