AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
SearchDataSetsRequest.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/DataSetSearchFilter.h>
12
13#include <utility>
14
15namespace Aws {
16namespace QuickSight {
17namespace Model {
18
22 public:
23 AWS_QUICKSIGHT_API SearchDataSetsRequest() = 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 "SearchDataSets"; }
30
31 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
32
34
37 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
38 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
39 template <typename AwsAccountIdT = Aws::String>
40 void SetAwsAccountId(AwsAccountIdT&& value) {
41 m_awsAccountIdHasBeenSet = true;
42 m_awsAccountId = std::forward<AwsAccountIdT>(value);
43 }
44 template <typename AwsAccountIdT = Aws::String>
45 SearchDataSetsRequest& WithAwsAccountId(AwsAccountIdT&& value) {
46 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::Vector<DataSetSearchFilter>& GetFilters() const { return m_filters; }
56 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
57 template <typename FiltersT = Aws::Vector<DataSetSearchFilter>>
58 void SetFilters(FiltersT&& value) {
59 m_filtersHasBeenSet = true;
60 m_filters = std::forward<FiltersT>(value);
61 }
62 template <typename FiltersT = Aws::Vector<DataSetSearchFilter>>
64 SetFilters(std::forward<FiltersT>(value));
65 return *this;
66 }
67 template <typename FiltersT = DataSetSearchFilter>
68 SearchDataSetsRequest& AddFilters(FiltersT&& value) {
69 m_filtersHasBeenSet = true;
70 m_filters.emplace_back(std::forward<FiltersT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::String& GetNextToken() const { return m_nextToken; }
80 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
81 template <typename NextTokenT = Aws::String>
82 void SetNextToken(NextTokenT&& value) {
83 m_nextTokenHasBeenSet = true;
84 m_nextToken = std::forward<NextTokenT>(value);
85 }
86 template <typename NextTokenT = Aws::String>
87 SearchDataSetsRequest& WithNextToken(NextTokenT&& value) {
88 SetNextToken(std::forward<NextTokenT>(value));
89 return *this;
90 }
92
94
97 inline int GetMaxResults() const { return m_maxResults; }
98 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
99 inline void SetMaxResults(int value) {
100 m_maxResultsHasBeenSet = true;
101 m_maxResults = value;
102 }
104 SetMaxResults(value);
105 return *this;
106 }
108 private:
109 Aws::String m_awsAccountId;
110
112
113 Aws::String m_nextToken;
114
115 int m_maxResults{0};
116 bool m_awsAccountIdHasBeenSet = false;
117 bool m_filtersHasBeenSet = false;
118 bool m_nextTokenHasBeenSet = false;
119 bool m_maxResultsHasBeenSet = false;
120};
121
122} // namespace Model
123} // namespace QuickSight
124} // namespace Aws
SearchDataSetsRequest & WithFilters(FiltersT &&value)
SearchDataSetsRequest & WithMaxResults(int value)
AWS_QUICKSIGHT_API SearchDataSetsRequest()=default
SearchDataSetsRequest & WithNextToken(NextTokenT &&value)
SearchDataSetsRequest & WithAwsAccountId(AwsAccountIdT &&value)
const Aws::Vector< DataSetSearchFilter > & GetFilters() const
virtual const char * GetServiceRequestName() const override
SearchDataSetsRequest & AddFilters(FiltersT &&value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector