AWS SDK for C++  1.9.159
AWS SDK for C++
ListDashboardVersionsRequest.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 "ListDashboardVersions"; }
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 ListDashboardVersionsRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
76 
81  inline ListDashboardVersionsRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
82 
87  inline ListDashboardVersionsRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
88 
89 
93  inline const Aws::String& GetDashboardId() const{ return m_dashboardId; }
94 
98  inline bool DashboardIdHasBeenSet() const { return m_dashboardIdHasBeenSet; }
99 
103  inline void SetDashboardId(const Aws::String& value) { m_dashboardIdHasBeenSet = true; m_dashboardId = value; }
104 
108  inline void SetDashboardId(Aws::String&& value) { m_dashboardIdHasBeenSet = true; m_dashboardId = std::move(value); }
109 
113  inline void SetDashboardId(const char* value) { m_dashboardIdHasBeenSet = true; m_dashboardId.assign(value); }
114 
118  inline ListDashboardVersionsRequest& WithDashboardId(const Aws::String& value) { SetDashboardId(value); return *this;}
119 
123  inline ListDashboardVersionsRequest& WithDashboardId(Aws::String&& value) { SetDashboardId(std::move(value)); return *this;}
124 
128  inline ListDashboardVersionsRequest& WithDashboardId(const char* value) { SetDashboardId(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 ListDashboardVersionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
166 
171  inline ListDashboardVersionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
172 
177  inline ListDashboardVersionsRequest& 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 ListDashboardVersionsRequest& 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_dashboardId;
206  bool m_dashboardIdHasBeenSet;
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::ListDashboardVersionsRequest::SetAwsAccountId
void SetAwsAccountId(Aws::String &&value)
Definition: ListDashboardVersionsRequest.h:63
Aws::QuickSight::Model::ListDashboardVersionsRequest::WithAwsAccountId
ListDashboardVersionsRequest & WithAwsAccountId(const char *value)
Definition: ListDashboardVersionsRequest.h:87
Aws::QuickSight::Model::ListDashboardVersionsRequest
Definition: ListDashboardVersionsRequest.h:26
Aws::Http::URI
Definition: URI.h:32
QuickSight_EXPORTS.h
Aws::QuickSight::Model::ListDashboardVersionsRequest::ListDashboardVersionsRequest
ListDashboardVersionsRequest()
Aws::QuickSight::Model::ListDashboardVersionsRequest::AwsAccountIdHasBeenSet
bool AwsAccountIdHasBeenSet() const
Definition: ListDashboardVersionsRequest.h:51
Aws::QuickSight::Model::ListDashboardVersionsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListDashboardVersionsRequest.h:159
Aws::QuickSight::Model::ListDashboardVersionsRequest::WithNextToken
ListDashboardVersionsRequest & WithNextToken(const Aws::String &value)
Definition: ListDashboardVersionsRequest.h:165
Aws::QuickSight::Model::ListDashboardVersionsRequest::WithAwsAccountId
ListDashboardVersionsRequest & WithAwsAccountId(const Aws::String &value)
Definition: ListDashboardVersionsRequest.h:75
Aws::QuickSight::Model::ListDashboardVersionsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListDashboardVersionsRequest.h:147
Aws::QuickSight::Model::ListDashboardVersionsRequest::WithDashboardId
ListDashboardVersionsRequest & WithDashboardId(const char *value)
Definition: ListDashboardVersionsRequest.h:128
Aws::QuickSight::Model::ListDashboardVersionsRequest::WithMaxResults
ListDashboardVersionsRequest & WithMaxResults(int value)
Definition: ListDashboardVersionsRequest.h:198
Aws::QuickSight::Model::ListDashboardVersionsRequest::WithNextToken
ListDashboardVersionsRequest & WithNextToken(const char *value)
Definition: ListDashboardVersionsRequest.h:177
Aws::QuickSight::Model::ListDashboardVersionsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListDashboardVersionsRequest.h:153
Aws::QuickSight::Model::ListDashboardVersionsRequest::GetAwsAccountId
const Aws::String & GetAwsAccountId() const
Definition: ListDashboardVersionsRequest.h:45
Aws::QuickSight::Model::ListDashboardVersionsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListDashboardVersionsRequest.h:193
Aws::QuickSight::Model::ListDashboardVersionsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::QuickSight::Model::ListDashboardVersionsRequest::SetAwsAccountId
void SetAwsAccountId(const char *value)
Definition: ListDashboardVersionsRequest.h:69
Aws::QuickSight::Model::ListDashboardVersionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListDashboardVersionsRequest.h:34
QuickSightRequest.h
Aws::QuickSight::Model::ListDashboardVersionsRequest::WithDashboardId
ListDashboardVersionsRequest & WithDashboardId(Aws::String &&value)
Definition: ListDashboardVersionsRequest.h:123
Aws::QuickSight::Model::ListDashboardVersionsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListDashboardVersionsRequest.h:188
Aws::QuickSight::Model::ListDashboardVersionsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListDashboardVersionsRequest.h:141
Aws::QuickSight::Model::ListDashboardVersionsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListDashboardVersionsRequest.h:135
AWSString.h
Aws::QuickSight::Model::ListDashboardVersionsRequest::GetDashboardId
const Aws::String & GetDashboardId() const
Definition: ListDashboardVersionsRequest.h:93
Aws::QuickSight::Model::ListDashboardVersionsRequest::SetAwsAccountId
void SetAwsAccountId(const Aws::String &value)
Definition: ListDashboardVersionsRequest.h:57
Aws::QuickSight::Model::ListDashboardVersionsRequest::SetDashboardId
void SetDashboardId(const char *value)
Definition: ListDashboardVersionsRequest.h:113
Aws::QuickSight::Model::ListDashboardVersionsRequest::SetDashboardId
void SetDashboardId(const Aws::String &value)
Definition: ListDashboardVersionsRequest.h:103
Aws::QuickSight::Model::ListDashboardVersionsRequest::SerializePayload
Aws::String SerializePayload() const override
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::ListDashboardVersionsRequest::DashboardIdHasBeenSet
bool DashboardIdHasBeenSet() const
Definition: ListDashboardVersionsRequest.h:98
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::ListDashboardVersionsRequest::SetDashboardId
void SetDashboardId(Aws::String &&value)
Definition: ListDashboardVersionsRequest.h:108
Aws::QuickSight::Model::ListDashboardVersionsRequest::WithDashboardId
ListDashboardVersionsRequest & WithDashboardId(const Aws::String &value)
Definition: ListDashboardVersionsRequest.h:118
Aws::QuickSight::Model::ListDashboardVersionsRequest::WithAwsAccountId
ListDashboardVersionsRequest & WithAwsAccountId(Aws::String &&value)
Definition: ListDashboardVersionsRequest.h:81
Aws::QuickSight::Model::ListDashboardVersionsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListDashboardVersionsRequest.h:183
Aws::QuickSight::QuickSightRequest
Definition: QuickSightRequest.h:17
Aws::QuickSight::Model::ListDashboardVersionsRequest::WithNextToken
ListDashboardVersionsRequest & WithNextToken(Aws::String &&value)
Definition: ListDashboardVersionsRequest.h:171