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>
15#include <aws/sagemaker/model/WorkforceIpAddressType.h>
59 template<
typename WorkforceNameT = Aws::String>
60 void SetWorkforceName(WorkforceNameT&& value) { m_workforceNameHasBeenSet =
true; m_workforceName = std::forward<WorkforceNameT>(value); }
61 template<
typename WorkforceNameT = Aws::String>
71 template<
typename WorkforceArnT = Aws::String>
72 void SetWorkforceArn(WorkforceArnT&& value) { m_workforceArnHasBeenSet =
true; m_workforceArn = std::forward<WorkforceArnT>(value); }
73 template<
typename WorkforceArnT = Aws::String>
87 template<
typename LastUpdatedDateT = Aws::Utils::DateTime>
88 void SetLastUpdatedDate(LastUpdatedDateT&& value) { m_lastUpdatedDateHasBeenSet =
true; m_lastUpdatedDate = std::forward<LastUpdatedDateT>(value); }
89 template<
typename LastUpdatedDateT = Aws::Utils::DateTime>
102 template<
typename SourceIpConfigT = SourceIpConfig>
103 void SetSourceIpConfig(SourceIpConfigT&& value) { m_sourceIpConfigHasBeenSet =
true; m_sourceIpConfig = std::forward<SourceIpConfigT>(value); }
104 template<
typename SourceIpConfigT = SourceIpConfig>
114 template<
typename SubDomainT = Aws::String>
115 void SetSubDomain(SubDomainT&& value) { m_subDomainHasBeenSet =
true; m_subDomain = std::forward<SubDomainT>(value); }
116 template<
typename SubDomainT = Aws::String>
129 template<
typename CognitoConfigT = CognitoConfig>
130 void SetCognitoConfig(CognitoConfigT&& value) { m_cognitoConfigHasBeenSet =
true; m_cognitoConfig = std::forward<CognitoConfigT>(value); }
131 template<
typename CognitoConfigT = CognitoConfig>
141 template<
typename O
idcConfigT = O
idcConfigForResponse>
142 void SetOidcConfig(OidcConfigT&& value) { m_oidcConfigHasBeenSet =
true; m_oidcConfig = std::forward<OidcConfigT>(value); }
143 template<
typename O
idcConfigT = O
idcConfigForResponse>
153 template<
typename CreateDateT = Aws::Utils::DateTime>
154 void SetCreateDate(CreateDateT&& value) { m_createDateHasBeenSet =
true; m_createDate = std::forward<CreateDateT>(value); }
155 template<
typename CreateDateT = Aws::Utils::DateTime>
165 template<
typename WorkforceVpcConfigT = WorkforceVpcConfigResponse>
166 void SetWorkforceVpcConfig(WorkforceVpcConfigT&& value) { m_workforceVpcConfigHasBeenSet =
true; m_workforceVpcConfig = std::forward<WorkforceVpcConfigT>(value); }
167 template<
typename WorkforceVpcConfigT = WorkforceVpcConfigResponse>
187 template<
typename FailureReasonT = Aws::String>
188 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet =
true; m_failureReason = std::forward<FailureReasonT>(value); }
189 template<
typename FailureReasonT = Aws::String>
207 bool m_workforceNameHasBeenSet =
false;
210 bool m_workforceArnHasBeenSet =
false;
213 bool m_lastUpdatedDateHasBeenSet =
false;
215 SourceIpConfig m_sourceIpConfig;
216 bool m_sourceIpConfigHasBeenSet =
false;
219 bool m_subDomainHasBeenSet =
false;
221 CognitoConfig m_cognitoConfig;
222 bool m_cognitoConfigHasBeenSet =
false;
224 OidcConfigForResponse m_oidcConfig;
225 bool m_oidcConfigHasBeenSet =
false;
228 bool m_createDateHasBeenSet =
false;
230 WorkforceVpcConfigResponse m_workforceVpcConfig;
231 bool m_workforceVpcConfigHasBeenSet =
false;
234 bool m_statusHasBeenSet =
false;
237 bool m_failureReasonHasBeenSet =
false;
240 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