AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DescribeConnectorEntityRequest.h
1
6#pragma once
7#include <aws/appflow/AppflowRequest.h>
8#include <aws/appflow/Appflow_EXPORTS.h>
9#include <aws/appflow/model/ConnectorType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Appflow {
16namespace Model {
17
21 public:
22 AWS_APPFLOW_API DescribeConnectorEntityRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "DescribeConnectorEntity"; }
29
30 AWS_APPFLOW_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetConnectorEntityName() const { return m_connectorEntityName; }
37 inline bool ConnectorEntityNameHasBeenSet() const { return m_connectorEntityNameHasBeenSet; }
38 template <typename ConnectorEntityNameT = Aws::String>
39 void SetConnectorEntityName(ConnectorEntityNameT&& value) {
40 m_connectorEntityNameHasBeenSet = true;
41 m_connectorEntityName = std::forward<ConnectorEntityNameT>(value);
42 }
43 template <typename ConnectorEntityNameT = Aws::String>
45 SetConnectorEntityName(std::forward<ConnectorEntityNameT>(value));
46 return *this;
47 }
49
51
55 inline ConnectorType GetConnectorType() const { return m_connectorType; }
56 inline bool ConnectorTypeHasBeenSet() const { return m_connectorTypeHasBeenSet; }
57 inline void SetConnectorType(ConnectorType value) {
58 m_connectorTypeHasBeenSet = true;
59 m_connectorType = value;
60 }
62 SetConnectorType(value);
63 return *this;
64 }
66
68
72 inline const Aws::String& GetConnectorProfileName() const { return m_connectorProfileName; }
73 inline bool ConnectorProfileNameHasBeenSet() const { return m_connectorProfileNameHasBeenSet; }
74 template <typename ConnectorProfileNameT = Aws::String>
75 void SetConnectorProfileName(ConnectorProfileNameT&& value) {
76 m_connectorProfileNameHasBeenSet = true;
77 m_connectorProfileName = std::forward<ConnectorProfileNameT>(value);
78 }
79 template <typename ConnectorProfileNameT = Aws::String>
81 SetConnectorProfileName(std::forward<ConnectorProfileNameT>(value));
82 return *this;
83 }
85
87
90 inline const Aws::String& GetApiVersion() const { return m_apiVersion; }
91 inline bool ApiVersionHasBeenSet() const { return m_apiVersionHasBeenSet; }
92 template <typename ApiVersionT = Aws::String>
93 void SetApiVersion(ApiVersionT&& value) {
94 m_apiVersionHasBeenSet = true;
95 m_apiVersion = std::forward<ApiVersionT>(value);
96 }
97 template <typename ApiVersionT = Aws::String>
99 SetApiVersion(std::forward<ApiVersionT>(value));
100 return *this;
101 }
103 private:
104 Aws::String m_connectorEntityName;
105
106 ConnectorType m_connectorType{ConnectorType::NOT_SET};
107
108 Aws::String m_connectorProfileName;
109
110 Aws::String m_apiVersion;
111 bool m_connectorEntityNameHasBeenSet = false;
112 bool m_connectorTypeHasBeenSet = false;
113 bool m_connectorProfileNameHasBeenSet = false;
114 bool m_apiVersionHasBeenSet = false;
115};
116
117} // namespace Model
118} // namespace Appflow
119} // namespace Aws
DescribeConnectorEntityRequest & WithConnectorProfileName(ConnectorProfileNameT &&value)
DescribeConnectorEntityRequest & WithApiVersion(ApiVersionT &&value)
DescribeConnectorEntityRequest & WithConnectorEntityName(ConnectorEntityNameT &&value)
AWS_APPFLOW_API Aws::String SerializePayload() const override
DescribeConnectorEntityRequest & WithConnectorType(ConnectorType value)
AWS_APPFLOW_API DescribeConnectorEntityRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String