AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
ListThemesRequest.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/ThemeType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace QuickSight {
19namespace Model {
20
24 public:
25 AWS_QUICKSIGHT_API ListThemesRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ListThemes"; }
32
33 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
34
35 AWS_QUICKSIGHT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
36
38
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) {
46 m_awsAccountIdHasBeenSet = true;
47 m_awsAccountId = std::forward<AwsAccountIdT>(value);
48 }
49 template <typename AwsAccountIdT = Aws::String>
50 ListThemesRequest& WithAwsAccountId(AwsAccountIdT&& value) {
51 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
52 return *this;
53 }
55
57
61 inline const Aws::String& GetNextToken() const { return m_nextToken; }
62 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
63 template <typename NextTokenT = Aws::String>
64 void SetNextToken(NextTokenT&& value) {
65 m_nextTokenHasBeenSet = true;
66 m_nextToken = std::forward<NextTokenT>(value);
67 }
68 template <typename NextTokenT = Aws::String>
69 ListThemesRequest& WithNextToken(NextTokenT&& value) {
70 SetNextToken(std::forward<NextTokenT>(value));
71 return *this;
72 }
74
76
79 inline int GetMaxResults() const { return m_maxResults; }
80 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
81 inline void SetMaxResults(int value) {
82 m_maxResultsHasBeenSet = true;
83 m_maxResults = value;
84 }
85 inline ListThemesRequest& WithMaxResults(int value) {
86 SetMaxResults(value);
87 return *this;
88 }
90
92
99 inline ThemeType GetType() const { return m_type; }
100 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
101 inline void SetType(ThemeType value) {
102 m_typeHasBeenSet = true;
103 m_type = value;
104 }
106 SetType(value);
107 return *this;
108 }
110 private:
111 Aws::String m_awsAccountId;
112
113 Aws::String m_nextToken;
114
115 int m_maxResults{0};
116
118 bool m_awsAccountIdHasBeenSet = false;
119 bool m_nextTokenHasBeenSet = false;
120 bool m_maxResultsHasBeenSet = false;
121 bool m_typeHasBeenSet = false;
122};
123
124} // namespace Model
125} // namespace QuickSight
126} // namespace Aws
ListThemesRequest & WithType(ThemeType value)
AWS_QUICKSIGHT_API ListThemesRequest()=default
void SetAwsAccountId(AwsAccountIdT &&value)
const Aws::String & GetAwsAccountId() const
ListThemesRequest & WithMaxResults(int value)
virtual const char * GetServiceRequestName() const override
ListThemesRequest & WithNextToken(NextTokenT &&value)
ListThemesRequest & WithAwsAccountId(AwsAccountIdT &&value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
AWS_QUICKSIGHT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String