AWS SDK for C++  1.9.40
AWS SDK for C++
SearchDashboardsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace QuickSight
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "SearchDashboards"; }
33 
34  Aws::String SerializePayload() const override;
35 
36 
41  inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
42 
47  inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
48 
53  inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
54 
59  inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
60 
65  inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
66 
71  inline SearchDashboardsRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
72 
77  inline SearchDashboardsRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
78 
83  inline SearchDashboardsRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
84 
85 
92  inline const Aws::Vector<DashboardSearchFilter>& GetFilters() const{ return m_filters; }
93 
100  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
101 
108  inline void SetFilters(const Aws::Vector<DashboardSearchFilter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
109 
116  inline void SetFilters(Aws::Vector<DashboardSearchFilter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
117 
124  inline SearchDashboardsRequest& WithFilters(const Aws::Vector<DashboardSearchFilter>& value) { SetFilters(value); return *this;}
125 
132  inline SearchDashboardsRequest& WithFilters(Aws::Vector<DashboardSearchFilter>&& value) { SetFilters(std::move(value)); return *this;}
133 
140  inline SearchDashboardsRequest& AddFilters(const DashboardSearchFilter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
141 
148  inline SearchDashboardsRequest& AddFilters(DashboardSearchFilter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
149 
150 
155  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
156 
161  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
162 
167  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
168 
173  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
174 
179  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
180 
185  inline SearchDashboardsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
186 
191  inline SearchDashboardsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
192 
197  inline SearchDashboardsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
198 
199 
203  inline int GetMaxResults() const{ return m_maxResults; }
204 
208  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
209 
213  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
214 
218  inline SearchDashboardsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
219 
220  private:
221 
222  Aws::String m_awsAccountId;
223  bool m_awsAccountIdHasBeenSet;
224 
226  bool m_filtersHasBeenSet;
227 
228  Aws::String m_nextToken;
229  bool m_nextTokenHasBeenSet;
230 
231  int m_maxResults;
232  bool m_maxResultsHasBeenSet;
233  };
234 
235 } // namespace Model
236 } // namespace QuickSight
237 } // namespace Aws
Aws::QuickSight::Model::SearchDashboardsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: SearchDashboardsRequest.h:32
Aws::QuickSight::Model::SearchDashboardsRequest::SetAwsAccountId
void SetAwsAccountId(const Aws::String &value)
Definition: SearchDashboardsRequest.h:53
QuickSight_EXPORTS.h
Aws::QuickSight::Model::SearchDashboardsRequest::SetFilters
void SetFilters(Aws::Vector< DashboardSearchFilter > &&value)
Definition: SearchDashboardsRequest.h:116
Aws::QuickSight::Model::SearchDashboardsRequest::SetFilters
void SetFilters(const Aws::Vector< DashboardSearchFilter > &value)
Definition: SearchDashboardsRequest.h:108
Aws::QuickSight::Model::SearchDashboardsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: SearchDashboardsRequest.h:161
Aws::QuickSight::Model::SearchDashboardsRequest::GetAwsAccountId
const Aws::String & GetAwsAccountId() const
Definition: SearchDashboardsRequest.h:41
Aws::QuickSight::Model::SearchDashboardsRequest::GetFilters
const Aws::Vector< DashboardSearchFilter > & GetFilters() const
Definition: SearchDashboardsRequest.h:92
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::QuickSight::Model::SearchDashboardsRequest::SetAwsAccountId
void SetAwsAccountId(const char *value)
Definition: SearchDashboardsRequest.h:65
Aws::QuickSight::Model::DashboardSearchFilter
Definition: DashboardSearchFilter.h:35
Aws::QuickSight::Model::SearchDashboardsRequest::WithFilters
SearchDashboardsRequest & WithFilters(Aws::Vector< DashboardSearchFilter > &&value)
Definition: SearchDashboardsRequest.h:132
Aws::QuickSight::Model::SearchDashboardsRequest::WithNextToken
SearchDashboardsRequest & WithNextToken(const char *value)
Definition: SearchDashboardsRequest.h:197
Aws::QuickSight::Model::SearchDashboardsRequest::GetMaxResults
int GetMaxResults() const
Definition: SearchDashboardsRequest.h:203
Aws::QuickSight::Model::SearchDashboardsRequest::WithAwsAccountId
SearchDashboardsRequest & WithAwsAccountId(Aws::String &&value)
Definition: SearchDashboardsRequest.h:77
Aws::QuickSight::Model::SearchDashboardsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: SearchDashboardsRequest.h:167
Aws::QuickSight::Model::SearchDashboardsRequest::WithNextToken
SearchDashboardsRequest & WithNextToken(Aws::String &&value)
Definition: SearchDashboardsRequest.h:191
Aws::QuickSight::Model::SearchDashboardsRequest::WithNextToken
SearchDashboardsRequest & WithNextToken(const Aws::String &value)
Definition: SearchDashboardsRequest.h:185
QuickSightRequest.h
Aws::QuickSight::Model::SearchDashboardsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: SearchDashboardsRequest.h:208
Aws::QuickSight::Model::SearchDashboardsRequest::SearchDashboardsRequest
SearchDashboardsRequest()
AWSString.h
Aws::QuickSight::Model::SearchDashboardsRequest
Definition: SearchDashboardsRequest.h:24
Aws::QuickSight::Model::SearchDashboardsRequest::WithAwsAccountId
SearchDashboardsRequest & WithAwsAccountId(const char *value)
Definition: SearchDashboardsRequest.h:83
Aws::QuickSight::Model::SearchDashboardsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::QuickSight::Model::SearchDashboardsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: SearchDashboardsRequest.h:173
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::SearchDashboardsRequest::WithAwsAccountId
SearchDashboardsRequest & WithAwsAccountId(const Aws::String &value)
Definition: SearchDashboardsRequest.h:71
Aws::QuickSight::Model::SearchDashboardsRequest::AwsAccountIdHasBeenSet
bool AwsAccountIdHasBeenSet() const
Definition: SearchDashboardsRequest.h:47
Aws::QuickSight::Model::SearchDashboardsRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: SearchDashboardsRequest.h:100
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::SearchDashboardsRequest::AddFilters
SearchDashboardsRequest & AddFilters(DashboardSearchFilter &&value)
Definition: SearchDashboardsRequest.h:148
Aws::QuickSight::Model::SearchDashboardsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: SearchDashboardsRequest.h:179
Aws::QuickSight::Model::SearchDashboardsRequest::WithMaxResults
SearchDashboardsRequest & WithMaxResults(int value)
Definition: SearchDashboardsRequest.h:218
DashboardSearchFilter.h
Aws::QuickSight::Model::SearchDashboardsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: SearchDashboardsRequest.h:213
Aws::QuickSight::Model::SearchDashboardsRequest::SetAwsAccountId
void SetAwsAccountId(Aws::String &&value)
Definition: SearchDashboardsRequest.h:59
Aws::QuickSight::Model::SearchDashboardsRequest::WithFilters
SearchDashboardsRequest & WithFilters(const Aws::Vector< DashboardSearchFilter > &value)
Definition: SearchDashboardsRequest.h:124
Aws::QuickSight::Model::SearchDashboardsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: SearchDashboardsRequest.h:155
Aws::QuickSight::QuickSightRequest
Definition: QuickSightRequest.h:17
Aws::QuickSight::Model::SearchDashboardsRequest::AddFilters
SearchDashboardsRequest & AddFilters(const DashboardSearchFilter &value)
Definition: SearchDashboardsRequest.h:140