AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
UpdateThemeAliasRequest.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
11#include <utility>
12
13namespace Aws {
14namespace QuickSight {
15namespace Model {
16
20 public:
21 AWS_QUICKSIGHT_API UpdateThemeAliasRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "UpdateThemeAlias"; }
28
29 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
30
32
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 UpdateThemeAliasRequest& WithAwsAccountId(AwsAccountIdT&& value) {
45 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetThemeId() const { return m_themeId; }
55 inline bool ThemeIdHasBeenSet() const { return m_themeIdHasBeenSet; }
56 template <typename ThemeIdT = Aws::String>
57 void SetThemeId(ThemeIdT&& value) {
58 m_themeIdHasBeenSet = true;
59 m_themeId = std::forward<ThemeIdT>(value);
60 }
61 template <typename ThemeIdT = Aws::String>
63 SetThemeId(std::forward<ThemeIdT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetAliasName() const { return m_aliasName; }
73 inline bool AliasNameHasBeenSet() const { return m_aliasNameHasBeenSet; }
74 template <typename AliasNameT = Aws::String>
75 void SetAliasName(AliasNameT&& value) {
76 m_aliasNameHasBeenSet = true;
77 m_aliasName = std::forward<AliasNameT>(value);
78 }
79 template <typename AliasNameT = Aws::String>
81 SetAliasName(std::forward<AliasNameT>(value));
82 return *this;
83 }
85
87
90 inline long long GetThemeVersionNumber() const { return m_themeVersionNumber; }
91 inline bool ThemeVersionNumberHasBeenSet() const { return m_themeVersionNumberHasBeenSet; }
92 inline void SetThemeVersionNumber(long long value) {
93 m_themeVersionNumberHasBeenSet = true;
94 m_themeVersionNumber = value;
95 }
98 return *this;
99 }
101 private:
102 Aws::String m_awsAccountId;
103
104 Aws::String m_themeId;
105
106 Aws::String m_aliasName;
107
108 long long m_themeVersionNumber{0};
109 bool m_awsAccountIdHasBeenSet = false;
110 bool m_themeIdHasBeenSet = false;
111 bool m_aliasNameHasBeenSet = false;
112 bool m_themeVersionNumberHasBeenSet = false;
113};
114
115} // namespace Model
116} // namespace QuickSight
117} // namespace Aws
UpdateThemeAliasRequest & WithThemeVersionNumber(long long value)
virtual const char * GetServiceRequestName() const override
UpdateThemeAliasRequest & WithAliasName(AliasNameT &&value)
UpdateThemeAliasRequest & WithAwsAccountId(AwsAccountIdT &&value)
AWS_QUICKSIGHT_API UpdateThemeAliasRequest()=default
UpdateThemeAliasRequest & WithThemeId(ThemeIdT &&value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String