AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
SearchActionConnectorsRequest.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/ActionConnectorSearchFilter.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Http {
17class URI;
18} // namespace Http
19namespace QuickSight {
20namespace Model {
21
25 public:
26 AWS_QUICKSIGHT_API SearchActionConnectorsRequest() = default;
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 "SearchActionConnectors"; }
33
34 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
35
36 AWS_QUICKSIGHT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
37
39
43 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
44 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
45 template <typename AwsAccountIdT = Aws::String>
46 void SetAwsAccountId(AwsAccountIdT&& value) {
47 m_awsAccountIdHasBeenSet = true;
48 m_awsAccountId = std::forward<AwsAccountIdT>(value);
49 }
50 template <typename AwsAccountIdT = Aws::String>
52 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
53 return *this;
54 }
56
58
62 inline int GetMaxResults() const { return m_maxResults; }
63 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
64 inline void SetMaxResults(int value) {
65 m_maxResultsHasBeenSet = true;
66 m_maxResults = value;
67 }
69 SetMaxResults(value);
70 return *this;
71 }
73
75
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>
88 SetNextToken(std::forward<NextTokenT>(value));
89 return *this;
90 }
92
94
98 inline const Aws::Vector<ActionConnectorSearchFilter>& GetFilters() const { return m_filters; }
99 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
100 template <typename FiltersT = Aws::Vector<ActionConnectorSearchFilter>>
101 void SetFilters(FiltersT&& value) {
102 m_filtersHasBeenSet = true;
103 m_filters = std::forward<FiltersT>(value);
104 }
105 template <typename FiltersT = Aws::Vector<ActionConnectorSearchFilter>>
107 SetFilters(std::forward<FiltersT>(value));
108 return *this;
109 }
110 template <typename FiltersT = ActionConnectorSearchFilter>
112 m_filtersHasBeenSet = true;
113 m_filters.emplace_back(std::forward<FiltersT>(value));
114 return *this;
115 }
117 private:
118 Aws::String m_awsAccountId;
119
120 int m_maxResults{0};
121
122 Aws::String m_nextToken;
123
125 bool m_awsAccountIdHasBeenSet = false;
126 bool m_maxResultsHasBeenSet = false;
127 bool m_nextTokenHasBeenSet = false;
128 bool m_filtersHasBeenSet = false;
129};
130
131} // namespace Model
132} // namespace QuickSight
133} // namespace Aws
const Aws::Vector< ActionConnectorSearchFilter > & GetFilters() const
SearchActionConnectorsRequest & WithAwsAccountId(AwsAccountIdT &&value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
AWS_QUICKSIGHT_API SearchActionConnectorsRequest()=default
SearchActionConnectorsRequest & WithFilters(FiltersT &&value)
AWS_QUICKSIGHT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
SearchActionConnectorsRequest & WithNextToken(NextTokenT &&value)
SearchActionConnectorsRequest & AddFilters(FiltersT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector