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/WorkforceIpAddressType.h>
16#include <aws/sagemaker/model/Tag.h>
54 template<
typename CognitoConfigT = CognitoConfig>
55 void SetCognitoConfig(CognitoConfigT&& value) { m_cognitoConfigHasBeenSet =
true; m_cognitoConfig = std::forward<CognitoConfigT>(value); }
56 template<
typename CognitoConfigT = CognitoConfig>
68 template<
typename O
idcConfigT = O
idcConfig>
69 void SetOidcConfig(OidcConfigT&& value) { m_oidcConfigHasBeenSet =
true; m_oidcConfig = std::forward<OidcConfigT>(value); }
70 template<
typename O
idcConfigT = O
idcConfig>
78 template<
typename SourceIpConfigT = SourceIpConfig>
79 void SetSourceIpConfig(SourceIpConfigT&& value) { m_sourceIpConfigHasBeenSet =
true; m_sourceIpConfig = std::forward<SourceIpConfigT>(value); }
80 template<
typename SourceIpConfigT = SourceIpConfig>
90 template<
typename WorkforceNameT = Aws::String>
91 void SetWorkforceName(WorkforceNameT&& value) { m_workforceNameHasBeenSet =
true; m_workforceName = std::forward<WorkforceNameT>(value); }
92 template<
typename WorkforceNameT = Aws::String>
104 template<
typename TagsT = Aws::Vector<Tag>>
105 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
106 template<
typename TagsT = Aws::Vector<Tag>>
108 template<
typename TagsT = Tag>
118 template<
typename WorkforceVpcConfigT = WorkforceVpcConfigRequest>
119 void SetWorkforceVpcConfig(WorkforceVpcConfigT&& value) { m_workforceVpcConfigHasBeenSet =
true; m_workforceVpcConfig = std::forward<WorkforceVpcConfigT>(value); }
120 template<
typename WorkforceVpcConfigT = WorkforceVpcConfigRequest>
138 bool m_cognitoConfigHasBeenSet =
false;
141 bool m_oidcConfigHasBeenSet =
false;
144 bool m_sourceIpConfigHasBeenSet =
false;
147 bool m_workforceNameHasBeenSet =
false;
150 bool m_tagsHasBeenSet =
false;
153 bool m_workforceVpcConfigHasBeenSet =
false;
156 bool m_ipAddressTypeHasBeenSet =
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)
bool IpAddressTypeHasBeenSet() const
virtual const char * GetServiceRequestName() const override
bool WorkforceVpcConfigHasBeenSet() const
CreateWorkforceRequest & WithIpAddressType(WorkforceIpAddressType value)
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)
void SetIpAddressType(WorkforceIpAddressType value)
const SourceIpConfig & GetSourceIpConfig() const
WorkforceIpAddressType GetIpAddressType() 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