AWS SDK for C++

AWS SDK for C++ Version 1.11.718

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/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace Appflow {
27namespace Model {
29 public:
30 AWS_APPFLOW_API DescribeConnectorsResult() = default;
33
35
38 inline const Aws::Map<ConnectorType, ConnectorConfiguration>& GetConnectorConfigurations() const { return m_connectorConfigurations; }
39 template <typename ConnectorConfigurationsT = Aws::Map<ConnectorType, ConnectorConfiguration>>
40 void SetConnectorConfigurations(ConnectorConfigurationsT&& value) {
41 m_connectorConfigurationsHasBeenSet = true;
42 m_connectorConfigurations = std::forward<ConnectorConfigurationsT>(value);
43 }
44 template <typename ConnectorConfigurationsT = Aws::Map<ConnectorType, ConnectorConfiguration>>
45 DescribeConnectorsResult& WithConnectorConfigurations(ConnectorConfigurationsT&& value) {
46 SetConnectorConfigurations(std::forward<ConnectorConfigurationsT>(value));
47 return *this;
48 }
50 m_connectorConfigurationsHasBeenSet = true;
51 m_connectorConfigurations.emplace(key, value);
52 return *this;
53 }
55
57
60 inline const Aws::Vector<ConnectorDetail>& GetConnectors() const { return m_connectors; }
61 template <typename ConnectorsT = Aws::Vector<ConnectorDetail>>
62 void SetConnectors(ConnectorsT&& value) {
63 m_connectorsHasBeenSet = true;
64 m_connectors = std::forward<ConnectorsT>(value);
65 }
66 template <typename ConnectorsT = Aws::Vector<ConnectorDetail>>
68 SetConnectors(std::forward<ConnectorsT>(value));
69 return *this;
70 }
71 template <typename ConnectorsT = ConnectorDetail>
73 m_connectorsHasBeenSet = true;
74 m_connectors.emplace_back(std::forward<ConnectorsT>(value));
75 return *this;
76 }
78
80
83 inline const Aws::String& GetNextToken() const { return m_nextToken; }
84 template <typename NextTokenT = Aws::String>
85 void SetNextToken(NextTokenT&& value) {
86 m_nextTokenHasBeenSet = true;
87 m_nextToken = std::forward<NextTokenT>(value);
88 }
89 template <typename NextTokenT = Aws::String>
91 SetNextToken(std::forward<NextTokenT>(value));
92 return *this;
93 }
95
97
98 inline const Aws::String& GetRequestId() const { return m_requestId; }
99 template <typename RequestIdT = Aws::String>
100 void SetRequestId(RequestIdT&& value) {
101 m_requestIdHasBeenSet = true;
102 m_requestId = std::forward<RequestIdT>(value);
103 }
104 template <typename RequestIdT = Aws::String>
106 SetRequestId(std::forward<RequestIdT>(value));
107 return *this;
108 }
110 private:
111 Aws::Map<ConnectorType, ConnectorConfiguration> m_connectorConfigurations;
112
113 Aws::Vector<ConnectorDetail> m_connectors;
114
115 Aws::String m_nextToken;
116
117 Aws::String m_requestId;
118 bool m_connectorConfigurationsHasBeenSet = false;
119 bool m_connectorsHasBeenSet = false;
120 bool m_nextTokenHasBeenSet = false;
121 bool m_requestIdHasBeenSet = false;
122};
123
124} // namespace Model
125} // namespace Appflow
126} // 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)
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