AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConnectorProfile.h
1
6#pragma once
7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/appflow/model/ConnectorType.h>
10#include <aws/appflow/model/ConnectionMode.h>
11#include <aws/appflow/model/ConnectorProfileProperties.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/appflow/model/PrivateConnectionProvisioningState.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace Appflow
27{
28namespace Model
29{
30
42 {
43 public:
44 AWS_APPFLOW_API ConnectorProfile();
45 AWS_APPFLOW_API ConnectorProfile(Aws::Utils::Json::JsonView jsonValue);
47 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
54 inline const Aws::String& GetConnectorProfileArn() const{ return m_connectorProfileArn; }
55 inline bool ConnectorProfileArnHasBeenSet() const { return m_connectorProfileArnHasBeenSet; }
56 inline void SetConnectorProfileArn(const Aws::String& value) { m_connectorProfileArnHasBeenSet = true; m_connectorProfileArn = value; }
57 inline void SetConnectorProfileArn(Aws::String&& value) { m_connectorProfileArnHasBeenSet = true; m_connectorProfileArn = std::move(value); }
58 inline void SetConnectorProfileArn(const char* value) { m_connectorProfileArnHasBeenSet = true; m_connectorProfileArn.assign(value); }
59 inline ConnectorProfile& WithConnectorProfileArn(const Aws::String& value) { SetConnectorProfileArn(value); return *this;}
60 inline ConnectorProfile& WithConnectorProfileArn(Aws::String&& value) { SetConnectorProfileArn(std::move(value)); return *this;}
61 inline ConnectorProfile& WithConnectorProfileArn(const char* value) { SetConnectorProfileArn(value); return *this;}
63
65
69 inline const Aws::String& GetConnectorProfileName() const{ return m_connectorProfileName; }
70 inline bool ConnectorProfileNameHasBeenSet() const { return m_connectorProfileNameHasBeenSet; }
71 inline void SetConnectorProfileName(const Aws::String& value) { m_connectorProfileNameHasBeenSet = true; m_connectorProfileName = value; }
72 inline void SetConnectorProfileName(Aws::String&& value) { m_connectorProfileNameHasBeenSet = true; m_connectorProfileName = std::move(value); }
73 inline void SetConnectorProfileName(const char* value) { m_connectorProfileNameHasBeenSet = true; m_connectorProfileName.assign(value); }
75 inline ConnectorProfile& WithConnectorProfileName(Aws::String&& value) { SetConnectorProfileName(std::move(value)); return *this;}
76 inline ConnectorProfile& WithConnectorProfileName(const char* value) { SetConnectorProfileName(value); return *this;}
78
80
83 inline const ConnectorType& GetConnectorType() const{ return m_connectorType; }
84 inline bool ConnectorTypeHasBeenSet() const { return m_connectorTypeHasBeenSet; }
85 inline void SetConnectorType(const ConnectorType& value) { m_connectorTypeHasBeenSet = true; m_connectorType = value; }
86 inline void SetConnectorType(ConnectorType&& value) { m_connectorTypeHasBeenSet = true; m_connectorType = std::move(value); }
87 inline ConnectorProfile& WithConnectorType(const ConnectorType& value) { SetConnectorType(value); return *this;}
88 inline ConnectorProfile& WithConnectorType(ConnectorType&& value) { SetConnectorType(std::move(value)); return *this;}
90
92
95 inline const Aws::String& GetConnectorLabel() const{ return m_connectorLabel; }
96 inline bool ConnectorLabelHasBeenSet() const { return m_connectorLabelHasBeenSet; }
97 inline void SetConnectorLabel(const Aws::String& value) { m_connectorLabelHasBeenSet = true; m_connectorLabel = value; }
98 inline void SetConnectorLabel(Aws::String&& value) { m_connectorLabelHasBeenSet = true; m_connectorLabel = std::move(value); }
99 inline void SetConnectorLabel(const char* value) { m_connectorLabelHasBeenSet = true; m_connectorLabel.assign(value); }
100 inline ConnectorProfile& WithConnectorLabel(const Aws::String& value) { SetConnectorLabel(value); return *this;}
101 inline ConnectorProfile& WithConnectorLabel(Aws::String&& value) { SetConnectorLabel(std::move(value)); return *this;}
102 inline ConnectorProfile& WithConnectorLabel(const char* value) { SetConnectorLabel(value); return *this;}
104
106
109 inline const ConnectionMode& GetConnectionMode() const{ return m_connectionMode; }
110 inline bool ConnectionModeHasBeenSet() const { return m_connectionModeHasBeenSet; }
111 inline void SetConnectionMode(const ConnectionMode& value) { m_connectionModeHasBeenSet = true; m_connectionMode = value; }
112 inline void SetConnectionMode(ConnectionMode&& value) { m_connectionModeHasBeenSet = true; m_connectionMode = std::move(value); }
113 inline ConnectorProfile& WithConnectionMode(const ConnectionMode& value) { SetConnectionMode(value); return *this;}
114 inline ConnectorProfile& WithConnectionMode(ConnectionMode&& value) { SetConnectionMode(std::move(value)); return *this;}
116
118
121 inline const Aws::String& GetCredentialsArn() const{ return m_credentialsArn; }
122 inline bool CredentialsArnHasBeenSet() const { return m_credentialsArnHasBeenSet; }
123 inline void SetCredentialsArn(const Aws::String& value) { m_credentialsArnHasBeenSet = true; m_credentialsArn = value; }
124 inline void SetCredentialsArn(Aws::String&& value) { m_credentialsArnHasBeenSet = true; m_credentialsArn = std::move(value); }
125 inline void SetCredentialsArn(const char* value) { m_credentialsArnHasBeenSet = true; m_credentialsArn.assign(value); }
126 inline ConnectorProfile& WithCredentialsArn(const Aws::String& value) { SetCredentialsArn(value); return *this;}
127 inline ConnectorProfile& WithCredentialsArn(Aws::String&& value) { SetCredentialsArn(std::move(value)); return *this;}
128 inline ConnectorProfile& WithCredentialsArn(const char* value) { SetCredentialsArn(value); return *this;}
130
132
135 inline const ConnectorProfileProperties& GetConnectorProfileProperties() const{ return m_connectorProfileProperties; }
136 inline bool ConnectorProfilePropertiesHasBeenSet() const { return m_connectorProfilePropertiesHasBeenSet; }
137 inline void SetConnectorProfileProperties(const ConnectorProfileProperties& value) { m_connectorProfilePropertiesHasBeenSet = true; m_connectorProfileProperties = value; }
138 inline void SetConnectorProfileProperties(ConnectorProfileProperties&& value) { m_connectorProfilePropertiesHasBeenSet = true; m_connectorProfileProperties = std::move(value); }
142
144
147 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
148 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
149 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
150 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
151 inline ConnectorProfile& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
152 inline ConnectorProfile& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
154
156
159 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
160 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
161 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; }
162 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); }
163 inline ConnectorProfile& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
164 inline ConnectorProfile& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
166
168
171 inline const PrivateConnectionProvisioningState& GetPrivateConnectionProvisioningState() const{ return m_privateConnectionProvisioningState; }
172 inline bool PrivateConnectionProvisioningStateHasBeenSet() const { return m_privateConnectionProvisioningStateHasBeenSet; }
173 inline void SetPrivateConnectionProvisioningState(const PrivateConnectionProvisioningState& value) { m_privateConnectionProvisioningStateHasBeenSet = true; m_privateConnectionProvisioningState = value; }
174 inline void SetPrivateConnectionProvisioningState(PrivateConnectionProvisioningState&& value) { m_privateConnectionProvisioningStateHasBeenSet = true; m_privateConnectionProvisioningState = std::move(value); }
178 private:
179
180 Aws::String m_connectorProfileArn;
181 bool m_connectorProfileArnHasBeenSet = false;
182
183 Aws::String m_connectorProfileName;
184 bool m_connectorProfileNameHasBeenSet = false;
185
186 ConnectorType m_connectorType;
187 bool m_connectorTypeHasBeenSet = false;
188
189 Aws::String m_connectorLabel;
190 bool m_connectorLabelHasBeenSet = false;
191
192 ConnectionMode m_connectionMode;
193 bool m_connectionModeHasBeenSet = false;
194
195 Aws::String m_credentialsArn;
196 bool m_credentialsArnHasBeenSet = false;
197
198 ConnectorProfileProperties m_connectorProfileProperties;
199 bool m_connectorProfilePropertiesHasBeenSet = false;
200
201 Aws::Utils::DateTime m_createdAt;
202 bool m_createdAtHasBeenSet = false;
203
204 Aws::Utils::DateTime m_lastUpdatedAt;
205 bool m_lastUpdatedAtHasBeenSet = false;
206
207 PrivateConnectionProvisioningState m_privateConnectionProvisioningState;
208 bool m_privateConnectionProvisioningStateHasBeenSet = false;
209 };
210
211} // namespace Model
212} // namespace Appflow
213} // namespace Aws
const PrivateConnectionProvisioningState & GetPrivateConnectionProvisioningState() const
void SetConnectorProfileName(const Aws::String &value)
ConnectorProfile & WithConnectionMode(ConnectionMode &&value)
ConnectorProfile & WithConnectorProfileProperties(ConnectorProfileProperties &&value)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
void SetConnectorType(const ConnectorType &value)
ConnectorProfile & WithCredentialsArn(const char *value)
ConnectorProfile & WithConnectorLabel(Aws::String &&value)
ConnectorProfile & WithPrivateConnectionProvisioningState(PrivateConnectionProvisioningState &&value)
ConnectorProfile & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
ConnectorProfile & WithPrivateConnectionProvisioningState(const PrivateConnectionProvisioningState &value)
ConnectorProfile & WithConnectorProfileProperties(const ConnectorProfileProperties &value)
void SetConnectorProfileArn(const char *value)
ConnectorProfile & WithConnectorLabel(const char *value)
void SetConnectionMode(const ConnectionMode &value)
void SetConnectorLabel(const Aws::String &value)
ConnectorProfile & WithCredentialsArn(const Aws::String &value)
ConnectorProfile & WithConnectorProfileArn(const Aws::String &value)
ConnectorProfile & WithConnectorLabel(const Aws::String &value)
void SetPrivateConnectionProvisioningState(const PrivateConnectionProvisioningState &value)
AWS_APPFLOW_API ConnectorProfile & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetConnectorProfileName(Aws::String &&value)
ConnectorProfile & WithConnectorType(const ConnectorType &value)
const ConnectorProfileProperties & GetConnectorProfileProperties() const
void SetConnectorType(ConnectorType &&value)
const ConnectionMode & GetConnectionMode() const
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetConnectorProfileName(const char *value)
void SetCredentialsArn(const Aws::String &value)
const Aws::String & GetConnectorLabel() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetConnectorProfileProperties(ConnectorProfileProperties &&value)
AWS_APPFLOW_API ConnectorProfile(Aws::Utils::Json::JsonView jsonValue)
ConnectorProfile & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
void SetConnectorProfileProperties(const ConnectorProfileProperties &value)
void SetConnectorLabel(const char *value)
const Aws::String & GetConnectorProfileName() const
const Aws::Utils::DateTime & GetLastUpdatedAt() const
ConnectorProfile & WithConnectionMode(const ConnectionMode &value)
ConnectorProfile & WithConnectorType(ConnectorType &&value)
ConnectorProfile & WithConnectorProfileName(const Aws::String &value)
ConnectorProfile & WithConnectorProfileName(const char *value)
void SetCredentialsArn(const char *value)
void SetConnectorLabel(Aws::String &&value)
void SetConnectionMode(ConnectionMode &&value)
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
ConnectorProfile & WithConnectorProfileName(Aws::String &&value)
const Aws::String & GetConnectorProfileArn() const
void SetConnectorProfileArn(const Aws::String &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
ConnectorProfile & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetConnectorProfileArn(Aws::String &&value)
const ConnectorType & GetConnectorType() const
void SetPrivateConnectionProvisioningState(PrivateConnectionProvisioningState &&value)
const Aws::String & GetCredentialsArn() const
ConnectorProfile & WithCredentialsArn(Aws::String &&value)
ConnectorProfile & WithConnectorProfileArn(Aws::String &&value)
ConnectorProfile & WithConnectorProfileArn(const char *value)
ConnectorProfile & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
void SetCredentialsArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue