AWS SDK for C++  1.9.46
AWS SDK for C++
SearchAnalysesRequest.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 "SearchAnalyses"; }
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 SearchAnalysesRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
72 
77  inline SearchAnalysesRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
78 
83  inline SearchAnalysesRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
84 
85 
90  inline const Aws::Vector<AnalysisSearchFilter>& GetFilters() const{ return m_filters; }
91 
96  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
97 
102  inline void SetFilters(const Aws::Vector<AnalysisSearchFilter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
103 
108  inline void SetFilters(Aws::Vector<AnalysisSearchFilter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
109 
114  inline SearchAnalysesRequest& WithFilters(const Aws::Vector<AnalysisSearchFilter>& value) { SetFilters(value); return *this;}
115 
120  inline SearchAnalysesRequest& WithFilters(Aws::Vector<AnalysisSearchFilter>&& value) { SetFilters(std::move(value)); return *this;}
121 
126  inline SearchAnalysesRequest& AddFilters(const AnalysisSearchFilter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
127 
132  inline SearchAnalysesRequest& AddFilters(AnalysisSearchFilter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
133 
134 
138  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
139 
143  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
144 
148  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
149 
153  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
154 
158  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
159 
163  inline SearchAnalysesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
164 
168  inline SearchAnalysesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
169 
173  inline SearchAnalysesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
174 
175 
179  inline int GetMaxResults() const{ return m_maxResults; }
180 
184  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
185 
189  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
190 
194  inline SearchAnalysesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
195 
196  private:
197 
198  Aws::String m_awsAccountId;
199  bool m_awsAccountIdHasBeenSet;
200 
202  bool m_filtersHasBeenSet;
203 
204  Aws::String m_nextToken;
205  bool m_nextTokenHasBeenSet;
206 
207  int m_maxResults;
208  bool m_maxResultsHasBeenSet;
209  };
210 
211 } // namespace Model
212 } // namespace QuickSight
213 } // namespace Aws
Aws::QuickSight::Model::SearchAnalysesRequest::WithMaxResults
SearchAnalysesRequest & WithMaxResults(int value)
Definition: SearchAnalysesRequest.h:194
Aws::QuickSight::Model::SearchAnalysesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: SearchAnalysesRequest.h:189
QuickSight_EXPORTS.h
Aws::QuickSight::Model::SearchAnalysesRequest::AwsAccountIdHasBeenSet
bool AwsAccountIdHasBeenSet() const
Definition: SearchAnalysesRequest.h:47
Aws::QuickSight::Model::SearchAnalysesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: SearchAnalysesRequest.h:148
Aws::QuickSight::Model::SearchAnalysesRequest::GetAwsAccountId
const Aws::String & GetAwsAccountId() const
Definition: SearchAnalysesRequest.h:41
Aws::QuickSight::Model::SearchAnalysesRequest::WithNextToken
SearchAnalysesRequest & WithNextToken(const Aws::String &value)
Definition: SearchAnalysesRequest.h:163
Aws::QuickSight::Model::SearchAnalysesRequest::WithAwsAccountId
SearchAnalysesRequest & WithAwsAccountId(Aws::String &&value)
Definition: SearchAnalysesRequest.h:77
Aws::QuickSight::Model::AnalysisSearchFilter
Definition: AnalysisSearchFilter.h:35
Aws::QuickSight::Model::SearchAnalysesRequest::AddFilters
SearchAnalysesRequest & AddFilters(AnalysisSearchFilter &&value)
Definition: SearchAnalysesRequest.h:132
Aws::QuickSight::Model::SearchAnalysesRequest::WithAwsAccountId
SearchAnalysesRequest & WithAwsAccountId(const char *value)
Definition: SearchAnalysesRequest.h:83
Aws::QuickSight::Model::SearchAnalysesRequest::WithNextToken
SearchAnalysesRequest & WithNextToken(const char *value)
Definition: SearchAnalysesRequest.h:173
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::QuickSight::Model::SearchAnalysesRequest::WithFilters
SearchAnalysesRequest & WithFilters(const Aws::Vector< AnalysisSearchFilter > &value)
Definition: SearchAnalysesRequest.h:114
AWSVector.h
Aws::QuickSight::Model::SearchAnalysesRequest::SetFilters
void SetFilters(Aws::Vector< AnalysisSearchFilter > &&value)
Definition: SearchAnalysesRequest.h:108
Aws::QuickSight::Model::SearchAnalysesRequest::SetAwsAccountId
void SetAwsAccountId(const Aws::String &value)
Definition: SearchAnalysesRequest.h:53
Aws::QuickSight::Model::SearchAnalysesRequest::SearchAnalysesRequest
SearchAnalysesRequest()
QuickSightRequest.h
AnalysisSearchFilter.h
Aws::QuickSight::Model::SearchAnalysesRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: SearchAnalysesRequest.h:96
Aws::QuickSight::Model::SearchAnalysesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: SearchAnalysesRequest.h:138
AWSString.h
Aws::QuickSight::Model::SearchAnalysesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::QuickSight::Model::SearchAnalysesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: SearchAnalysesRequest.h:153
Aws::QuickSight::Model::SearchAnalysesRequest::SetFilters
void SetFilters(const Aws::Vector< AnalysisSearchFilter > &value)
Definition: SearchAnalysesRequest.h:102
Aws::QuickSight::Model::SearchAnalysesRequest::SetAwsAccountId
void SetAwsAccountId(const char *value)
Definition: SearchAnalysesRequest.h:65
Aws::QuickSight::Model::SearchAnalysesRequest::WithFilters
SearchAnalysesRequest & WithFilters(Aws::Vector< AnalysisSearchFilter > &&value)
Definition: SearchAnalysesRequest.h:120
Aws::QuickSight::Model::SearchAnalysesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: SearchAnalysesRequest.h:143
Aws::QuickSight::Model::SearchAnalysesRequest::SetAwsAccountId
void SetAwsAccountId(Aws::String &&value)
Definition: SearchAnalysesRequest.h:59
Aws::QuickSight::Model::SearchAnalysesRequest::WithNextToken
SearchAnalysesRequest & WithNextToken(Aws::String &&value)
Definition: SearchAnalysesRequest.h:168
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::SearchAnalysesRequest::GetMaxResults
int GetMaxResults() const
Definition: SearchAnalysesRequest.h:179
Aws::QuickSight::Model::SearchAnalysesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: SearchAnalysesRequest.h:32
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::SearchAnalysesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: SearchAnalysesRequest.h:184
Aws::QuickSight::Model::SearchAnalysesRequest
Definition: SearchAnalysesRequest.h:24
Aws::QuickSight::Model::SearchAnalysesRequest::AddFilters
SearchAnalysesRequest & AddFilters(const AnalysisSearchFilter &value)
Definition: SearchAnalysesRequest.h:126
Aws::QuickSight::Model::SearchAnalysesRequest::WithAwsAccountId
SearchAnalysesRequest & WithAwsAccountId(const Aws::String &value)
Definition: SearchAnalysesRequest.h:71
Aws::QuickSight::Model::SearchAnalysesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: SearchAnalysesRequest.h:158
Aws::QuickSight::QuickSightRequest
Definition: QuickSightRequest.h:17
Aws::QuickSight::Model::SearchAnalysesRequest::GetFilters
const Aws::Vector< AnalysisSearchFilter > & GetFilters() const
Definition: SearchAnalysesRequest.h:90