AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ConnectorProfileArnT = Aws::String>
57 void SetConnectorProfileArn(ConnectorProfileArnT&& value) { m_connectorProfileArnHasBeenSet = true; m_connectorProfileArn = std::forward<ConnectorProfileArnT>(value); }
58 template<typename ConnectorProfileArnT = Aws::String>
59 ConnectorProfile& WithConnectorProfileArn(ConnectorProfileArnT&& value) { SetConnectorProfileArn(std::forward<ConnectorProfileArnT>(value)); return *this;}
61
63
67 inline const Aws::String& GetConnectorProfileName() const { return m_connectorProfileName; }
68 inline bool ConnectorProfileNameHasBeenSet() const { return m_connectorProfileNameHasBeenSet; }
69 template<typename ConnectorProfileNameT = Aws::String>
70 void SetConnectorProfileName(ConnectorProfileNameT&& value) { m_connectorProfileNameHasBeenSet = true; m_connectorProfileName = std::forward<ConnectorProfileNameT>(value); }
71 template<typename ConnectorProfileNameT = Aws::String>
72 ConnectorProfile& WithConnectorProfileName(ConnectorProfileNameT&& value) { SetConnectorProfileName(std::forward<ConnectorProfileNameT>(value)); return *this;}
74
76
79 inline ConnectorType GetConnectorType() const { return m_connectorType; }
80 inline bool ConnectorTypeHasBeenSet() const { return m_connectorTypeHasBeenSet; }
81 inline void SetConnectorType(ConnectorType value) { m_connectorTypeHasBeenSet = true; m_connectorType = value; }
82 inline ConnectorProfile& WithConnectorType(ConnectorType value) { SetConnectorType(value); return *this;}
84
86
89 inline const Aws::String& GetConnectorLabel() const { return m_connectorLabel; }
90 inline bool ConnectorLabelHasBeenSet() const { return m_connectorLabelHasBeenSet; }
91 template<typename ConnectorLabelT = Aws::String>
92 void SetConnectorLabel(ConnectorLabelT&& value) { m_connectorLabelHasBeenSet = true; m_connectorLabel = std::forward<ConnectorLabelT>(value); }
93 template<typename ConnectorLabelT = Aws::String>
94 ConnectorProfile& WithConnectorLabel(ConnectorLabelT&& value) { SetConnectorLabel(std::forward<ConnectorLabelT>(value)); return *this;}
96
98
101 inline ConnectionMode GetConnectionMode() const { return m_connectionMode; }
102 inline bool ConnectionModeHasBeenSet() const { return m_connectionModeHasBeenSet; }
103 inline void SetConnectionMode(ConnectionMode value) { m_connectionModeHasBeenSet = true; m_connectionMode = value; }
106
108
111 inline const Aws::String& GetCredentialsArn() const { return m_credentialsArn; }
112 inline bool CredentialsArnHasBeenSet() const { return m_credentialsArnHasBeenSet; }
113 template<typename CredentialsArnT = Aws::String>
114 void SetCredentialsArn(CredentialsArnT&& value) { m_credentialsArnHasBeenSet = true; m_credentialsArn = std::forward<CredentialsArnT>(value); }
115 template<typename CredentialsArnT = Aws::String>
116 ConnectorProfile& WithCredentialsArn(CredentialsArnT&& value) { SetCredentialsArn(std::forward<CredentialsArnT>(value)); return *this;}
118
120
123 inline const ConnectorProfileProperties& GetConnectorProfileProperties() const { return m_connectorProfileProperties; }
124 inline bool ConnectorProfilePropertiesHasBeenSet() const { return m_connectorProfilePropertiesHasBeenSet; }
125 template<typename ConnectorProfilePropertiesT = ConnectorProfileProperties>
126 void SetConnectorProfileProperties(ConnectorProfilePropertiesT&& value) { m_connectorProfilePropertiesHasBeenSet = true; m_connectorProfileProperties = std::forward<ConnectorProfilePropertiesT>(value); }
127 template<typename ConnectorProfilePropertiesT = ConnectorProfileProperties>
128 ConnectorProfile& WithConnectorProfileProperties(ConnectorProfilePropertiesT&& value) { SetConnectorProfileProperties(std::forward<ConnectorProfilePropertiesT>(value)); return *this;}
130
132
135 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
136 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
137 template<typename CreatedAtT = Aws::Utils::DateTime>
138 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
139 template<typename CreatedAtT = Aws::Utils::DateTime>
140 ConnectorProfile& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
142
144
147 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
148 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
149 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
150 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
151 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
152 ConnectorProfile& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
154
156
159 inline const PrivateConnectionProvisioningState& GetPrivateConnectionProvisioningState() const { return m_privateConnectionProvisioningState; }
160 inline bool PrivateConnectionProvisioningStateHasBeenSet() const { return m_privateConnectionProvisioningStateHasBeenSet; }
161 template<typename PrivateConnectionProvisioningStateT = PrivateConnectionProvisioningState>
162 void SetPrivateConnectionProvisioningState(PrivateConnectionProvisioningStateT&& value) { m_privateConnectionProvisioningStateHasBeenSet = true; m_privateConnectionProvisioningState = std::forward<PrivateConnectionProvisioningStateT>(value); }
163 template<typename PrivateConnectionProvisioningStateT = PrivateConnectionProvisioningState>
164 ConnectorProfile& WithPrivateConnectionProvisioningState(PrivateConnectionProvisioningStateT&& value) { SetPrivateConnectionProvisioningState(std::forward<PrivateConnectionProvisioningStateT>(value)); return *this;}
166 private:
167
168 Aws::String m_connectorProfileArn;
169 bool m_connectorProfileArnHasBeenSet = false;
170
171 Aws::String m_connectorProfileName;
172 bool m_connectorProfileNameHasBeenSet = false;
173
174 ConnectorType m_connectorType{ConnectorType::NOT_SET};
175 bool m_connectorTypeHasBeenSet = false;
176
177 Aws::String m_connectorLabel;
178 bool m_connectorLabelHasBeenSet = false;
179
180 ConnectionMode m_connectionMode{ConnectionMode::NOT_SET};
181 bool m_connectionModeHasBeenSet = false;
182
183 Aws::String m_credentialsArn;
184 bool m_credentialsArnHasBeenSet = false;
185
186 ConnectorProfileProperties m_connectorProfileProperties;
187 bool m_connectorProfilePropertiesHasBeenSet = false;
188
189 Aws::Utils::DateTime m_createdAt{};
190 bool m_createdAtHasBeenSet = false;
191
192 Aws::Utils::DateTime m_lastUpdatedAt{};
193 bool m_lastUpdatedAtHasBeenSet = false;
194
195 PrivateConnectionProvisioningState m_privateConnectionProvisioningState;
196 bool m_privateConnectionProvisioningStateHasBeenSet = false;
197 };
198
199} // namespace Model
200} // namespace Appflow
201} // namespace Aws
const PrivateConnectionProvisioningState & GetPrivateConnectionProvisioningState() const
ConnectorProfile & WithPrivateConnectionProvisioningState(PrivateConnectionProvisioningStateT &&value)
void SetConnectorProfileProperties(ConnectorProfilePropertiesT &&value)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
void SetConnectorProfileArn(ConnectorProfileArnT &&value)
ConnectorProfile & WithCreatedAt(CreatedAtT &&value)
ConnectorProfile & WithCredentialsArn(CredentialsArnT &&value)
void SetPrivateConnectionProvisioningState(PrivateConnectionProvisioningStateT &&value)
ConnectorProfile & WithConnectorLabel(ConnectorLabelT &&value)
AWS_APPFLOW_API ConnectorProfile & operator=(Aws::Utils::Json::JsonView jsonValue)
ConnectorProfile & WithConnectorProfileProperties(ConnectorProfilePropertiesT &&value)
const ConnectorProfileProperties & GetConnectorProfileProperties() const
ConnectorProfile & WithConnectorProfileArn(ConnectorProfileArnT &&value)
void SetConnectorLabel(ConnectorLabelT &&value)
const Aws::String & GetConnectorLabel() const
const Aws::Utils::DateTime & GetCreatedAt() const
ConnectorProfile & WithConnectionMode(ConnectionMode value)
AWS_APPFLOW_API ConnectorProfile(Aws::Utils::Json::JsonView jsonValue)
void SetLastUpdatedAt(LastUpdatedAtT &&value)
const Aws::String & GetConnectorProfileName() const
const Aws::Utils::DateTime & GetLastUpdatedAt() const
ConnectorProfile & WithLastUpdatedAt(LastUpdatedAtT &&value)
void SetConnectorType(ConnectorType value)
ConnectorProfile & WithConnectorProfileName(ConnectorProfileNameT &&value)
void SetConnectionMode(ConnectionMode value)
void SetConnectorProfileName(ConnectorProfileNameT &&value)
const Aws::String & GetConnectorProfileArn() const
const Aws::String & GetCredentialsArn() const
AWS_APPFLOW_API ConnectorProfile()=default
ConnectorProfile & WithConnectorType(ConnectorType value)
void SetCredentialsArn(CredentialsArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue