AWS SDK for C++  1.9.154
AWS SDK for C++
ListTemplateVersionsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace QuickSight
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "ListTemplateVersions"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
45  inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
46 
51  inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
52 
57  inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
58 
63  inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
64 
69  inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
70 
75  inline ListTemplateVersionsRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
76 
81  inline ListTemplateVersionsRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
82 
87  inline ListTemplateVersionsRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
88 
89 
93  inline const Aws::String& GetTemplateId() const{ return m_templateId; }
94 
98  inline bool TemplateIdHasBeenSet() const { return m_templateIdHasBeenSet; }
99 
103  inline void SetTemplateId(const Aws::String& value) { m_templateIdHasBeenSet = true; m_templateId = value; }
104 
108  inline void SetTemplateId(Aws::String&& value) { m_templateIdHasBeenSet = true; m_templateId = std::move(value); }
109 
113  inline void SetTemplateId(const char* value) { m_templateIdHasBeenSet = true; m_templateId.assign(value); }
114 
118  inline ListTemplateVersionsRequest& WithTemplateId(const Aws::String& value) { SetTemplateId(value); return *this;}
119 
123  inline ListTemplateVersionsRequest& WithTemplateId(Aws::String&& value) { SetTemplateId(std::move(value)); return *this;}
124 
128  inline ListTemplateVersionsRequest& WithTemplateId(const char* value) { SetTemplateId(value); return *this;}
129 
130 
135  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
136 
141  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
142 
147  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
148 
153  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
154 
159  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
160 
165  inline ListTemplateVersionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
166 
171  inline ListTemplateVersionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
172 
177  inline ListTemplateVersionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
178 
179 
183  inline int GetMaxResults() const{ return m_maxResults; }
184 
188  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
189 
193  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
194 
198  inline ListTemplateVersionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
199 
200  private:
201 
202  Aws::String m_awsAccountId;
203  bool m_awsAccountIdHasBeenSet;
204 
205  Aws::String m_templateId;
206  bool m_templateIdHasBeenSet;
207 
208  Aws::String m_nextToken;
209  bool m_nextTokenHasBeenSet;
210 
211  int m_maxResults;
212  bool m_maxResultsHasBeenSet;
213  };
214 
215 } // namespace Model
216 } // namespace QuickSight
217 } // namespace Aws
Aws::QuickSight::Model::ListTemplateVersionsRequest::WithNextToken
ListTemplateVersionsRequest & WithNextToken(const Aws::String &value)
Definition: ListTemplateVersionsRequest.h:165
Aws::QuickSight::Model::ListTemplateVersionsRequest::SetAwsAccountId
void SetAwsAccountId(Aws::String &&value)
Definition: ListTemplateVersionsRequest.h:63
Aws::QuickSight::Model::ListTemplateVersionsRequest::WithTemplateId
ListTemplateVersionsRequest & WithTemplateId(Aws::String &&value)
Definition: ListTemplateVersionsRequest.h:123
Aws::Http::URI
Definition: URI.h:32
QuickSight_EXPORTS.h
Aws::QuickSight::Model::ListTemplateVersionsRequest::GetAwsAccountId
const Aws::String & GetAwsAccountId() const
Definition: ListTemplateVersionsRequest.h:45
Aws::QuickSight::Model::ListTemplateVersionsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListTemplateVersionsRequest.h:183
Aws::QuickSight::Model::ListTemplateVersionsRequest::WithAwsAccountId
ListTemplateVersionsRequest & WithAwsAccountId(Aws::String &&value)
Definition: ListTemplateVersionsRequest.h:81
Aws::QuickSight::Model::ListTemplateVersionsRequest::GetTemplateId
const Aws::String & GetTemplateId() const
Definition: ListTemplateVersionsRequest.h:93
Aws::QuickSight::Model::ListTemplateVersionsRequest
Definition: ListTemplateVersionsRequest.h:26
Aws::QuickSight::Model::ListTemplateVersionsRequest::WithMaxResults
ListTemplateVersionsRequest & WithMaxResults(int value)
Definition: ListTemplateVersionsRequest.h:198
Aws::QuickSight::Model::ListTemplateVersionsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListTemplateVersionsRequest.h:159
Aws::QuickSight::Model::ListTemplateVersionsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListTemplateVersionsRequest.h:188
Aws::QuickSight::Model::ListTemplateVersionsRequest::WithNextToken
ListTemplateVersionsRequest & WithNextToken(const char *value)
Definition: ListTemplateVersionsRequest.h:177
Aws::QuickSight::Model::ListTemplateVersionsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListTemplateVersionsRequest.h:147
Aws::QuickSight::Model::ListTemplateVersionsRequest::WithNextToken
ListTemplateVersionsRequest & WithNextToken(Aws::String &&value)
Definition: ListTemplateVersionsRequest.h:171
Aws::QuickSight::Model::ListTemplateVersionsRequest::SetAwsAccountId
void SetAwsAccountId(const Aws::String &value)
Definition: ListTemplateVersionsRequest.h:57
Aws::QuickSight::Model::ListTemplateVersionsRequest::SetTemplateId
void SetTemplateId(const char *value)
Definition: ListTemplateVersionsRequest.h:113
Aws::QuickSight::Model::ListTemplateVersionsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListTemplateVersionsRequest.h:141
Aws::QuickSight::Model::ListTemplateVersionsRequest::WithAwsAccountId
ListTemplateVersionsRequest & WithAwsAccountId(const Aws::String &value)
Definition: ListTemplateVersionsRequest.h:75
QuickSightRequest.h
Aws::QuickSight::Model::ListTemplateVersionsRequest::AwsAccountIdHasBeenSet
bool AwsAccountIdHasBeenSet() const
Definition: ListTemplateVersionsRequest.h:51
Aws::QuickSight::Model::ListTemplateVersionsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListTemplateVersionsRequest.h:193
Aws::QuickSight::Model::ListTemplateVersionsRequest::WithAwsAccountId
ListTemplateVersionsRequest & WithAwsAccountId(const char *value)
Definition: ListTemplateVersionsRequest.h:87
Aws::QuickSight::Model::ListTemplateVersionsRequest::SetAwsAccountId
void SetAwsAccountId(const char *value)
Definition: ListTemplateVersionsRequest.h:69
Aws::QuickSight::Model::ListTemplateVersionsRequest::SetTemplateId
void SetTemplateId(Aws::String &&value)
Definition: ListTemplateVersionsRequest.h:108
AWSString.h
Aws::QuickSight::Model::ListTemplateVersionsRequest::TemplateIdHasBeenSet
bool TemplateIdHasBeenSet() const
Definition: ListTemplateVersionsRequest.h:98
Aws::QuickSight::Model::ListTemplateVersionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListTemplateVersionsRequest.h:34
Aws::QuickSight::Model::ListTemplateVersionsRequest::ListTemplateVersionsRequest
ListTemplateVersionsRequest()
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::ListTemplateVersionsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::QuickSight::Model::ListTemplateVersionsRequest::SetTemplateId
void SetTemplateId(const Aws::String &value)
Definition: ListTemplateVersionsRequest.h:103
Aws::QuickSight::Model::ListTemplateVersionsRequest::WithTemplateId
ListTemplateVersionsRequest & WithTemplateId(const char *value)
Definition: ListTemplateVersionsRequest.h:128
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::ListTemplateVersionsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListTemplateVersionsRequest.h:135
Aws::QuickSight::Model::ListTemplateVersionsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListTemplateVersionsRequest.h:153
Aws::QuickSight::Model::ListTemplateVersionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::QuickSight::Model::ListTemplateVersionsRequest::WithTemplateId
ListTemplateVersionsRequest & WithTemplateId(const Aws::String &value)
Definition: ListTemplateVersionsRequest.h:118
Aws::QuickSight::QuickSightRequest
Definition: QuickSightRequest.h:17