AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
CreateBrandRequest.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/BrandDefinition.h>
12#include <aws/quicksight/model/Tag.h>
13
14#include <utility>
15
16namespace Aws {
17namespace QuickSight {
18namespace Model {
19
23 public:
24 AWS_QUICKSIGHT_API CreateBrandRequest() = default;
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 "CreateBrand"; }
31
32 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
33
35
38 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
39 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
40 template <typename AwsAccountIdT = Aws::String>
41 void SetAwsAccountId(AwsAccountIdT&& value) {
42 m_awsAccountIdHasBeenSet = true;
43 m_awsAccountId = std::forward<AwsAccountIdT>(value);
44 }
45 template <typename AwsAccountIdT = Aws::String>
46 CreateBrandRequest& WithAwsAccountId(AwsAccountIdT&& value) {
47 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetBrandId() const { return m_brandId; }
57 inline bool BrandIdHasBeenSet() const { return m_brandIdHasBeenSet; }
58 template <typename BrandIdT = Aws::String>
59 void SetBrandId(BrandIdT&& value) {
60 m_brandIdHasBeenSet = true;
61 m_brandId = std::forward<BrandIdT>(value);
62 }
63 template <typename BrandIdT = Aws::String>
64 CreateBrandRequest& WithBrandId(BrandIdT&& value) {
65 SetBrandId(std::forward<BrandIdT>(value));
66 return *this;
67 }
69
71
74 inline const BrandDefinition& GetBrandDefinition() const { return m_brandDefinition; }
75 inline bool BrandDefinitionHasBeenSet() const { return m_brandDefinitionHasBeenSet; }
76 template <typename BrandDefinitionT = BrandDefinition>
77 void SetBrandDefinition(BrandDefinitionT&& value) {
78 m_brandDefinitionHasBeenSet = true;
79 m_brandDefinition = std::forward<BrandDefinitionT>(value);
80 }
81 template <typename BrandDefinitionT = BrandDefinition>
82 CreateBrandRequest& WithBrandDefinition(BrandDefinitionT&& value) {
83 SetBrandDefinition(std::forward<BrandDefinitionT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
93 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
94 template <typename TagsT = Aws::Vector<Tag>>
95 void SetTags(TagsT&& value) {
96 m_tagsHasBeenSet = true;
97 m_tags = std::forward<TagsT>(value);
98 }
99 template <typename TagsT = Aws::Vector<Tag>>
100 CreateBrandRequest& WithTags(TagsT&& value) {
101 SetTags(std::forward<TagsT>(value));
102 return *this;
103 }
104 template <typename TagsT = Tag>
105 CreateBrandRequest& AddTags(TagsT&& value) {
106 m_tagsHasBeenSet = true;
107 m_tags.emplace_back(std::forward<TagsT>(value));
108 return *this;
109 }
111 private:
112 Aws::String m_awsAccountId;
113
114 Aws::String m_brandId;
115
116 BrandDefinition m_brandDefinition;
117
118 Aws::Vector<Tag> m_tags;
119 bool m_awsAccountIdHasBeenSet = false;
120 bool m_brandIdHasBeenSet = false;
121 bool m_brandDefinitionHasBeenSet = false;
122 bool m_tagsHasBeenSet = false;
123};
124
125} // namespace Model
126} // namespace QuickSight
127} // namespace Aws
AWS_QUICKSIGHT_API CreateBrandRequest()=default
CreateBrandRequest & WithBrandId(BrandIdT &&value)
const Aws::Vector< Tag > & GetTags() const
CreateBrandRequest & WithAwsAccountId(AwsAccountIdT &&value)
void SetBrandDefinition(BrandDefinitionT &&value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
CreateBrandRequest & AddTags(TagsT &&value)
CreateBrandRequest & WithTags(TagsT &&value)
CreateBrandRequest & WithBrandDefinition(BrandDefinitionT &&value)
virtual const char * GetServiceRequestName() const override
const BrandDefinition & GetBrandDefinition() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector