AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
SearchDashboardsRequest.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/DashboardSearchFilter.h>
12
13#include <utility>
14
15namespace Aws {
16namespace QuickSight {
17namespace Model {
18
22 public:
23 AWS_QUICKSIGHT_API SearchDashboardsRequest() = 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 "SearchDashboards"; }
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 SearchDashboardsRequest& WithAwsAccountId(AwsAccountIdT&& value) {
47 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
48 return *this;
49 }
51
53
59 inline const Aws::Vector<DashboardSearchFilter>& GetFilters() const { return m_filters; }
60 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
61 template <typename FiltersT = Aws::Vector<DashboardSearchFilter>>
62 void SetFilters(FiltersT&& value) {
63 m_filtersHasBeenSet = true;
64 m_filters = std::forward<FiltersT>(value);
65 }
66 template <typename FiltersT = Aws::Vector<DashboardSearchFilter>>
68 SetFilters(std::forward<FiltersT>(value));
69 return *this;
70 }
71 template <typename FiltersT = DashboardSearchFilter>
73 m_filtersHasBeenSet = true;
74 m_filters.emplace_back(std::forward<FiltersT>(value));
75 return *this;
76 }
78
80
84 inline const Aws::String& GetNextToken() const { return m_nextToken; }
85 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
86 template <typename NextTokenT = Aws::String>
87 void SetNextToken(NextTokenT&& value) {
88 m_nextTokenHasBeenSet = true;
89 m_nextToken = std::forward<NextTokenT>(value);
90 }
91 template <typename NextTokenT = Aws::String>
93 SetNextToken(std::forward<NextTokenT>(value));
94 return *this;
95 }
97
99
102 inline int GetMaxResults() const { return m_maxResults; }
103 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
104 inline void SetMaxResults(int value) {
105 m_maxResultsHasBeenSet = true;
106 m_maxResults = value;
107 }
109 SetMaxResults(value);
110 return *this;
111 }
113 private:
114 Aws::String m_awsAccountId;
115
117
118 Aws::String m_nextToken;
119
120 int m_maxResults{0};
121 bool m_awsAccountIdHasBeenSet = false;
122 bool m_filtersHasBeenSet = false;
123 bool m_nextTokenHasBeenSet = false;
124 bool m_maxResultsHasBeenSet = false;
125};
126
127} // namespace Model
128} // namespace QuickSight
129} // namespace Aws
SearchDashboardsRequest & WithAwsAccountId(AwsAccountIdT &&value)
SearchDashboardsRequest & WithNextToken(NextTokenT &&value)
const Aws::Vector< DashboardSearchFilter > & GetFilters() const
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
SearchDashboardsRequest & AddFilters(FiltersT &&value)
AWS_QUICKSIGHT_API SearchDashboardsRequest()=default
virtual const char * GetServiceRequestName() const override
SearchDashboardsRequest & WithMaxResults(int value)
SearchDashboardsRequest & WithFilters(FiltersT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector