AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
38
39
41
44 inline const Aws::Map<ConnectorType, ConnectorConfiguration>& GetConnectorConfigurations() const{ return m_connectorConfigurations; }
45 inline void SetConnectorConfigurations(const Aws::Map<ConnectorType, ConnectorConfiguration>& value) { m_connectorConfigurations = value; }
46 inline void SetConnectorConfigurations(Aws::Map<ConnectorType, ConnectorConfiguration>&& value) { m_connectorConfigurations = std::move(value); }
49 inline DescribeConnectorsResult& AddConnectorConfigurations(const ConnectorType& key, const ConnectorConfiguration& value) { m_connectorConfigurations.emplace(key, value); return *this; }
50 inline DescribeConnectorsResult& AddConnectorConfigurations(ConnectorType&& key, const ConnectorConfiguration& value) { m_connectorConfigurations.emplace(std::move(key), value); return *this; }
51 inline DescribeConnectorsResult& AddConnectorConfigurations(const ConnectorType& key, ConnectorConfiguration&& value) { m_connectorConfigurations.emplace(key, std::move(value)); return *this; }
52 inline DescribeConnectorsResult& AddConnectorConfigurations(ConnectorType&& key, ConnectorConfiguration&& value) { m_connectorConfigurations.emplace(std::move(key), std::move(value)); return *this; }
54
56
59 inline const Aws::Vector<ConnectorDetail>& GetConnectors() const{ return m_connectors; }
60 inline void SetConnectors(const Aws::Vector<ConnectorDetail>& value) { m_connectors = value; }
61 inline void SetConnectors(Aws::Vector<ConnectorDetail>&& value) { m_connectors = std::move(value); }
63 inline DescribeConnectorsResult& WithConnectors(Aws::Vector<ConnectorDetail>&& value) { SetConnectors(std::move(value)); return *this;}
64 inline DescribeConnectorsResult& AddConnectors(const ConnectorDetail& value) { m_connectors.push_back(value); return *this; }
65 inline DescribeConnectorsResult& AddConnectors(ConnectorDetail&& value) { m_connectors.push_back(std::move(value)); return *this; }
67
69
72 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
73 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
74 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
75 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
76 inline DescribeConnectorsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
77 inline DescribeConnectorsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
78 inline DescribeConnectorsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
80
82
83 inline const Aws::String& GetRequestId() const{ return m_requestId; }
84 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
85 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
86 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
87 inline DescribeConnectorsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
88 inline DescribeConnectorsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
89 inline DescribeConnectorsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
91 private:
92
94
96
97 Aws::String m_nextToken;
98
99 Aws::String m_requestId;
100 };
101
102} // namespace Model
103} // namespace Appflow
104} // namespace Aws
DescribeConnectorsResult & WithConnectors(Aws::Vector< ConnectorDetail > &&value)
DescribeConnectorsResult & WithRequestId(const char *value)
DescribeConnectorsResult & AddConnectors(const ConnectorDetail &value)
DescribeConnectorsResult & WithNextToken(Aws::String &&value)
DescribeConnectorsResult & WithConnectorConfigurations(Aws::Map< ConnectorType, ConnectorConfiguration > &&value)
void SetConnectorConfigurations(const Aws::Map< ConnectorType, ConnectorConfiguration > &value)
AWS_APPFLOW_API DescribeConnectorsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeConnectorsResult & AddConnectorConfigurations(ConnectorType &&key, ConnectorConfiguration &&value)
const Aws::Vector< ConnectorDetail > & GetConnectors() const
AWS_APPFLOW_API DescribeConnectorsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeConnectorsResult & AddConnectorConfigurations(ConnectorType &&key, const ConnectorConfiguration &value)
DescribeConnectorsResult & WithNextToken(const Aws::String &value)
void SetConnectorConfigurations(Aws::Map< ConnectorType, ConnectorConfiguration > &&value)
DescribeConnectorsResult & WithNextToken(const char *value)
void SetConnectors(Aws::Vector< ConnectorDetail > &&value)
DescribeConnectorsResult & WithRequestId(const Aws::String &value)
DescribeConnectorsResult & AddConnectorConfigurations(const ConnectorType &key, const ConnectorConfiguration &value)
DescribeConnectorsResult & WithConnectors(const Aws::Vector< ConnectorDetail > &value)
DescribeConnectorsResult & AddConnectors(ConnectorDetail &&value)
DescribeConnectorsResult & WithRequestId(Aws::String &&value)
void SetConnectors(const Aws::Vector< ConnectorDetail > &value)
const Aws::Map< ConnectorType, ConnectorConfiguration > & GetConnectorConfigurations() const
DescribeConnectorsResult & WithConnectorConfigurations(const Aws::Map< ConnectorType, ConnectorConfiguration > &value)
DescribeConnectorsResult & AddConnectorConfigurations(const ConnectorType &key, ConnectorConfiguration &&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