AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DescribeConnectorRequest.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 DescribeConnectorRequest() = 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 "DescribeConnector"; }
29
30 AWS_APPFLOW_API Aws::String SerializePayload() const override;
31
33
37 inline ConnectorType GetConnectorType() const { return m_connectorType; }
38 inline bool ConnectorTypeHasBeenSet() const { return m_connectorTypeHasBeenSet; }
39 inline void SetConnectorType(ConnectorType value) {
40 m_connectorTypeHasBeenSet = true;
41 m_connectorType = value;
42 }
44 SetConnectorType(value);
45 return *this;
46 }
48
50
55 inline const Aws::String& GetConnectorLabel() const { return m_connectorLabel; }
56 inline bool ConnectorLabelHasBeenSet() const { return m_connectorLabelHasBeenSet; }
57 template <typename ConnectorLabelT = Aws::String>
58 void SetConnectorLabel(ConnectorLabelT&& value) {
59 m_connectorLabelHasBeenSet = true;
60 m_connectorLabel = std::forward<ConnectorLabelT>(value);
61 }
62 template <typename ConnectorLabelT = Aws::String>
63 DescribeConnectorRequest& WithConnectorLabel(ConnectorLabelT&& value) {
64 SetConnectorLabel(std::forward<ConnectorLabelT>(value));
65 return *this;
66 }
68 private:
70
71 Aws::String m_connectorLabel;
72 bool m_connectorTypeHasBeenSet = false;
73 bool m_connectorLabelHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace Appflow
78} // namespace Aws
AWS_APPFLOW_API DescribeConnectorRequest()=default
virtual const char * GetServiceRequestName() const override
DescribeConnectorRequest & WithConnectorLabel(ConnectorLabelT &&value)
AWS_APPFLOW_API Aws::String SerializePayload() const override
DescribeConnectorRequest & WithConnectorType(ConnectorType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String