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>
60 inline void SetWorkforceName(
const char* value) { m_workforceNameHasBeenSet =
true; m_workforceName.assign(value); }
74 inline void SetWorkforceArn(
const char* value) { m_workforceArnHasBeenSet =
true; m_workforceArn.assign(value); }
119 inline void SetSubDomain(
const char* value) { m_subDomainHasBeenSet =
true; m_subDomain.assign(value); }
196 inline void SetFailureReason(
const char* value) { m_failureReasonHasBeenSet =
true; m_failureReason.assign(value); }
204 bool m_workforceNameHasBeenSet =
false;
207 bool m_workforceArnHasBeenSet =
false;
210 bool m_lastUpdatedDateHasBeenSet =
false;
213 bool m_sourceIpConfigHasBeenSet =
false;
216 bool m_subDomainHasBeenSet =
false;
219 bool m_cognitoConfigHasBeenSet =
false;
222 bool m_oidcConfigHasBeenSet =
false;
225 bool m_createDateHasBeenSet =
false;
228 bool m_workforceVpcConfigHasBeenSet =
false;
231 bool m_statusHasBeenSet =
false;
234 bool m_failureReasonHasBeenSet =
false;
Workforce & WithStatus(const WorkforceStatus &value)
Workforce & WithCreateDate(Aws::Utils::DateTime &&value)
void SetLastUpdatedDate(const Aws::Utils::DateTime &value)
const Aws::String & GetWorkforceArn() const
bool SubDomainHasBeenSet() const
bool WorkforceVpcConfigHasBeenSet() const
Workforce & WithWorkforceName(Aws::String &&value)
const Aws::String & GetFailureReason() const
Workforce & WithSourceIpConfig(const SourceIpConfig &value)
void SetWorkforceName(const char *value)
void SetFailureReason(Aws::String &&value)
void SetWorkforceArn(const Aws::String &value)
AWS_SAGEMAKER_API Workforce(Aws::Utils::Json::JsonView jsonValue)
Workforce & WithFailureReason(Aws::String &&value)
bool FailureReasonHasBeenSet() const
void SetFailureReason(const Aws::String &value)
void SetWorkforceArn(const char *value)
Workforce & WithStatus(WorkforceStatus &&value)
Workforce & WithSourceIpConfig(SourceIpConfig &&value)
Workforce & WithWorkforceName(const char *value)
Workforce & WithWorkforceVpcConfig(WorkforceVpcConfigResponse &&value)
Workforce & WithSubDomain(Aws::String &&value)
void SetWorkforceName(const Aws::String &value)
bool StatusHasBeenSet() const
Workforce & WithCognitoConfig(CognitoConfig &&value)
void SetOidcConfig(const OidcConfigForResponse &value)
bool OidcConfigHasBeenSet() const
bool WorkforceArnHasBeenSet() const
void SetSourceIpConfig(const SourceIpConfig &value)
bool LastUpdatedDateHasBeenSet() const
Workforce & WithWorkforceArn(const char *value)
Workforce & WithSubDomain(const char *value)
void SetSubDomain(const char *value)
void SetStatus(WorkforceStatus &&value)
void SetSubDomain(Aws::String &&value)
Workforce & WithOidcConfig(OidcConfigForResponse &&value)
void SetSourceIpConfig(SourceIpConfig &&value)
const OidcConfigForResponse & GetOidcConfig() const
void SetFailureReason(const char *value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetWorkforceArn(Aws::String &&value)
bool WorkforceNameHasBeenSet() const
Workforce & WithFailureReason(const Aws::String &value)
bool SourceIpConfigHasBeenSet() const
const Aws::Utils::DateTime & GetCreateDate() const
Workforce & WithWorkforceArn(Aws::String &&value)
void SetCreateDate(Aws::Utils::DateTime &&value)
void SetCreateDate(const Aws::Utils::DateTime &value)
bool CreateDateHasBeenSet() const
void SetLastUpdatedDate(Aws::Utils::DateTime &&value)
const WorkforceVpcConfigResponse & GetWorkforceVpcConfig() const
const SourceIpConfig & GetSourceIpConfig() const
void SetStatus(const WorkforceStatus &value)
void SetOidcConfig(OidcConfigForResponse &&value)
AWS_SAGEMAKER_API Workforce & operator=(Aws::Utils::Json::JsonView jsonValue)
Workforce & WithSubDomain(const Aws::String &value)
Workforce & WithLastUpdatedDate(Aws::Utils::DateTime &&value)
Workforce & WithWorkforceVpcConfig(const WorkforceVpcConfigResponse &value)
Workforce & WithLastUpdatedDate(const Aws::Utils::DateTime &value)
const Aws::String & GetWorkforceName() const
Workforce & WithFailureReason(const char *value)
Workforce & WithCreateDate(const Aws::Utils::DateTime &value)
void SetWorkforceVpcConfig(WorkforceVpcConfigResponse &&value)
void SetCognitoConfig(const CognitoConfig &value)
bool CognitoConfigHasBeenSet() const
Workforce & WithWorkforceName(const Aws::String &value)
const WorkforceStatus & GetStatus() const
Workforce & WithOidcConfig(const OidcConfigForResponse &value)
Workforce & WithWorkforceArn(const Aws::String &value)
const Aws::String & GetSubDomain() const
Workforce & WithCognitoConfig(const CognitoConfig &value)
void SetSubDomain(const Aws::String &value)
void SetCognitoConfig(CognitoConfig &&value)
const CognitoConfig & GetCognitoConfig() const
void SetWorkforceVpcConfig(const WorkforceVpcConfigResponse &value)
const Aws::Utils::DateTime & GetLastUpdatedDate() const
AWS_SAGEMAKER_API Workforce()
void SetWorkforceName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue