AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetConnectorProfileName(const Aws::String& value) { m_connectorProfileNameHasBeenSet = true; m_connectorProfileName = value; }
47 inline void SetConnectorProfileName(Aws::String&& value) { m_connectorProfileNameHasBeenSet = true; m_connectorProfileName = std::move(value); }
48 inline void SetConnectorProfileName(const char* value) { m_connectorProfileNameHasBeenSet = true; m_connectorProfileName.assign(value); }
51 inline CreateConnectorProfileRequest& WithConnectorProfileName(const char* value) { SetConnectorProfileName(value); return *this;}
53
55
61 inline const Aws::String& GetKmsArn() const{ return m_kmsArn; }
62 inline bool KmsArnHasBeenSet() const { return m_kmsArnHasBeenSet; }
63 inline void SetKmsArn(const Aws::String& value) { m_kmsArnHasBeenSet = true; m_kmsArn = value; }
64 inline void SetKmsArn(Aws::String&& value) { m_kmsArnHasBeenSet = true; m_kmsArn = std::move(value); }
65 inline void SetKmsArn(const char* value) { m_kmsArnHasBeenSet = true; m_kmsArn.assign(value); }
66 inline CreateConnectorProfileRequest& WithKmsArn(const Aws::String& value) { SetKmsArn(value); return *this;}
67 inline CreateConnectorProfileRequest& WithKmsArn(Aws::String&& value) { SetKmsArn(std::move(value)); return *this;}
68 inline CreateConnectorProfileRequest& WithKmsArn(const char* value) { SetKmsArn(value); return *this;}
70
72
75 inline const ConnectorType& GetConnectorType() const{ return m_connectorType; }
76 inline bool ConnectorTypeHasBeenSet() const { return m_connectorTypeHasBeenSet; }
77 inline void SetConnectorType(const ConnectorType& value) { m_connectorTypeHasBeenSet = true; m_connectorType = value; }
78 inline void SetConnectorType(ConnectorType&& value) { m_connectorTypeHasBeenSet = true; m_connectorType = std::move(value); }
80 inline CreateConnectorProfileRequest& WithConnectorType(ConnectorType&& value) { SetConnectorType(std::move(value)); return *this;}
82
84
89 inline const Aws::String& GetConnectorLabel() const{ return m_connectorLabel; }
90 inline bool ConnectorLabelHasBeenSet() const { return m_connectorLabelHasBeenSet; }
91 inline void SetConnectorLabel(const Aws::String& value) { m_connectorLabelHasBeenSet = true; m_connectorLabel = value; }
92 inline void SetConnectorLabel(Aws::String&& value) { m_connectorLabelHasBeenSet = true; m_connectorLabel = std::move(value); }
93 inline void SetConnectorLabel(const char* value) { m_connectorLabelHasBeenSet = true; m_connectorLabel.assign(value); }
95 inline CreateConnectorProfileRequest& WithConnectorLabel(Aws::String&& value) { SetConnectorLabel(std::move(value)); return *this;}
96 inline CreateConnectorProfileRequest& WithConnectorLabel(const char* value) { SetConnectorLabel(value); return *this;}
98
100
105 inline const ConnectionMode& GetConnectionMode() const{ return m_connectionMode; }
106 inline bool ConnectionModeHasBeenSet() const { return m_connectionModeHasBeenSet; }
107 inline void SetConnectionMode(const ConnectionMode& value) { m_connectionModeHasBeenSet = true; m_connectionMode = value; }
108 inline void SetConnectionMode(ConnectionMode&& value) { m_connectionModeHasBeenSet = true; m_connectionMode = std::move(value); }
110 inline CreateConnectorProfileRequest& WithConnectionMode(ConnectionMode&& value) { SetConnectionMode(std::move(value)); return *this;}
112
114
117 inline const ConnectorProfileConfig& GetConnectorProfileConfig() const{ return m_connectorProfileConfig; }
118 inline bool ConnectorProfileConfigHasBeenSet() const { return m_connectorProfileConfigHasBeenSet; }
119 inline void SetConnectorProfileConfig(const ConnectorProfileConfig& value) { m_connectorProfileConfigHasBeenSet = true; m_connectorProfileConfig = value; }
120 inline void SetConnectorProfileConfig(ConnectorProfileConfig&& value) { m_connectorProfileConfigHasBeenSet = true; m_connectorProfileConfig = std::move(value); }
124
126
139 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
140 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
141 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
142 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
143 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
144 inline CreateConnectorProfileRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
145 inline CreateConnectorProfileRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
146 inline CreateConnectorProfileRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
148 private:
149
150 Aws::String m_connectorProfileName;
151 bool m_connectorProfileNameHasBeenSet = false;
152
153 Aws::String m_kmsArn;
154 bool m_kmsArnHasBeenSet = false;
155
156 ConnectorType m_connectorType;
157 bool m_connectorTypeHasBeenSet = false;
158
159 Aws::String m_connectorLabel;
160 bool m_connectorLabelHasBeenSet = false;
161
162 ConnectionMode m_connectionMode;
163 bool m_connectionModeHasBeenSet = false;
164
165 ConnectorProfileConfig m_connectorProfileConfig;
166 bool m_connectorProfileConfigHasBeenSet = false;
167
168 Aws::String m_clientToken;
169 bool m_clientTokenHasBeenSet = false;
170 };
171
172} // namespace Model
173} // namespace Appflow
174} // namespace Aws
void SetConnectorProfileConfig(const ConnectorProfileConfig &value)
CreateConnectorProfileRequest & WithConnectorLabel(const Aws::String &value)
CreateConnectorProfileRequest & WithClientToken(const char *value)
CreateConnectorProfileRequest & WithConnectorType(ConnectorType &&value)
CreateConnectorProfileRequest & WithConnectorLabel(Aws::String &&value)
CreateConnectorProfileRequest & WithConnectorProfileName(const Aws::String &value)
CreateConnectorProfileRequest & WithClientToken(const Aws::String &value)
CreateConnectorProfileRequest & WithConnectionMode(ConnectionMode &&value)
CreateConnectorProfileRequest & WithConnectorProfileName(const char *value)
const ConnectorProfileConfig & GetConnectorProfileConfig() const
CreateConnectorProfileRequest & WithConnectorProfileName(Aws::String &&value)
CreateConnectorProfileRequest & WithKmsArn(const char *value)
CreateConnectorProfileRequest & WithKmsArn(Aws::String &&value)
CreateConnectorProfileRequest & WithConnectionMode(const ConnectionMode &value)
CreateConnectorProfileRequest & WithConnectorType(const ConnectorType &value)
CreateConnectorProfileRequest & WithConnectorProfileConfig(ConnectorProfileConfig &&value)
CreateConnectorProfileRequest & WithClientToken(Aws::String &&value)
CreateConnectorProfileRequest & WithConnectorProfileConfig(const ConnectorProfileConfig &value)
CreateConnectorProfileRequest & WithKmsArn(const Aws::String &value)
AWS_APPFLOW_API Aws::String SerializePayload() const override
CreateConnectorProfileRequest & WithConnectorLabel(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String