7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/datazone/DataZone_EXPORTS.h>
10#include <aws/datazone/model/ConnectionPropertiesOutput.h>
11#include <aws/datazone/model/ConnectionScope.h>
12#include <aws/datazone/model/ConnectionType.h>
13#include <aws/datazone/model/PhysicalEndpoint.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
39 template <
typename ConnectionIdT = Aws::String>
41 m_connectionIdHasBeenSet =
true;
42 m_connectionId = std::forward<ConnectionIdT>(value);
44 template <
typename ConnectionIdT = Aws::String>
56 template <
typename DescriptionT = Aws::String>
58 m_descriptionHasBeenSet =
true;
59 m_description = std::forward<DescriptionT>(value);
61 template <
typename DescriptionT = Aws::String>
73 template <
typename DomainIdT = Aws::String>
75 m_domainIdHasBeenSet =
true;
76 m_domainId = std::forward<DomainIdT>(value);
78 template <
typename DomainIdT = Aws::String>
90 template <
typename DomainUnitIdT = Aws::String>
92 m_domainUnitIdHasBeenSet =
true;
93 m_domainUnitId = std::forward<DomainUnitIdT>(value);
95 template <
typename DomainUnitIdT = Aws::String>
107 template <
typename EnvironmentIdT = Aws::String>
109 m_environmentIdHasBeenSet =
true;
110 m_environmentId = std::forward<EnvironmentIdT>(value);
112 template <
typename EnvironmentIdT = Aws::String>
124 template <
typename NameT = Aws::String>
126 m_nameHasBeenSet =
true;
127 m_name = std::forward<NameT>(value);
129 template <
typename NameT = Aws::String>
131 SetName(std::forward<NameT>(value));
141 template <
typename PhysicalEndpo
intsT = Aws::Vector<PhysicalEndpo
int>>
143 m_physicalEndpointsHasBeenSet =
true;
144 m_physicalEndpoints = std::forward<PhysicalEndpointsT>(value);
146 template <
typename PhysicalEndpo
intsT = Aws::Vector<PhysicalEndpo
int>>
151 template <
typename PhysicalEndpo
intsT = PhysicalEndpo
int>
153 m_physicalEndpointsHasBeenSet =
true;
154 m_physicalEndpoints.emplace_back(std::forward<PhysicalEndpointsT>(value));
164 template <
typename ProjectIdT = Aws::String>
166 m_projectIdHasBeenSet =
true;
167 m_projectId = std::forward<ProjectIdT>(value);
169 template <
typename ProjectIdT = Aws::String>
181 template <
typename PropsT = ConnectionPropertiesOutput>
183 m_propsHasBeenSet =
true;
184 m_props = std::forward<PropsT>(value);
186 template <
typename PropsT = ConnectionPropertiesOutput>
188 SetProps(std::forward<PropsT>(value));
199 m_typeHasBeenSet =
true;
214 m_scopeHasBeenSet =
true;
226 template <
typename RequestIdT = Aws::String>
228 m_requestIdHasBeenSet =
true;
229 m_requestId = std::forward<RequestIdT>(value);
231 template <
typename RequestIdT = Aws::String>
261 bool m_connectionIdHasBeenSet =
false;
262 bool m_descriptionHasBeenSet =
false;
263 bool m_domainIdHasBeenSet =
false;
264 bool m_domainUnitIdHasBeenSet =
false;
265 bool m_environmentIdHasBeenSet =
false;
266 bool m_nameHasBeenSet =
false;
267 bool m_physicalEndpointsHasBeenSet =
false;
268 bool m_projectIdHasBeenSet =
false;
269 bool m_propsHasBeenSet =
false;
270 bool m_typeHasBeenSet =
false;
271 bool m_scopeHasBeenSet =
false;
272 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::String & GetEnvironmentId() const
CreateConnectionResult & WithProjectId(ProjectIdT &&value)
CreateConnectionResult & WithScope(ConnectionScope value)
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)
const Aws::String & GetDescription() const
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