AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
DescribeThemeRequest.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 Http {
15class URI;
16} // namespace Http
17namespace QuickSight {
18namespace Model {
19
23 public:
24 AWS_QUICKSIGHT_API DescribeThemeRequest() = 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 "DescribeTheme"; }
31
32 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
33
34 AWS_QUICKSIGHT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
41 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
42 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
43 template <typename AwsAccountIdT = Aws::String>
44 void SetAwsAccountId(AwsAccountIdT&& value) {
45 m_awsAccountIdHasBeenSet = true;
46 m_awsAccountId = std::forward<AwsAccountIdT>(value);
47 }
48 template <typename AwsAccountIdT = Aws::String>
49 DescribeThemeRequest& WithAwsAccountId(AwsAccountIdT&& value) {
50 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetThemeId() const { return m_themeId; }
60 inline bool ThemeIdHasBeenSet() const { return m_themeIdHasBeenSet; }
61 template <typename ThemeIdT = Aws::String>
62 void SetThemeId(ThemeIdT&& value) {
63 m_themeIdHasBeenSet = true;
64 m_themeId = std::forward<ThemeIdT>(value);
65 }
66 template <typename ThemeIdT = Aws::String>
67 DescribeThemeRequest& WithThemeId(ThemeIdT&& value) {
68 SetThemeId(std::forward<ThemeIdT>(value));
69 return *this;
70 }
72
74
79 inline long long GetVersionNumber() const { return m_versionNumber; }
80 inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; }
81 inline void SetVersionNumber(long long value) {
82 m_versionNumberHasBeenSet = true;
83 m_versionNumber = value;
84 }
85 inline DescribeThemeRequest& WithVersionNumber(long long value) {
86 SetVersionNumber(value);
87 return *this;
88 }
90
92
99 inline const Aws::String& GetAliasName() const { return m_aliasName; }
100 inline bool AliasNameHasBeenSet() const { return m_aliasNameHasBeenSet; }
101 template <typename AliasNameT = Aws::String>
102 void SetAliasName(AliasNameT&& value) {
103 m_aliasNameHasBeenSet = true;
104 m_aliasName = std::forward<AliasNameT>(value);
105 }
106 template <typename AliasNameT = Aws::String>
107 DescribeThemeRequest& WithAliasName(AliasNameT&& value) {
108 SetAliasName(std::forward<AliasNameT>(value));
109 return *this;
110 }
112 private:
113 Aws::String m_awsAccountId;
114
115 Aws::String m_themeId;
116
117 long long m_versionNumber{0};
118
119 Aws::String m_aliasName;
120 bool m_awsAccountIdHasBeenSet = false;
121 bool m_themeIdHasBeenSet = false;
122 bool m_versionNumberHasBeenSet = false;
123 bool m_aliasNameHasBeenSet = false;
124};
125
126} // namespace Model
127} // namespace QuickSight
128} // namespace Aws
DescribeThemeRequest & WithAliasName(AliasNameT &&value)
virtual const char * GetServiceRequestName() const override
DescribeThemeRequest & WithAwsAccountId(AwsAccountIdT &&value)
DescribeThemeRequest & WithVersionNumber(long long value)
AWS_QUICKSIGHT_API DescribeThemeRequest()=default
AWS_QUICKSIGHT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DescribeThemeRequest & WithThemeId(ThemeIdT &&value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String