7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/datazone/DataZone_EXPORTS.h>
11#include <aws/datazone/model/Configuration.h>
12#include <aws/datazone/model/ConnectionPropertiesOutput.h>
13#include <aws/datazone/model/ConnectionScope.h>
14#include <aws/datazone/model/ConnectionType.h>
15#include <aws/datazone/model/PhysicalEndpoint.h>
20template <
typename RESULT_TYPE>
21class AmazonWebServiceResult;
41 template <
typename ConnectionIdT = Aws::String>
43 m_connectionIdHasBeenSet =
true;
44 m_connectionId = std::forward<ConnectionIdT>(value);
46 template <
typename ConnectionIdT = Aws::String>
58 template <
typename ConfigurationsT = Aws::Vector<Configuration>>
60 m_configurationsHasBeenSet =
true;
61 m_configurations = std::forward<ConfigurationsT>(value);
63 template <
typename ConfigurationsT = Aws::Vector<Configuration>>
68 template <
typename ConfigurationsT = Configuration>
70 m_configurationsHasBeenSet =
true;
71 m_configurations.emplace_back(std::forward<ConfigurationsT>(value));
81 template <
typename DescriptionT = Aws::String>
83 m_descriptionHasBeenSet =
true;
84 m_description = std::forward<DescriptionT>(value);
86 template <
typename DescriptionT = Aws::String>
98 template <
typename DomainIdT = Aws::String>
100 m_domainIdHasBeenSet =
true;
101 m_domainId = std::forward<DomainIdT>(value);
103 template <
typename DomainIdT = Aws::String>
115 template <
typename DomainUnitIdT = Aws::String>
117 m_domainUnitIdHasBeenSet =
true;
118 m_domainUnitId = std::forward<DomainUnitIdT>(value);
120 template <
typename DomainUnitIdT = Aws::String>
132 template <
typename EnvironmentIdT = Aws::String>
134 m_environmentIdHasBeenSet =
true;
135 m_environmentId = std::forward<EnvironmentIdT>(value);
137 template <
typename EnvironmentIdT = Aws::String>
149 template <
typename NameT = Aws::String>
151 m_nameHasBeenSet =
true;
152 m_name = std::forward<NameT>(value);
154 template <
typename NameT = Aws::String>
156 SetName(std::forward<NameT>(value));
166 template <
typename PhysicalEndpo
intsT = Aws::Vector<PhysicalEndpo
int>>
168 m_physicalEndpointsHasBeenSet =
true;
169 m_physicalEndpoints = std::forward<PhysicalEndpointsT>(value);
171 template <
typename PhysicalEndpo
intsT = Aws::Vector<PhysicalEndpo
int>>
176 template <
typename PhysicalEndpo
intsT = PhysicalEndpo
int>
178 m_physicalEndpointsHasBeenSet =
true;
179 m_physicalEndpoints.emplace_back(std::forward<PhysicalEndpointsT>(value));
189 template <
typename ProjectIdT = Aws::String>
191 m_projectIdHasBeenSet =
true;
192 m_projectId = std::forward<ProjectIdT>(value);
194 template <
typename ProjectIdT = Aws::String>
206 template <
typename PropsT = ConnectionPropertiesOutput>
208 m_propsHasBeenSet =
true;
209 m_props = std::forward<PropsT>(value);
211 template <
typename PropsT = ConnectionPropertiesOutput>
213 SetProps(std::forward<PropsT>(value));
224 m_typeHasBeenSet =
true;
239 m_scopeHasBeenSet =
true;
251 template <
typename RequestIdT = Aws::String>
253 m_requestIdHasBeenSet =
true;
254 m_requestId = std::forward<RequestIdT>(value);
256 template <
typename RequestIdT = Aws::String>
291 bool m_connectionIdHasBeenSet =
false;
292 bool m_configurationsHasBeenSet =
false;
293 bool m_descriptionHasBeenSet =
false;
294 bool m_domainIdHasBeenSet =
false;
295 bool m_domainUnitIdHasBeenSet =
false;
296 bool m_environmentIdHasBeenSet =
false;
297 bool m_nameHasBeenSet =
false;
298 bool m_physicalEndpointsHasBeenSet =
false;
299 bool m_projectIdHasBeenSet =
false;
300 bool m_propsHasBeenSet =
false;
301 bool m_typeHasBeenSet =
false;
302 bool m_scopeHasBeenSet =
false;
303 bool m_requestIdHasBeenSet =
false;
CreateConnectionResult & WithConnectionId(ConnectionIdT &&value)
AWS_DATAZONE_API CreateConnectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateConnectionResult & WithEnvironmentId(EnvironmentIdT &&value)
void SetProjectId(ProjectIdT &&value)
const Aws::String & GetConnectionId() const
void SetProps(PropsT &&value)
void SetRequestId(RequestIdT &&value)
CreateConnectionResult & AddPhysicalEndpoints(PhysicalEndpointsT &&value)
void SetName(NameT &&value)
CreateConnectionResult & WithName(NameT &&value)
const Aws::String & GetDomainUnitId() const
ConnectionScope GetScope() const
ConnectionType GetType() const
const Aws::String & GetProjectId() const
void SetScope(ConnectionScope value)
CreateConnectionResult & WithDescription(DescriptionT &&value)
const Aws::String & GetName() const
void SetConnectionId(ConnectionIdT &&value)
void SetDescription(DescriptionT &&value)
const Aws::Vector< Configuration > & GetConfigurations() const
const Aws::String & GetEnvironmentId() const
CreateConnectionResult & WithProjectId(ProjectIdT &&value)
CreateConnectionResult & WithScope(ConnectionScope value)
CreateConnectionResult & WithConfigurations(ConfigurationsT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetDomainId(DomainIdT &&value)
const Aws::Vector< PhysicalEndpoint > & GetPhysicalEndpoints() const
AWS_DATAZONE_API CreateConnectionResult()=default
void SetType(ConnectionType value)
const ConnectionPropertiesOutput & GetProps() const
void SetDomainUnitId(DomainUnitIdT &&value)
AWS_DATAZONE_API CreateConnectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetPhysicalEndpoints(PhysicalEndpointsT &&value)
CreateConnectionResult & WithDomainUnitId(DomainUnitIdT &&value)
const Aws::String & GetDomainId() const
void SetEnvironmentId(EnvironmentIdT &&value)
CreateConnectionResult & WithType(ConnectionType value)
CreateConnectionResult & WithRequestId(RequestIdT &&value)
CreateConnectionResult & WithPhysicalEndpoints(PhysicalEndpointsT &&value)
void SetConfigurations(ConfigurationsT &&value)
const Aws::String & GetDescription() const
CreateConnectionResult & AddConfigurations(ConfigurationsT &&value)
CreateConnectionResult & WithProps(PropsT &&value)
const Aws::String & GetRequestId() const
CreateConnectionResult & WithDomainId(DomainIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue