AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateConnectorProfileRequest.h
1
6#pragma once
7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/appflow/AppflowRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/appflow/model/ConnectorType.h>
11#include <aws/appflow/model/ConnectionMode.h>
12#include <aws/appflow/model/ConnectorProfileConfig.h>
13#include <utility>
14#include <aws/core/utils/UUID.h>
15
16namespace Aws
17{
18namespace Appflow
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_APPFLOW_API CreateConnectorProfileRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "CreateConnectorProfile"; }
35
36 AWS_APPFLOW_API Aws::String SerializePayload() const override;
37
38
40
44 inline const Aws::String& GetConnectorProfileName() const { return m_connectorProfileName; }
45 inline bool ConnectorProfileNameHasBeenSet() const { return m_connectorProfileNameHasBeenSet; }
46 template<typename ConnectorProfileNameT = Aws::String>
47 void SetConnectorProfileName(ConnectorProfileNameT&& value) { m_connectorProfileNameHasBeenSet = true; m_connectorProfileName = std::forward<ConnectorProfileNameT>(value); }
48 template<typename ConnectorProfileNameT = Aws::String>
49 CreateConnectorProfileRequest& WithConnectorProfileName(ConnectorProfileNameT&& value) { SetConnectorProfileName(std::forward<ConnectorProfileNameT>(value)); return *this;}
51
53
59 inline const Aws::String& GetKmsArn() const { return m_kmsArn; }
60 inline bool KmsArnHasBeenSet() const { return m_kmsArnHasBeenSet; }
61 template<typename KmsArnT = Aws::String>
62 void SetKmsArn(KmsArnT&& value) { m_kmsArnHasBeenSet = true; m_kmsArn = std::forward<KmsArnT>(value); }
63 template<typename KmsArnT = Aws::String>
64 CreateConnectorProfileRequest& WithKmsArn(KmsArnT&& value) { SetKmsArn(std::forward<KmsArnT>(value)); return *this;}
66
68
71 inline ConnectorType GetConnectorType() const { return m_connectorType; }
72 inline bool ConnectorTypeHasBeenSet() const { return m_connectorTypeHasBeenSet; }
73 inline void SetConnectorType(ConnectorType value) { m_connectorTypeHasBeenSet = true; m_connectorType = value; }
76
78
83 inline const Aws::String& GetConnectorLabel() const { return m_connectorLabel; }
84 inline bool ConnectorLabelHasBeenSet() const { return m_connectorLabelHasBeenSet; }
85 template<typename ConnectorLabelT = Aws::String>
86 void SetConnectorLabel(ConnectorLabelT&& value) { m_connectorLabelHasBeenSet = true; m_connectorLabel = std::forward<ConnectorLabelT>(value); }
87 template<typename ConnectorLabelT = Aws::String>
88 CreateConnectorProfileRequest& WithConnectorLabel(ConnectorLabelT&& value) { SetConnectorLabel(std::forward<ConnectorLabelT>(value)); return *this;}
90
92
97 inline ConnectionMode GetConnectionMode() const { return m_connectionMode; }
98 inline bool ConnectionModeHasBeenSet() const { return m_connectionModeHasBeenSet; }
99 inline void SetConnectionMode(ConnectionMode value) { m_connectionModeHasBeenSet = true; m_connectionMode = value; }
102
104
107 inline const ConnectorProfileConfig& GetConnectorProfileConfig() const { return m_connectorProfileConfig; }
108 inline bool ConnectorProfileConfigHasBeenSet() const { return m_connectorProfileConfigHasBeenSet; }
109 template<typename ConnectorProfileConfigT = ConnectorProfileConfig>
110 void SetConnectorProfileConfig(ConnectorProfileConfigT&& value) { m_connectorProfileConfigHasBeenSet = true; m_connectorProfileConfig = std::forward<ConnectorProfileConfigT>(value); }
111 template<typename ConnectorProfileConfigT = ConnectorProfileConfig>
112 CreateConnectorProfileRequest& WithConnectorProfileConfig(ConnectorProfileConfigT&& value) { SetConnectorProfileConfig(std::forward<ConnectorProfileConfigT>(value)); return *this;}
114
116
129 inline const Aws::String& GetClientToken() const { return m_clientToken; }
130 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
131 template<typename ClientTokenT = Aws::String>
132 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
133 template<typename ClientTokenT = Aws::String>
134 CreateConnectorProfileRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
136 private:
137
138 Aws::String m_connectorProfileName;
139 bool m_connectorProfileNameHasBeenSet = false;
140
141 Aws::String m_kmsArn;
142 bool m_kmsArnHasBeenSet = false;
143
144 ConnectorType m_connectorType{ConnectorType::NOT_SET};
145 bool m_connectorTypeHasBeenSet = false;
146
147 Aws::String m_connectorLabel;
148 bool m_connectorLabelHasBeenSet = false;
149
150 ConnectionMode m_connectionMode{ConnectionMode::NOT_SET};
151 bool m_connectionModeHasBeenSet = false;
152
153 ConnectorProfileConfig m_connectorProfileConfig;
154 bool m_connectorProfileConfigHasBeenSet = false;
155
157 bool m_clientTokenHasBeenSet = true;
158 };
159
160} // namespace Model
161} // namespace Appflow
162} // namespace Aws
CreateConnectorProfileRequest & WithClientToken(ClientTokenT &&value)
CreateConnectorProfileRequest & WithConnectorProfileConfig(ConnectorProfileConfigT &&value)
CreateConnectorProfileRequest & WithConnectorLabel(ConnectorLabelT &&value)
CreateConnectorProfileRequest & WithConnectionMode(ConnectionMode value)
AWS_APPFLOW_API CreateConnectorProfileRequest()=default
const ConnectorProfileConfig & GetConnectorProfileConfig() const
CreateConnectorProfileRequest & WithConnectorType(ConnectorType value)
CreateConnectorProfileRequest & WithKmsArn(KmsArnT &&value)
CreateConnectorProfileRequest & WithConnectorProfileName(ConnectorProfileNameT &&value)
AWS_APPFLOW_API Aws::String SerializePayload() const override
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String