AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
DescribeConnectorsResult.h
1
6#pragma once
7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/appflow/model/ConnectorConfiguration.h>
9#include <aws/appflow/model/ConnectorDetail.h>
10#include <aws/appflow/model/ConnectorType.h>
11#include <aws/core/http/HttpResponse.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15
16#include <utility>
17
18namespace Aws {
19template <typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils {
23namespace Json {
24class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace Appflow {
28namespace Model {
30 public:
31 AWS_APPFLOW_API DescribeConnectorsResult() = default;
34
36
39 inline const Aws::Map<ConnectorType, ConnectorConfiguration>& GetConnectorConfigurations() const { return m_connectorConfigurations; }
40 template <typename ConnectorConfigurationsT = Aws::Map<ConnectorType, ConnectorConfiguration>>
41 void SetConnectorConfigurations(ConnectorConfigurationsT&& value) {
42 m_connectorConfigurationsHasBeenSet = true;
43 m_connectorConfigurations = std::forward<ConnectorConfigurationsT>(value);
44 }
45 template <typename ConnectorConfigurationsT = Aws::Map<ConnectorType, ConnectorConfiguration>>
46 DescribeConnectorsResult& WithConnectorConfigurations(ConnectorConfigurationsT&& value) {
47 SetConnectorConfigurations(std::forward<ConnectorConfigurationsT>(value));
48 return *this;
49 }
51 m_connectorConfigurationsHasBeenSet = true;
52 m_connectorConfigurations.emplace(key, value);
53 return *this;
54 }
56
58
61 inline const Aws::Vector<ConnectorDetail>& GetConnectors() const { return m_connectors; }
62 template <typename ConnectorsT = Aws::Vector<ConnectorDetail>>
63 void SetConnectors(ConnectorsT&& value) {
64 m_connectorsHasBeenSet = true;
65 m_connectors = std::forward<ConnectorsT>(value);
66 }
67 template <typename ConnectorsT = Aws::Vector<ConnectorDetail>>
69 SetConnectors(std::forward<ConnectorsT>(value));
70 return *this;
71 }
72 template <typename ConnectorsT = ConnectorDetail>
74 m_connectorsHasBeenSet = true;
75 m_connectors.emplace_back(std::forward<ConnectorsT>(value));
76 return *this;
77 }
79
81
84 inline const Aws::String& GetNextToken() const { return m_nextToken; }
85 template <typename NextTokenT = Aws::String>
86 void SetNextToken(NextTokenT&& value) {
87 m_nextTokenHasBeenSet = true;
88 m_nextToken = std::forward<NextTokenT>(value);
89 }
90 template <typename NextTokenT = Aws::String>
92 SetNextToken(std::forward<NextTokenT>(value));
93 return *this;
94 }
96
98
99 inline const Aws::String& GetRequestId() const { return m_requestId; }
100 template <typename RequestIdT = Aws::String>
101 void SetRequestId(RequestIdT&& value) {
102 m_requestIdHasBeenSet = true;
103 m_requestId = std::forward<RequestIdT>(value);
104 }
105 template <typename RequestIdT = Aws::String>
107 SetRequestId(std::forward<RequestIdT>(value));
108 return *this;
109 }
111 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
112
113 private:
114 Aws::Map<ConnectorType, ConnectorConfiguration> m_connectorConfigurations;
115
116 Aws::Vector<ConnectorDetail> m_connectors;
117
118 Aws::String m_nextToken;
119
120 Aws::String m_requestId;
121 Aws::Http::HttpResponseCode m_HttpResponseCode;
122 bool m_connectorConfigurationsHasBeenSet = false;
123 bool m_connectorsHasBeenSet = false;
124 bool m_nextTokenHasBeenSet = false;
125 bool m_requestIdHasBeenSet = false;
126};
127
128} // namespace Model
129} // namespace Appflow
130} // namespace Aws
void SetConnectorConfigurations(ConnectorConfigurationsT &&value)
DescribeConnectorsResult & WithRequestId(RequestIdT &&value)
AWS_APPFLOW_API DescribeConnectorsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< ConnectorDetail > & GetConnectors() const
DescribeConnectorsResult & WithConnectors(ConnectorsT &&value)
AWS_APPFLOW_API DescribeConnectorsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_APPFLOW_API DescribeConnectorsResult()=default
DescribeConnectorsResult & AddConnectors(ConnectorsT &&value)
DescribeConnectorsResult & WithConnectorConfigurations(ConnectorConfigurationsT &&value)
DescribeConnectorsResult & AddConnectorConfigurations(ConnectorType key, ConnectorConfiguration value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::Map< ConnectorType, ConnectorConfiguration > & GetConnectorConfigurations() const
DescribeConnectorsResult & WithNextToken(NextTokenT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue