AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
DescribeConnectorEntityResult.h
1
6#pragma once
7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/appflow/model/ConnectorEntityField.h>
9#include <aws/core/http/HttpResponse.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 {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Appflow {
25namespace Model {
27 public:
28 AWS_APPFLOW_API DescribeConnectorEntityResult() = default;
31
33
38 inline const Aws::Vector<ConnectorEntityField>& GetConnectorEntityFields() const { return m_connectorEntityFields; }
39 template <typename ConnectorEntityFieldsT = Aws::Vector<ConnectorEntityField>>
40 void SetConnectorEntityFields(ConnectorEntityFieldsT&& value) {
41 m_connectorEntityFieldsHasBeenSet = true;
42 m_connectorEntityFields = std::forward<ConnectorEntityFieldsT>(value);
43 }
44 template <typename ConnectorEntityFieldsT = Aws::Vector<ConnectorEntityField>>
46 SetConnectorEntityFields(std::forward<ConnectorEntityFieldsT>(value));
47 return *this;
48 }
49 template <typename ConnectorEntityFieldsT = ConnectorEntityField>
51 m_connectorEntityFieldsHasBeenSet = true;
52 m_connectorEntityFields.emplace_back(std::forward<ConnectorEntityFieldsT>(value));
53 return *this;
54 }
56
58
59 inline const Aws::String& GetRequestId() const { return m_requestId; }
60 template <typename RequestIdT = Aws::String>
61 void SetRequestId(RequestIdT&& value) {
62 m_requestIdHasBeenSet = true;
63 m_requestId = std::forward<RequestIdT>(value);
64 }
65 template <typename RequestIdT = Aws::String>
67 SetRequestId(std::forward<RequestIdT>(value));
68 return *this;
69 }
71 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
72
73 private:
74 Aws::Vector<ConnectorEntityField> m_connectorEntityFields;
75
76 Aws::String m_requestId;
77 Aws::Http::HttpResponseCode m_HttpResponseCode;
78 bool m_connectorEntityFieldsHasBeenSet = false;
79 bool m_requestIdHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace Appflow
84} // namespace Aws
AWS_APPFLOW_API DescribeConnectorEntityResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeConnectorEntityResult & WithRequestId(RequestIdT &&value)
DescribeConnectorEntityResult & AddConnectorEntityFields(ConnectorEntityFieldsT &&value)
const Aws::Vector< ConnectorEntityField > & GetConnectorEntityFields() const
AWS_APPFLOW_API DescribeConnectorEntityResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeConnectorEntityResult & WithConnectorEntityFields(ConnectorEntityFieldsT &&value)
AWS_APPFLOW_API DescribeConnectorEntityResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue