AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeConnectorsResult.h
1
6#pragma once
7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/appflow/model/ConnectorType.h>
12#include <aws/appflow/model/ConnectorConfiguration.h>
13#include <aws/appflow/model/ConnectorDetail.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace Appflow
29{
30namespace Model
31{
33 {
34 public:
35 AWS_APPFLOW_API DescribeConnectorsResult() = default;
38
39
41
44 inline const Aws::Map<ConnectorType, ConnectorConfiguration>& GetConnectorConfigurations() const { return m_connectorConfigurations; }
45 template<typename ConnectorConfigurationsT = Aws::Map<ConnectorType, ConnectorConfiguration>>
46 void SetConnectorConfigurations(ConnectorConfigurationsT&& value) { m_connectorConfigurationsHasBeenSet = true; m_connectorConfigurations = std::forward<ConnectorConfigurationsT>(value); }
47 template<typename ConnectorConfigurationsT = Aws::Map<ConnectorType, ConnectorConfiguration>>
48 DescribeConnectorsResult& WithConnectorConfigurations(ConnectorConfigurationsT&& value) { SetConnectorConfigurations(std::forward<ConnectorConfigurationsT>(value)); return *this;}
50 m_connectorConfigurationsHasBeenSet = true; m_connectorConfigurations.emplace(key, value); return *this;
51 }
53
55
58 inline const Aws::Vector<ConnectorDetail>& GetConnectors() const { return m_connectors; }
59 template<typename ConnectorsT = Aws::Vector<ConnectorDetail>>
60 void SetConnectors(ConnectorsT&& value) { m_connectorsHasBeenSet = true; m_connectors = std::forward<ConnectorsT>(value); }
61 template<typename ConnectorsT = Aws::Vector<ConnectorDetail>>
62 DescribeConnectorsResult& WithConnectors(ConnectorsT&& value) { SetConnectors(std::forward<ConnectorsT>(value)); return *this;}
63 template<typename ConnectorsT = ConnectorDetail>
64 DescribeConnectorsResult& AddConnectors(ConnectorsT&& value) { m_connectorsHasBeenSet = true; m_connectors.emplace_back(std::forward<ConnectorsT>(value)); return *this; }
66
68
71 inline const Aws::String& GetNextToken() const { return m_nextToken; }
72 template<typename NextTokenT = Aws::String>
73 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
74 template<typename NextTokenT = Aws::String>
75 DescribeConnectorsResult& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
77
79
80 inline const Aws::String& GetRequestId() const { return m_requestId; }
81 template<typename RequestIdT = Aws::String>
82 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
83 template<typename RequestIdT = Aws::String>
84 DescribeConnectorsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
86 private:
87
89 bool m_connectorConfigurationsHasBeenSet = false;
90
92 bool m_connectorsHasBeenSet = false;
93
94 Aws::String m_nextToken;
95 bool m_nextTokenHasBeenSet = false;
96
97 Aws::String m_requestId;
98 bool m_requestIdHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace Appflow
103} // 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