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>
53 template<
typename CognitoConfigT = CognitoConfig>
54 void SetCognitoConfig(CognitoConfigT&& value) { m_cognitoConfigHasBeenSet =
true; m_cognitoConfig = std::forward<CognitoConfigT>(value); }
55 template<
typename CognitoConfigT = CognitoConfig>
67 template<
typename O
idcConfigT = O
idcConfig>
68 void SetOidcConfig(OidcConfigT&& value) { m_oidcConfigHasBeenSet =
true; m_oidcConfig = std::forward<OidcConfigT>(value); }
69 template<
typename O
idcConfigT = O
idcConfig>
77 template<
typename SourceIpConfigT = SourceIpConfig>
78 void SetSourceIpConfig(SourceIpConfigT&& value) { m_sourceIpConfigHasBeenSet =
true; m_sourceIpConfig = std::forward<SourceIpConfigT>(value); }
79 template<
typename SourceIpConfigT = SourceIpConfig>
89 template<
typename WorkforceNameT = Aws::String>
90 void SetWorkforceName(WorkforceNameT&& value) { m_workforceNameHasBeenSet =
true; m_workforceName = std::forward<WorkforceNameT>(value); }
91 template<
typename WorkforceNameT = Aws::String>
103 template<
typename TagsT = Aws::Vector<Tag>>
104 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
105 template<
typename TagsT = Aws::Vector<Tag>>
107 template<
typename TagsT = Tag>
117 template<
typename WorkforceVpcConfigT = WorkforceVpcConfigRequest>
118 void SetWorkforceVpcConfig(WorkforceVpcConfigT&& value) { m_workforceVpcConfigHasBeenSet =
true; m_workforceVpcConfig = std::forward<WorkforceVpcConfigT>(value); }
119 template<
typename WorkforceVpcConfigT = WorkforceVpcConfigRequest>
125 bool m_cognitoConfigHasBeenSet =
false;
128 bool m_oidcConfigHasBeenSet =
false;
131 bool m_sourceIpConfigHasBeenSet =
false;
134 bool m_workforceNameHasBeenSet =
false;
137 bool m_tagsHasBeenSet =
false;
140 bool m_workforceVpcConfigHasBeenSet =
false;
AWS_SAGEMAKER_API CreateWorkforceRequest()=default
CreateWorkforceRequest & AddTags(TagsT &&value)
void SetOidcConfig(OidcConfigT &&value)
const CognitoConfig & GetCognitoConfig() const
CreateWorkforceRequest & WithOidcConfig(OidcConfigT &&value)
void SetWorkforceVpcConfig(WorkforceVpcConfigT &&value)
bool TagsHasBeenSet() const
void SetSourceIpConfig(SourceIpConfigT &&value)
bool CognitoConfigHasBeenSet() const
void SetWorkforceName(WorkforceNameT &&value)
CreateWorkforceRequest & WithWorkforceName(WorkforceNameT &&value)
CreateWorkforceRequest & WithCognitoConfig(CognitoConfigT &&value)
virtual const char * GetServiceRequestName() const override
bool WorkforceVpcConfigHasBeenSet() const
bool OidcConfigHasBeenSet() const
CreateWorkforceRequest & WithWorkforceVpcConfig(WorkforceVpcConfigT &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
const Aws::Vector< Tag > & GetTags() const
CreateWorkforceRequest & WithSourceIpConfig(SourceIpConfigT &&value)
void SetCognitoConfig(CognitoConfigT &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool SourceIpConfigHasBeenSet() const
const OidcConfig & GetOidcConfig() const
const WorkforceVpcConfigRequest & GetWorkforceVpcConfig() const
CreateWorkforceRequest & WithTags(TagsT &&value)
void SetTags(TagsT &&value)
const SourceIpConfig & GetSourceIpConfig() const
const Aws::String & GetWorkforceName() const
bool WorkforceNameHasBeenSet() const
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