AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
CreateBrandRequest.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/BrandDefinition.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 QuickSight
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_QUICKSIGHT_API CreateBrandRequest() = 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 "CreateBrand"; }
34
35 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
36
37
39
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) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::forward<AwsAccountIdT>(value); }
46 template<typename AwsAccountIdT = Aws::String>
47 CreateBrandRequest& WithAwsAccountId(AwsAccountIdT&& value) { SetAwsAccountId(std::forward<AwsAccountIdT>(value)); return *this;}
49
51
54 inline const Aws::String& GetBrandId() const { return m_brandId; }
55 inline bool BrandIdHasBeenSet() const { return m_brandIdHasBeenSet; }
56 template<typename BrandIdT = Aws::String>
57 void SetBrandId(BrandIdT&& value) { m_brandIdHasBeenSet = true; m_brandId = std::forward<BrandIdT>(value); }
58 template<typename BrandIdT = Aws::String>
59 CreateBrandRequest& WithBrandId(BrandIdT&& value) { SetBrandId(std::forward<BrandIdT>(value)); return *this;}
61
63
66 inline const BrandDefinition& GetBrandDefinition() const { return m_brandDefinition; }
67 inline bool BrandDefinitionHasBeenSet() const { return m_brandDefinitionHasBeenSet; }
68 template<typename BrandDefinitionT = BrandDefinition>
69 void SetBrandDefinition(BrandDefinitionT&& value) { m_brandDefinitionHasBeenSet = true; m_brandDefinition = std::forward<BrandDefinitionT>(value); }
70 template<typename BrandDefinitionT = BrandDefinition>
71 CreateBrandRequest& WithBrandDefinition(BrandDefinitionT&& value) { SetBrandDefinition(std::forward<BrandDefinitionT>(value)); return *this;}
73
75
78 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
79 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
80 template<typename TagsT = Aws::Vector<Tag>>
81 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
82 template<typename TagsT = Aws::Vector<Tag>>
83 CreateBrandRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
84 template<typename TagsT = Tag>
85 CreateBrandRequest& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
87 private:
88
89 Aws::String m_awsAccountId;
90 bool m_awsAccountIdHasBeenSet = false;
91
92 Aws::String m_brandId;
93 bool m_brandIdHasBeenSet = false;
94
95 BrandDefinition m_brandDefinition;
96 bool m_brandDefinitionHasBeenSet = false;
97
98 Aws::Vector<Tag> m_tags;
99 bool m_tagsHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace QuickSight
104} // 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