7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/sagemaker/model/SourceIpConfig.h>
11#include <aws/sagemaker/model/CognitoConfig.h>
12#include <aws/sagemaker/model/OidcConfigForResponse.h>
13#include <aws/sagemaker/model/WorkforceVpcConfigResponse.h>
14#include <aws/sagemaker/model/WorkforceStatus.h>
58 template<
typename WorkforceNameT = Aws::String>
59 void SetWorkforceName(WorkforceNameT&& value) { m_workforceNameHasBeenSet =
true; m_workforceName = std::forward<WorkforceNameT>(value); }
60 template<
typename WorkforceNameT = Aws::String>
70 template<
typename WorkforceArnT = Aws::String>
71 void SetWorkforceArn(WorkforceArnT&& value) { m_workforceArnHasBeenSet =
true; m_workforceArn = std::forward<WorkforceArnT>(value); }
72 template<
typename WorkforceArnT = Aws::String>
86 template<
typename LastUpdatedDateT = Aws::Utils::DateTime>
87 void SetLastUpdatedDate(LastUpdatedDateT&& value) { m_lastUpdatedDateHasBeenSet =
true; m_lastUpdatedDate = std::forward<LastUpdatedDateT>(value); }
88 template<
typename LastUpdatedDateT = Aws::Utils::DateTime>
101 template<
typename SourceIpConfigT = SourceIpConfig>
102 void SetSourceIpConfig(SourceIpConfigT&& value) { m_sourceIpConfigHasBeenSet =
true; m_sourceIpConfig = std::forward<SourceIpConfigT>(value); }
103 template<
typename SourceIpConfigT = SourceIpConfig>
113 template<
typename SubDomainT = Aws::String>
114 void SetSubDomain(SubDomainT&& value) { m_subDomainHasBeenSet =
true; m_subDomain = std::forward<SubDomainT>(value); }
115 template<
typename SubDomainT = Aws::String>
128 template<
typename CognitoConfigT = CognitoConfig>
129 void SetCognitoConfig(CognitoConfigT&& value) { m_cognitoConfigHasBeenSet =
true; m_cognitoConfig = std::forward<CognitoConfigT>(value); }
130 template<
typename CognitoConfigT = CognitoConfig>
140 template<
typename O
idcConfigT = O
idcConfigForResponse>
141 void SetOidcConfig(OidcConfigT&& value) { m_oidcConfigHasBeenSet =
true; m_oidcConfig = std::forward<OidcConfigT>(value); }
142 template<
typename O
idcConfigT = O
idcConfigForResponse>
152 template<
typename CreateDateT = Aws::Utils::DateTime>
153 void SetCreateDate(CreateDateT&& value) { m_createDateHasBeenSet =
true; m_createDate = std::forward<CreateDateT>(value); }
154 template<
typename CreateDateT = Aws::Utils::DateTime>
164 template<
typename WorkforceVpcConfigT = WorkforceVpcConfigResponse>
165 void SetWorkforceVpcConfig(WorkforceVpcConfigT&& value) { m_workforceVpcConfigHasBeenSet =
true; m_workforceVpcConfig = std::forward<WorkforceVpcConfigT>(value); }
166 template<
typename WorkforceVpcConfigT = WorkforceVpcConfigResponse>
186 template<
typename FailureReasonT = Aws::String>
187 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet =
true; m_failureReason = std::forward<FailureReasonT>(value); }
188 template<
typename FailureReasonT = Aws::String>
194 bool m_workforceNameHasBeenSet =
false;
197 bool m_workforceArnHasBeenSet =
false;
200 bool m_lastUpdatedDateHasBeenSet =
false;
202 SourceIpConfig m_sourceIpConfig;
203 bool m_sourceIpConfigHasBeenSet =
false;
206 bool m_subDomainHasBeenSet =
false;
208 CognitoConfig m_cognitoConfig;
209 bool m_cognitoConfigHasBeenSet =
false;
211 OidcConfigForResponse m_oidcConfig;
212 bool m_oidcConfigHasBeenSet =
false;
215 bool m_createDateHasBeenSet =
false;
217 WorkforceVpcConfigResponse m_workforceVpcConfig;
218 bool m_workforceVpcConfigHasBeenSet =
false;
221 bool m_statusHasBeenSet =
false;
224 bool m_failureReasonHasBeenSet =
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
AWS_SAGEMAKER_API Workforce(Aws::Utils::Json::JsonView jsonValue)
bool FailureReasonHasBeenSet() const
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
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)
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