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/ConnectionCredentials.h>
11#include <aws/datazone/model/ConnectionPropertiesOutput.h>
12#include <aws/datazone/model/ConnectionScope.h>
13#include <aws/datazone/model/ConnectionType.h>
14#include <aws/datazone/model/PhysicalEndpoint.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
40 template <
typename ConnectionCredentialsT = ConnectionCredentials>
42 m_connectionCredentialsHasBeenSet =
true;
43 m_connectionCredentials = std::forward<ConnectionCredentialsT>(value);
45 template <
typename ConnectionCredentialsT = ConnectionCredentials>
57 template <
typename ConnectionIdT = Aws::String>
59 m_connectionIdHasBeenSet =
true;
60 m_connectionId = std::forward<ConnectionIdT>(value);
62 template <
typename ConnectionIdT = Aws::String>
74 template <
typename DescriptionT = Aws::String>
76 m_descriptionHasBeenSet =
true;
77 m_description = std::forward<DescriptionT>(value);
79 template <
typename DescriptionT = Aws::String>
91 template <
typename DomainIdT = Aws::String>
93 m_domainIdHasBeenSet =
true;
94 m_domainId = std::forward<DomainIdT>(value);
96 template <
typename DomainIdT = Aws::String>
108 template <
typename DomainUnitIdT = Aws::String>
110 m_domainUnitIdHasBeenSet =
true;
111 m_domainUnitId = std::forward<DomainUnitIdT>(value);
113 template <
typename DomainUnitIdT = Aws::String>
125 template <
typename EnvironmentIdT = Aws::String>
127 m_environmentIdHasBeenSet =
true;
128 m_environmentId = std::forward<EnvironmentIdT>(value);
130 template <
typename EnvironmentIdT = Aws::String>
142 template <
typename EnvironmentUserRoleT = Aws::String>
144 m_environmentUserRoleHasBeenSet =
true;
145 m_environmentUserRole = std::forward<EnvironmentUserRoleT>(value);
147 template <
typename EnvironmentUserRoleT = Aws::String>
159 template <
typename NameT = Aws::String>
161 m_nameHasBeenSet =
true;
162 m_name = std::forward<NameT>(value);
164 template <
typename NameT = Aws::String>
166 SetName(std::forward<NameT>(value));
176 template <
typename PhysicalEndpo
intsT = Aws::Vector<PhysicalEndpo
int>>
178 m_physicalEndpointsHasBeenSet =
true;
179 m_physicalEndpoints = std::forward<PhysicalEndpointsT>(value);
181 template <
typename PhysicalEndpo
intsT = Aws::Vector<PhysicalEndpo
int>>
186 template <
typename PhysicalEndpo
intsT = PhysicalEndpo
int>
188 m_physicalEndpointsHasBeenSet =
true;
189 m_physicalEndpoints.emplace_back(std::forward<PhysicalEndpointsT>(value));
199 template <
typename ProjectIdT = Aws::String>
201 m_projectIdHasBeenSet =
true;
202 m_projectId = std::forward<ProjectIdT>(value);
204 template <
typename ProjectIdT = Aws::String>
216 template <
typename PropsT = ConnectionPropertiesOutput>
218 m_propsHasBeenSet =
true;
219 m_props = std::forward<PropsT>(value);
221 template <
typename PropsT = ConnectionPropertiesOutput>
223 SetProps(std::forward<PropsT>(value));
234 m_typeHasBeenSet =
true;
249 m_scopeHasBeenSet =
true;
261 template <
typename RequestIdT = Aws::String>
263 m_requestIdHasBeenSet =
true;
264 m_requestId = std::forward<RequestIdT>(value);
266 template <
typename RequestIdT = Aws::String>
300 bool m_connectionCredentialsHasBeenSet =
false;
301 bool m_connectionIdHasBeenSet =
false;
302 bool m_descriptionHasBeenSet =
false;
303 bool m_domainIdHasBeenSet =
false;
304 bool m_domainUnitIdHasBeenSet =
false;
305 bool m_environmentIdHasBeenSet =
false;
306 bool m_environmentUserRoleHasBeenSet =
false;
307 bool m_nameHasBeenSet =
false;
308 bool m_physicalEndpointsHasBeenSet =
false;
309 bool m_projectIdHasBeenSet =
false;
310 bool m_propsHasBeenSet =
false;
311 bool m_typeHasBeenSet =
false;
312 bool m_scopeHasBeenSet =
false;
313 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetDescription() const
const Aws::String & GetDomainId() const
AWS_DATAZONE_API GetConnectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetConnectionResult & WithProps(PropsT &&value)
void SetPhysicalEndpoints(PhysicalEndpointsT &&value)
GetConnectionResult & WithType(ConnectionType value)
GetConnectionResult & WithDomainId(DomainIdT &&value)
AWS_DATAZONE_API GetConnectionResult()=default
GetConnectionResult & WithConnectionId(ConnectionIdT &&value)
const ConnectionPropertiesOutput & GetProps() const
void SetEnvironmentId(EnvironmentIdT &&value)
void SetConnectionCredentials(ConnectionCredentialsT &&value)
void SetConnectionId(ConnectionIdT &&value)
GetConnectionResult & WithRequestId(RequestIdT &&value)
GetConnectionResult & WithName(NameT &&value)
GetConnectionResult & WithDescription(DescriptionT &&value)
const Aws::String & GetConnectionId() const
GetConnectionResult & WithDomainUnitId(DomainUnitIdT &&value)
GetConnectionResult & WithEnvironmentId(EnvironmentIdT &&value)
const Aws::Vector< PhysicalEndpoint > & GetPhysicalEndpoints() const
AWS_DATAZONE_API GetConnectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetEnvironmentUserRole(EnvironmentUserRoleT &&value)
const Aws::String & GetEnvironmentUserRole() const
void SetName(NameT &&value)
const Aws::String & GetRequestId() const
const Aws::String & GetDomainUnitId() const
const ConnectionCredentials & GetConnectionCredentials() const
const Aws::String & GetProjectId() const
GetConnectionResult & WithScope(ConnectionScope value)
ConnectionScope GetScope() const
void SetRequestId(RequestIdT &&value)
GetConnectionResult & WithProjectId(ProjectIdT &&value)
void SetDomainUnitId(DomainUnitIdT &&value)
GetConnectionResult & AddPhysicalEndpoints(PhysicalEndpointsT &&value)
void SetProjectId(ProjectIdT &&value)
const Aws::String & GetEnvironmentId() const
void SetDescription(DescriptionT &&value)
ConnectionType GetType() const
GetConnectionResult & WithEnvironmentUserRole(EnvironmentUserRoleT &&value)
const Aws::String & GetName() const
GetConnectionResult & WithPhysicalEndpoints(PhysicalEndpointsT &&value)
void SetProps(PropsT &&value)
void SetDomainId(DomainIdT &&value)
void SetScope(ConnectionScope value)
void SetType(ConnectionType value)
GetConnectionResult & WithConnectionCredentials(ConnectionCredentialsT &&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