AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
SearchAnalysesRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/quicksight/QuickSightRequest.h>
10#include <aws/quicksight/QuickSight_EXPORTS.h>
11#include <aws/quicksight/model/AnalysisSearchFilter.h>
12
13#include <utility>
14
15namespace Aws {
16namespace QuickSight {
17namespace Model {
18
22 public:
23 AWS_QUICKSIGHT_API SearchAnalysesRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "SearchAnalyses"; }
30
31 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
32
34
38 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
39 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
40 template <typename AwsAccountIdT = Aws::String>
41 void SetAwsAccountId(AwsAccountIdT&& value) {
42 m_awsAccountIdHasBeenSet = true;
43 m_awsAccountId = std::forward<AwsAccountIdT>(value);
44 }
45 template <typename AwsAccountIdT = Aws::String>
46 SearchAnalysesRequest& WithAwsAccountId(AwsAccountIdT&& value) {
47 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
48 return *this;
49 }
51
53
57 inline const Aws::Vector<AnalysisSearchFilter>& GetFilters() const { return m_filters; }
58 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
59 template <typename FiltersT = Aws::Vector<AnalysisSearchFilter>>
60 void SetFilters(FiltersT&& value) {
61 m_filtersHasBeenSet = true;
62 m_filters = std::forward<FiltersT>(value);
63 }
64 template <typename FiltersT = Aws::Vector<AnalysisSearchFilter>>
66 SetFilters(std::forward<FiltersT>(value));
67 return *this;
68 }
69 template <typename FiltersT = AnalysisSearchFilter>
70 SearchAnalysesRequest& AddFilters(FiltersT&& value) {
71 m_filtersHasBeenSet = true;
72 m_filters.emplace_back(std::forward<FiltersT>(value));
73 return *this;
74 }
76
78
81 inline const Aws::String& GetNextToken() const { return m_nextToken; }
82 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
83 template <typename NextTokenT = Aws::String>
84 void SetNextToken(NextTokenT&& value) {
85 m_nextTokenHasBeenSet = true;
86 m_nextToken = std::forward<NextTokenT>(value);
87 }
88 template <typename NextTokenT = Aws::String>
89 SearchAnalysesRequest& WithNextToken(NextTokenT&& value) {
90 SetNextToken(std::forward<NextTokenT>(value));
91 return *this;
92 }
94
96
99 inline int GetMaxResults() const { return m_maxResults; }
100 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
101 inline void SetMaxResults(int value) {
102 m_maxResultsHasBeenSet = true;
103 m_maxResults = value;
104 }
106 SetMaxResults(value);
107 return *this;
108 }
110 private:
111 Aws::String m_awsAccountId;
112
114
115 Aws::String m_nextToken;
116
117 int m_maxResults{0};
118 bool m_awsAccountIdHasBeenSet = false;
119 bool m_filtersHasBeenSet = false;
120 bool m_nextTokenHasBeenSet = false;
121 bool m_maxResultsHasBeenSet = false;
122};
123
124} // namespace Model
125} // namespace QuickSight
126} // namespace Aws
SearchAnalysesRequest & WithFilters(FiltersT &&value)
const Aws::Vector< AnalysisSearchFilter > & GetFilters() const
AWS_QUICKSIGHT_API SearchAnalysesRequest()=default
SearchAnalysesRequest & AddFilters(FiltersT &&value)
SearchAnalysesRequest & WithAwsAccountId(AwsAccountIdT &&value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
SearchAnalysesRequest & WithMaxResults(int value)
virtual const char * GetServiceRequestName() const override
SearchAnalysesRequest & WithNextToken(NextTokenT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector