AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
UpdateBrandRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSightRequest.h>
9#include <aws/quicksight/QuickSight_EXPORTS.h>
10#include <aws/quicksight/model/BrandDefinition.h>
11
12#include <utility>
13
14namespace Aws {
15namespace QuickSight {
16namespace Model {
17
21 public:
22 AWS_QUICKSIGHT_API UpdateBrandRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateBrand"; }
29
30 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
37 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
38 template <typename AwsAccountIdT = Aws::String>
39 void SetAwsAccountId(AwsAccountIdT&& value) {
40 m_awsAccountIdHasBeenSet = true;
41 m_awsAccountId = std::forward<AwsAccountIdT>(value);
42 }
43 template <typename AwsAccountIdT = Aws::String>
44 UpdateBrandRequest& WithAwsAccountId(AwsAccountIdT&& value) {
45 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
46 return *this;
47 }
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) {
58 m_brandIdHasBeenSet = true;
59 m_brandId = std::forward<BrandIdT>(value);
60 }
61 template <typename BrandIdT = Aws::String>
62 UpdateBrandRequest& WithBrandId(BrandIdT&& value) {
63 SetBrandId(std::forward<BrandIdT>(value));
64 return *this;
65 }
67
69
72 inline const BrandDefinition& GetBrandDefinition() const { return m_brandDefinition; }
73 inline bool BrandDefinitionHasBeenSet() const { return m_brandDefinitionHasBeenSet; }
74 template <typename BrandDefinitionT = BrandDefinition>
75 void SetBrandDefinition(BrandDefinitionT&& value) {
76 m_brandDefinitionHasBeenSet = true;
77 m_brandDefinition = std::forward<BrandDefinitionT>(value);
78 }
79 template <typename BrandDefinitionT = BrandDefinition>
80 UpdateBrandRequest& WithBrandDefinition(BrandDefinitionT&& value) {
81 SetBrandDefinition(std::forward<BrandDefinitionT>(value));
82 return *this;
83 }
85 private:
86 Aws::String m_awsAccountId;
87
88 Aws::String m_brandId;
89
90 BrandDefinition m_brandDefinition;
91 bool m_awsAccountIdHasBeenSet = false;
92 bool m_brandIdHasBeenSet = false;
93 bool m_brandDefinitionHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace QuickSight
98} // namespace Aws
virtual const char * GetServiceRequestName() const override
UpdateBrandRequest & WithAwsAccountId(AwsAccountIdT &&value)
const BrandDefinition & GetBrandDefinition() const
UpdateBrandRequest & WithBrandDefinition(BrandDefinitionT &&value)
AWS_QUICKSIGHT_API UpdateBrandRequest()=default
UpdateBrandRequest & WithBrandId(BrandIdT &&value)
void SetBrandDefinition(BrandDefinitionT &&value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String