AWS SDK for C++  1.9.44
AWS SDK for C++
ListThemesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Http
16 {
17  class URI;
18 } //namespace Http
19 namespace QuickSight
20 {
21 namespace Model
22 {
23 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "ListThemes"; }
36 
37  Aws::String SerializePayload() const override;
38 
39  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40 
41 
45  inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
46 
50  inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
51 
55  inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
56 
60  inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
61 
65  inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
66 
70  inline ListThemesRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
71 
75  inline ListThemesRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
76 
80  inline ListThemesRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
81 
82 
87  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
88 
93  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
94 
99  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
100 
105  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
106 
111  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
112 
117  inline ListThemesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
118 
123  inline ListThemesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
124 
129  inline ListThemesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
130 
131 
135  inline int GetMaxResults() const{ return m_maxResults; }
136 
140  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
141 
145  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
146 
150  inline ListThemesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
151 
152 
160  inline const ThemeType& GetType() const{ return m_type; }
161 
169  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
170 
178  inline void SetType(const ThemeType& value) { m_typeHasBeenSet = true; m_type = value; }
179 
187  inline void SetType(ThemeType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
188 
196  inline ListThemesRequest& WithType(const ThemeType& value) { SetType(value); return *this;}
197 
205  inline ListThemesRequest& WithType(ThemeType&& value) { SetType(std::move(value)); return *this;}
206 
207  private:
208 
209  Aws::String m_awsAccountId;
210  bool m_awsAccountIdHasBeenSet;
211 
212  Aws::String m_nextToken;
213  bool m_nextTokenHasBeenSet;
214 
215  int m_maxResults;
216  bool m_maxResultsHasBeenSet;
217 
218  ThemeType m_type;
219  bool m_typeHasBeenSet;
220  };
221 
222 } // namespace Model
223 } // namespace QuickSight
224 } // namespace Aws
Aws::QuickSight::Model::ThemeType
ThemeType
Definition: ThemeType.h:17
Aws::Http::URI
Definition: URI.h:32
QuickSight_EXPORTS.h
Aws::QuickSight::Model::ListThemesRequest::ListThemesRequest
ListThemesRequest()
Aws::QuickSight::Model::ListThemesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListThemesRequest.h:35
Aws::QuickSight::Model::ListThemesRequest::WithMaxResults
ListThemesRequest & WithMaxResults(int value)
Definition: ListThemesRequest.h:150
Aws::QuickSight::Model::ListThemesRequest
Definition: ListThemesRequest.h:27
Aws::QuickSight::Model::ListThemesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListThemesRequest.h:105
ThemeType.h
Aws::QuickSight::Model::ListThemesRequest::SetType
void SetType(ThemeType &&value)
Definition: ListThemesRequest.h:187
Aws::QuickSight::Model::ListThemesRequest::SetType
void SetType(const ThemeType &value)
Definition: ListThemesRequest.h:178
Aws::QuickSight::Model::ListThemesRequest::WithAwsAccountId
ListThemesRequest & WithAwsAccountId(const char *value)
Definition: ListThemesRequest.h:80
Aws::QuickSight::Model::ListThemesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListThemesRequest.h:87
Aws::QuickSight::Model::ListThemesRequest::SetAwsAccountId
void SetAwsAccountId(Aws::String &&value)
Definition: ListThemesRequest.h:60
Aws::QuickSight::Model::ListThemesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListThemesRequest.h:111
QuickSightRequest.h
Aws::QuickSight::Model::ListThemesRequest::WithAwsAccountId
ListThemesRequest & WithAwsAccountId(const Aws::String &value)
Definition: ListThemesRequest.h:70
Aws::QuickSight::Model::ListThemesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListThemesRequest.h:145
Aws::QuickSight::Model::ListThemesRequest::WithNextToken
ListThemesRequest & WithNextToken(Aws::String &&value)
Definition: ListThemesRequest.h:123
Aws::QuickSight::Model::ListThemesRequest::WithType
ListThemesRequest & WithType(const ThemeType &value)
Definition: ListThemesRequest.h:196
AWSString.h
Aws::QuickSight::Model::ListThemesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListThemesRequest.h:140
Aws::QuickSight::Model::ListThemesRequest::SetAwsAccountId
void SetAwsAccountId(const char *value)
Definition: ListThemesRequest.h:65
Aws::QuickSight::Model::ListThemesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListThemesRequest.h:93
Aws::QuickSight::Model::ListThemesRequest::GetAwsAccountId
const Aws::String & GetAwsAccountId() const
Definition: ListThemesRequest.h:45
Aws::QuickSight::Model::ListThemesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::QuickSight::Model::ListThemesRequest::GetMaxResults
int GetMaxResults() const
Definition: ListThemesRequest.h:135
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::ListThemesRequest::GetType
const ThemeType & GetType() const
Definition: ListThemesRequest.h:160
Aws::QuickSight::Model::ListThemesRequest::WithNextToken
ListThemesRequest & WithNextToken(const Aws::String &value)
Definition: ListThemesRequest.h:117
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::ListThemesRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::QuickSight::Model::ListThemesRequest::AwsAccountIdHasBeenSet
bool AwsAccountIdHasBeenSet() const
Definition: ListThemesRequest.h:50
Aws::QuickSight::Model::ListThemesRequest::WithType
ListThemesRequest & WithType(ThemeType &&value)
Definition: ListThemesRequest.h:205
Aws::QuickSight::Model::ListThemesRequest::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: ListThemesRequest.h:169
Aws::QuickSight::Model::ListThemesRequest::SetAwsAccountId
void SetAwsAccountId(const Aws::String &value)
Definition: ListThemesRequest.h:55
Aws::QuickSight::Model::ListThemesRequest::WithNextToken
ListThemesRequest & WithNextToken(const char *value)
Definition: ListThemesRequest.h:129
Aws::QuickSight::QuickSightRequest
Definition: QuickSightRequest.h:17
Aws::QuickSight::Model::ListThemesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListThemesRequest.h:99
Aws::QuickSight::Model::ListThemesRequest::WithAwsAccountId
ListThemesRequest & WithAwsAccountId(Aws::String &&value)
Definition: ListThemesRequest.h:75