AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
DescribeOutboundConnectionsRequest.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/opensearch/OpenSearchServiceRequest.h>
10#include <aws/opensearch/OpenSearchService_EXPORTS.h>
11#include <aws/opensearch/model/Filter.h>
12
13#include <utility>
14
15namespace Aws {
16namespace OpenSearchService {
17namespace Model {
18
26 public:
27 AWS_OPENSEARCHSERVICE_API DescribeOutboundConnectionsRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "DescribeOutboundConnections"; }
34
35 AWS_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override;
36
38
41 inline const Aws::Vector<Filter>& GetFilters() const { return m_filters; }
42 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
43 template <typename FiltersT = Aws::Vector<Filter>>
44 void SetFilters(FiltersT&& value) {
45 m_filtersHasBeenSet = true;
46 m_filters = std::forward<FiltersT>(value);
47 }
48 template <typename FiltersT = Aws::Vector<Filter>>
50 SetFilters(std::forward<FiltersT>(value));
51 return *this;
52 }
53 template <typename FiltersT = Filter>
55 m_filtersHasBeenSet = true;
56 m_filters.emplace_back(std::forward<FiltersT>(value));
57 return *this;
58 }
60
62
66 inline int GetMaxResults() const { return m_maxResults; }
67 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
68 inline void SetMaxResults(int value) {
69 m_maxResultsHasBeenSet = true;
70 m_maxResults = value;
71 }
73 SetMaxResults(value);
74 return *this;
75 }
77
79
85 inline const Aws::String& GetNextToken() const { return m_nextToken; }
86 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
87 template <typename NextTokenT = Aws::String>
88 void SetNextToken(NextTokenT&& value) {
89 m_nextTokenHasBeenSet = true;
90 m_nextToken = std::forward<NextTokenT>(value);
91 }
92 template <typename NextTokenT = Aws::String>
94 SetNextToken(std::forward<NextTokenT>(value));
95 return *this;
96 }
98 private:
99 Aws::Vector<Filter> m_filters;
100
101 int m_maxResults{0};
102
103 Aws::String m_nextToken;
104 bool m_filtersHasBeenSet = false;
105 bool m_maxResultsHasBeenSet = false;
106 bool m_nextTokenHasBeenSet = false;
107};
108
109} // namespace Model
110} // namespace OpenSearchService
111} // namespace Aws
DescribeOutboundConnectionsRequest & WithNextToken(NextTokenT &&value)
AWS_OPENSEARCHSERVICE_API DescribeOutboundConnectionsRequest()=default
AWS_OPENSEARCHSERVICE_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