7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10#include <aws/sagemaker/model/CognitoConfig.h>
11#include <aws/sagemaker/model/OidcConfigForResponse.h>
12#include <aws/sagemaker/model/SourceIpConfig.h>
13#include <aws/sagemaker/model/WorkforceIpAddressType.h>
14#include <aws/sagemaker/model/WorkforceStatus.h>
15#include <aws/sagemaker/model/WorkforceVpcConfigResponse.h>
53 template <
typename WorkforceNameT = Aws::String>
55 m_workforceNameHasBeenSet =
true;
56 m_workforceName = std::forward<WorkforceNameT>(value);
58 template <
typename WorkforceNameT = Aws::String>
71 template <
typename WorkforceArnT = Aws::String>
73 m_workforceArnHasBeenSet =
true;
74 m_workforceArn = std::forward<WorkforceArnT>(value);
76 template <
typename WorkforceArnT = Aws::String>
93 template <
typename LastUpdatedDateT = Aws::Utils::DateTime>
95 m_lastUpdatedDateHasBeenSet =
true;
96 m_lastUpdatedDate = std::forward<LastUpdatedDateT>(value);
98 template <
typename LastUpdatedDateT = Aws::Utils::DateTime>
114 template <
typename SourceIpConfigT = SourceIpConfig>
116 m_sourceIpConfigHasBeenSet =
true;
117 m_sourceIpConfig = std::forward<SourceIpConfigT>(value);
119 template <
typename SourceIpConfigT = SourceIpConfig>
132 template <
typename SubDomainT = Aws::String>
134 m_subDomainHasBeenSet =
true;
135 m_subDomain = std::forward<SubDomainT>(value);
137 template <
typename SubDomainT = Aws::String>
153 template <
typename CognitoConfigT = CognitoConfig>
155 m_cognitoConfigHasBeenSet =
true;
156 m_cognitoConfig = std::forward<CognitoConfigT>(value);
158 template <
typename CognitoConfigT = CognitoConfig>
171 template <
typename O
idcConfigT = O
idcConfigForResponse>
173 m_oidcConfigHasBeenSet =
true;
174 m_oidcConfig = std::forward<OidcConfigT>(value);
176 template <
typename O
idcConfigT = O
idcConfigForResponse>
189 template <
typename CreateDateT = Aws::Utils::DateTime>
191 m_createDateHasBeenSet =
true;
192 m_createDate = std::forward<CreateDateT>(value);
194 template <
typename CreateDateT = Aws::Utils::DateTime>
207 template <
typename WorkforceVpcConfigT = WorkforceVpcConfigResponse>
209 m_workforceVpcConfigHasBeenSet =
true;
210 m_workforceVpcConfig = std::forward<WorkforceVpcConfigT>(value);
212 template <
typename WorkforceVpcConfigT = WorkforceVpcConfigResponse>
226 m_statusHasBeenSet =
true;
241 template <
typename FailureReasonT = Aws::String>
243 m_failureReasonHasBeenSet =
true;
244 m_failureReason = std::forward<FailureReasonT>(value);
246 template <
typename FailureReasonT = Aws::String>
262 m_ipAddressTypeHasBeenSet =
true;
263 m_ipAddressType = value;
277 SourceIpConfig m_sourceIpConfig;
281 CognitoConfig m_cognitoConfig;
283 OidcConfigForResponse m_oidcConfig;
287 WorkforceVpcConfigResponse m_workforceVpcConfig;
294 bool m_workforceNameHasBeenSet =
false;
295 bool m_workforceArnHasBeenSet =
false;
296 bool m_lastUpdatedDateHasBeenSet =
false;
297 bool m_sourceIpConfigHasBeenSet =
false;
298 bool m_subDomainHasBeenSet =
false;
299 bool m_cognitoConfigHasBeenSet =
false;
300 bool m_oidcConfigHasBeenSet =
false;
301 bool m_createDateHasBeenSet =
false;
302 bool m_workforceVpcConfigHasBeenSet =
false;
303 bool m_statusHasBeenSet =
false;
304 bool m_failureReasonHasBeenSet =
false;
305 bool m_ipAddressTypeHasBeenSet =
false;
Workforce & WithWorkforceName(WorkforceNameT &&value)
void SetWorkforceVpcConfig(WorkforceVpcConfigT &&value)
void SetSubDomain(SubDomainT &&value)
const Aws::String & GetWorkforceArn() const
bool SubDomainHasBeenSet() const
bool WorkforceVpcConfigHasBeenSet() const
const Aws::String & GetFailureReason() const
bool IpAddressTypeHasBeenSet() const
AWS_SAGEMAKER_API Workforce(Aws::Utils::Json::JsonView jsonValue)
bool FailureReasonHasBeenSet() const
Workforce & WithIpAddressType(WorkforceIpAddressType value)
void SetCreateDate(CreateDateT &&value)
Workforce & WithStatus(WorkforceStatus value)
bool StatusHasBeenSet() const
Workforce & WithWorkforceVpcConfig(WorkforceVpcConfigT &&value)
bool OidcConfigHasBeenSet() const
bool WorkforceArnHasBeenSet() const
bool LastUpdatedDateHasBeenSet() const
Workforce & WithFailureReason(FailureReasonT &&value)
void SetStatus(WorkforceStatus value)
Workforce & WithSubDomain(SubDomainT &&value)
const OidcConfigForResponse & GetOidcConfig() const
Workforce & WithSourceIpConfig(SourceIpConfigT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
Workforce & WithCreateDate(CreateDateT &&value)
bool WorkforceNameHasBeenSet() const
bool SourceIpConfigHasBeenSet() const
WorkforceIpAddressType GetIpAddressType() const
const Aws::Utils::DateTime & GetCreateDate() const
bool CreateDateHasBeenSet() const
void SetFailureReason(FailureReasonT &&value)
const WorkforceVpcConfigResponse & GetWorkforceVpcConfig() const
Workforce & WithWorkforceArn(WorkforceArnT &&value)
void SetSourceIpConfig(SourceIpConfigT &&value)
const SourceIpConfig & GetSourceIpConfig() const
void SetWorkforceArn(WorkforceArnT &&value)
AWS_SAGEMAKER_API Workforce & operator=(Aws::Utils::Json::JsonView jsonValue)
Workforce & WithLastUpdatedDate(LastUpdatedDateT &&value)
AWS_SAGEMAKER_API Workforce()=default
const Aws::String & GetWorkforceName() const
Workforce & WithOidcConfig(OidcConfigT &&value)
WorkforceStatus GetStatus() const
void SetCognitoConfig(CognitoConfigT &&value)
void SetLastUpdatedDate(LastUpdatedDateT &&value)
void SetIpAddressType(WorkforceIpAddressType value)
bool CognitoConfigHasBeenSet() const
const Aws::String & GetSubDomain() const
const CognitoConfig & GetCognitoConfig() const
void SetOidcConfig(OidcConfigT &&value)
void SetWorkforceName(WorkforceNameT &&value)
Workforce & WithCognitoConfig(CognitoConfigT &&value)
const Aws::Utils::DateTime & GetLastUpdatedDate() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue