AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DescribeConnectorProfilesRequest.h
1
6#pragma once
7#include <aws/appflow/AppflowRequest.h>
8#include <aws/appflow/Appflow_EXPORTS.h>
9#include <aws/appflow/model/ConnectorType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Appflow {
17namespace Model {
18
22 public:
23 AWS_APPFLOW_API DescribeConnectorProfilesRequest() = 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 "DescribeConnectorProfiles"; }
30
31 AWS_APPFLOW_API Aws::String SerializePayload() const override;
32
34
38 inline const Aws::Vector<Aws::String>& GetConnectorProfileNames() const { return m_connectorProfileNames; }
39 inline bool ConnectorProfileNamesHasBeenSet() const { return m_connectorProfileNamesHasBeenSet; }
40 template <typename ConnectorProfileNamesT = Aws::Vector<Aws::String>>
41 void SetConnectorProfileNames(ConnectorProfileNamesT&& value) {
42 m_connectorProfileNamesHasBeenSet = true;
43 m_connectorProfileNames = std::forward<ConnectorProfileNamesT>(value);
44 }
45 template <typename ConnectorProfileNamesT = Aws::Vector<Aws::String>>
47 SetConnectorProfileNames(std::forward<ConnectorProfileNamesT>(value));
48 return *this;
49 }
50 template <typename ConnectorProfileNamesT = Aws::String>
52 m_connectorProfileNamesHasBeenSet = true;
53 m_connectorProfileNames.emplace_back(std::forward<ConnectorProfileNamesT>(value));
54 return *this;
55 }
57
59
62 inline ConnectorType GetConnectorType() const { return m_connectorType; }
63 inline bool ConnectorTypeHasBeenSet() const { return m_connectorTypeHasBeenSet; }
64 inline void SetConnectorType(ConnectorType value) {
65 m_connectorTypeHasBeenSet = true;
66 m_connectorType = value;
67 }
69 SetConnectorType(value);
70 return *this;
71 }
73
75
80 inline const Aws::String& GetConnectorLabel() const { return m_connectorLabel; }
81 inline bool ConnectorLabelHasBeenSet() const { return m_connectorLabelHasBeenSet; }
82 template <typename ConnectorLabelT = Aws::String>
83 void SetConnectorLabel(ConnectorLabelT&& value) {
84 m_connectorLabelHasBeenSet = true;
85 m_connectorLabel = std::forward<ConnectorLabelT>(value);
86 }
87 template <typename ConnectorLabelT = Aws::String>
89 SetConnectorLabel(std::forward<ConnectorLabelT>(value));
90 return *this;
91 }
93
95
100 inline int GetMaxResults() const { return m_maxResults; }
101 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
102 inline void SetMaxResults(int value) {
103 m_maxResultsHasBeenSet = true;
104 m_maxResults = value;
105 }
107 SetMaxResults(value);
108 return *this;
109 }
111
113
116 inline const Aws::String& GetNextToken() const { return m_nextToken; }
117 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
118 template <typename NextTokenT = Aws::String>
119 void SetNextToken(NextTokenT&& value) {
120 m_nextTokenHasBeenSet = true;
121 m_nextToken = std::forward<NextTokenT>(value);
122 }
123 template <typename NextTokenT = Aws::String>
125 SetNextToken(std::forward<NextTokenT>(value));
126 return *this;
127 }
129 private:
130 Aws::Vector<Aws::String> m_connectorProfileNames;
131
132 ConnectorType m_connectorType{ConnectorType::NOT_SET};
133
134 Aws::String m_connectorLabel;
135
136 int m_maxResults{0};
137
138 Aws::String m_nextToken;
139 bool m_connectorProfileNamesHasBeenSet = false;
140 bool m_connectorTypeHasBeenSet = false;
141 bool m_connectorLabelHasBeenSet = false;
142 bool m_maxResultsHasBeenSet = false;
143 bool m_nextTokenHasBeenSet = false;
144};
145
146} // namespace Model
147} // namespace Appflow
148} // namespace Aws
DescribeConnectorProfilesRequest & WithConnectorProfileNames(ConnectorProfileNamesT &&value)
AWS_APPFLOW_API Aws::String SerializePayload() const override
const Aws::Vector< Aws::String > & GetConnectorProfileNames() const
DescribeConnectorProfilesRequest & WithNextToken(NextTokenT &&value)
AWS_APPFLOW_API DescribeConnectorProfilesRequest()=default
DescribeConnectorProfilesRequest & WithConnectorLabel(ConnectorLabelT &&value)
DescribeConnectorProfilesRequest & WithConnectorType(ConnectorType value)
DescribeConnectorProfilesRequest & AddConnectorProfileNames(ConnectorProfileNamesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector