7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/sagemaker/model/CognitoConfig.h>
10#include <aws/sagemaker/model/OidcConfig.h>
11#include <aws/sagemaker/model/SourceIpConfig.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/sagemaker/model/WorkforceVpcConfigRequest.h>
15#include <aws/sagemaker/model/Tag.h>
91 inline void SetWorkforceName(
const char* value) { m_workforceNameHasBeenSet =
true; m_workforceName.assign(value); }
127 bool m_cognitoConfigHasBeenSet =
false;
130 bool m_oidcConfigHasBeenSet =
false;
133 bool m_sourceIpConfigHasBeenSet =
false;
136 bool m_workforceNameHasBeenSet =
false;
139 bool m_tagsHasBeenSet =
false;
142 bool m_workforceVpcConfigHasBeenSet =
false;
CreateWorkforceRequest & WithWorkforceName(Aws::String &&value)
CreateWorkforceRequest & WithWorkforceVpcConfig(const WorkforceVpcConfigRequest &value)
const CognitoConfig & GetCognitoConfig() const
CreateWorkforceRequest & WithWorkforceVpcConfig(WorkforceVpcConfigRequest &&value)
CreateWorkforceRequest & WithSourceIpConfig(const SourceIpConfig &value)
bool TagsHasBeenSet() const
bool CognitoConfigHasBeenSet() const
CreateWorkforceRequest & WithWorkforceName(const char *value)
CreateWorkforceRequest & WithCognitoConfig(const CognitoConfig &value)
virtual const char * GetServiceRequestName() const override
bool WorkforceVpcConfigHasBeenSet() const
void SetTags(const Aws::Vector< Tag > &value)
bool OidcConfigHasBeenSet() const
CreateWorkforceRequest & WithOidcConfig(OidcConfig &&value)
AWS_SAGEMAKER_API CreateWorkforceRequest()
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
void SetTags(Aws::Vector< Tag > &&value)
CreateWorkforceRequest & WithSourceIpConfig(SourceIpConfig &&value)
void SetSourceIpConfig(const SourceIpConfig &value)
CreateWorkforceRequest & WithTags(Aws::Vector< Tag > &&value)
CreateWorkforceRequest & WithOidcConfig(const OidcConfig &value)
CreateWorkforceRequest & WithWorkforceName(const Aws::String &value)
const Aws::Vector< Tag > & GetTags() const
CreateWorkforceRequest & WithCognitoConfig(CognitoConfig &&value)
CreateWorkforceRequest & AddTags(Tag &&value)
void SetOidcConfig(OidcConfig &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool SourceIpConfigHasBeenSet() const
CreateWorkforceRequest & AddTags(const Tag &value)
const OidcConfig & GetOidcConfig() const
const WorkforceVpcConfigRequest & GetWorkforceVpcConfig() const
void SetSourceIpConfig(SourceIpConfig &&value)
void SetWorkforceName(Aws::String &&value)
const SourceIpConfig & GetSourceIpConfig() const
void SetWorkforceVpcConfig(WorkforceVpcConfigRequest &&value)
void SetCognitoConfig(const CognitoConfig &value)
void SetCognitoConfig(CognitoConfig &&value)
void SetWorkforceName(const char *value)
void SetWorkforceVpcConfig(const WorkforceVpcConfigRequest &value)
const Aws::String & GetWorkforceName() const
CreateWorkforceRequest & WithTags(const Aws::Vector< Tag > &value)
void SetWorkforceName(const Aws::String &value)
bool WorkforceNameHasBeenSet() const
void SetOidcConfig(const OidcConfig &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector