AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
CreateThemeAliasRequest.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 CreateThemeAliasRequest() = 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 "CreateThemeAlias"; }
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 CreateThemeAliasRequest& 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
74 inline const Aws::String& GetAliasName() const { return m_aliasName; }
75 inline bool AliasNameHasBeenSet() const { return m_aliasNameHasBeenSet; }
76 template <typename AliasNameT = Aws::String>
77 void SetAliasName(AliasNameT&& value) {
78 m_aliasNameHasBeenSet = true;
79 m_aliasName = std::forward<AliasNameT>(value);
80 }
81 template <typename AliasNameT = Aws::String>
83 SetAliasName(std::forward<AliasNameT>(value));
84 return *this;
85 }
87
89
92 inline long long GetThemeVersionNumber() const { return m_themeVersionNumber; }
93 inline bool ThemeVersionNumberHasBeenSet() const { return m_themeVersionNumberHasBeenSet; }
94 inline void SetThemeVersionNumber(long long value) {
95 m_themeVersionNumberHasBeenSet = true;
96 m_themeVersionNumber = value;
97 }
100 return *this;
101 }
103 private:
104 Aws::String m_awsAccountId;
105
106 Aws::String m_themeId;
107
108 Aws::String m_aliasName;
109
110 long long m_themeVersionNumber{0};
111 bool m_awsAccountIdHasBeenSet = false;
112 bool m_themeIdHasBeenSet = false;
113 bool m_aliasNameHasBeenSet = false;
114 bool m_themeVersionNumberHasBeenSet = false;
115};
116
117} // namespace Model
118} // namespace QuickSight
119} // namespace Aws
virtual const char * GetServiceRequestName() const override
CreateThemeAliasRequest & WithThemeId(ThemeIdT &&value)
CreateThemeAliasRequest & WithThemeVersionNumber(long long value)
CreateThemeAliasRequest & WithAwsAccountId(AwsAccountIdT &&value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
CreateThemeAliasRequest & WithAliasName(AliasNameT &&value)
AWS_QUICKSIGHT_API CreateThemeAliasRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String