AWS SDK for C++  1.9.156
AWS SDK for C++
UpdateWorkforceRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace SageMaker
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "UpdateWorkforce"; }
33 
34  Aws::String SerializePayload() const override;
35 
37 
38 
43  inline const Aws::String& GetWorkforceName() const{ return m_workforceName; }
44 
49  inline bool WorkforceNameHasBeenSet() const { return m_workforceNameHasBeenSet; }
50 
55  inline void SetWorkforceName(const Aws::String& value) { m_workforceNameHasBeenSet = true; m_workforceName = value; }
56 
61  inline void SetWorkforceName(Aws::String&& value) { m_workforceNameHasBeenSet = true; m_workforceName = std::move(value); }
62 
67  inline void SetWorkforceName(const char* value) { m_workforceNameHasBeenSet = true; m_workforceName.assign(value); }
68 
73  inline UpdateWorkforceRequest& WithWorkforceName(const Aws::String& value) { SetWorkforceName(value); return *this;}
74 
79  inline UpdateWorkforceRequest& WithWorkforceName(Aws::String&& value) { SetWorkforceName(std::move(value)); return *this;}
80 
85  inline UpdateWorkforceRequest& WithWorkforceName(const char* value) { SetWorkforceName(value); return *this;}
86 
87 
94  inline const SourceIpConfig& GetSourceIpConfig() const{ return m_sourceIpConfig; }
95 
102  inline bool SourceIpConfigHasBeenSet() const { return m_sourceIpConfigHasBeenSet; }
103 
110  inline void SetSourceIpConfig(const SourceIpConfig& value) { m_sourceIpConfigHasBeenSet = true; m_sourceIpConfig = value; }
111 
118  inline void SetSourceIpConfig(SourceIpConfig&& value) { m_sourceIpConfigHasBeenSet = true; m_sourceIpConfig = std::move(value); }
119 
126  inline UpdateWorkforceRequest& WithSourceIpConfig(const SourceIpConfig& value) { SetSourceIpConfig(value); return *this;}
127 
134  inline UpdateWorkforceRequest& WithSourceIpConfig(SourceIpConfig&& value) { SetSourceIpConfig(std::move(value)); return *this;}
135 
136 
141  inline const OidcConfig& GetOidcConfig() const{ return m_oidcConfig; }
142 
147  inline bool OidcConfigHasBeenSet() const { return m_oidcConfigHasBeenSet; }
148 
153  inline void SetOidcConfig(const OidcConfig& value) { m_oidcConfigHasBeenSet = true; m_oidcConfig = value; }
154 
159  inline void SetOidcConfig(OidcConfig&& value) { m_oidcConfigHasBeenSet = true; m_oidcConfig = std::move(value); }
160 
165  inline UpdateWorkforceRequest& WithOidcConfig(const OidcConfig& value) { SetOidcConfig(value); return *this;}
166 
171  inline UpdateWorkforceRequest& WithOidcConfig(OidcConfig&& value) { SetOidcConfig(std::move(value)); return *this;}
172 
173  private:
174 
175  Aws::String m_workforceName;
176  bool m_workforceNameHasBeenSet;
177 
178  SourceIpConfig m_sourceIpConfig;
179  bool m_sourceIpConfigHasBeenSet;
180 
181  OidcConfig m_oidcConfig;
182  bool m_oidcConfigHasBeenSet;
183  };
184 
185 } // namespace Model
186 } // namespace SageMaker
187 } // namespace Aws
Aws::SageMaker::Model::UpdateWorkforceRequest::SetWorkforceName
void SetWorkforceName(const Aws::String &value)
Definition: UpdateWorkforceRequest.h:55
Aws::SageMaker::Model::UpdateWorkforceRequest::GetOidcConfig
const OidcConfig & GetOidcConfig() const
Definition: UpdateWorkforceRequest.h:141
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::UpdateWorkforceRequest::GetSourceIpConfig
const SourceIpConfig & GetSourceIpConfig() const
Definition: UpdateWorkforceRequest.h:94
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SageMaker::Model::UpdateWorkforceRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SageMaker::Model::UpdateWorkforceRequest::WithOidcConfig
UpdateWorkforceRequest & WithOidcConfig(const OidcConfig &value)
Definition: UpdateWorkforceRequest.h:165
Aws::SageMaker::Model::UpdateWorkforceRequest::SourceIpConfigHasBeenSet
bool SourceIpConfigHasBeenSet() const
Definition: UpdateWorkforceRequest.h:102
Aws::SageMaker::Model::UpdateWorkforceRequest::WithOidcConfig
UpdateWorkforceRequest & WithOidcConfig(OidcConfig &&value)
Definition: UpdateWorkforceRequest.h:171
Aws::SageMaker::Model::SourceIpConfig
Definition: SourceIpConfig.h:38
Aws::SageMaker::Model::UpdateWorkforceRequest::WithWorkforceName
UpdateWorkforceRequest & WithWorkforceName(Aws::String &&value)
Definition: UpdateWorkforceRequest.h:79
SourceIpConfig.h
Aws::SageMaker::Model::OidcConfig
Definition: OidcConfig.h:33
OidcConfig.h
Aws::SageMaker::Model::UpdateWorkforceRequest::WithWorkforceName
UpdateWorkforceRequest & WithWorkforceName(const Aws::String &value)
Definition: UpdateWorkforceRequest.h:73
Aws::SageMaker::Model::UpdateWorkforceRequest::OidcConfigHasBeenSet
bool OidcConfigHasBeenSet() const
Definition: UpdateWorkforceRequest.h:147
Aws::SageMaker::SageMakerRequest
Definition: SageMakerRequest.h:17
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::UpdateWorkforceRequest::WithSourceIpConfig
UpdateWorkforceRequest & WithSourceIpConfig(SourceIpConfig &&value)
Definition: UpdateWorkforceRequest.h:134
Aws::SageMaker::Model::UpdateWorkforceRequest::SetWorkforceName
void SetWorkforceName(const char *value)
Definition: UpdateWorkforceRequest.h:67
Aws::SageMaker::Model::UpdateWorkforceRequest::SetOidcConfig
void SetOidcConfig(OidcConfig &&value)
Definition: UpdateWorkforceRequest.h:159
AWSString.h
Aws::SageMaker::Model::UpdateWorkforceRequest::UpdateWorkforceRequest
UpdateWorkforceRequest()
Aws::SageMaker::Model::UpdateWorkforceRequest::WithWorkforceName
UpdateWorkforceRequest & WithWorkforceName(const char *value)
Definition: UpdateWorkforceRequest.h:85
Aws::SageMaker::Model::UpdateWorkforceRequest::WithSourceIpConfig
UpdateWorkforceRequest & WithSourceIpConfig(const SourceIpConfig &value)
Definition: UpdateWorkforceRequest.h:126
Aws::SageMaker::Model::UpdateWorkforceRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateWorkforceRequest.h:32
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::UpdateWorkforceRequest::GetWorkforceName
const Aws::String & GetWorkforceName() const
Definition: UpdateWorkforceRequest.h:43
SageMakerRequest.h
Aws::SageMaker::Model::UpdateWorkforceRequest::WorkforceNameHasBeenSet
bool WorkforceNameHasBeenSet() const
Definition: UpdateWorkforceRequest.h:49
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::UpdateWorkforceRequest::SetWorkforceName
void SetWorkforceName(Aws::String &&value)
Definition: UpdateWorkforceRequest.h:61
Aws::SageMaker::Model::UpdateWorkforceRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SageMaker::Model::UpdateWorkforceRequest
Definition: UpdateWorkforceRequest.h:24
Aws::SageMaker::Model::UpdateWorkforceRequest::SetSourceIpConfig
void SetSourceIpConfig(const SourceIpConfig &value)
Definition: UpdateWorkforceRequest.h:110
Aws::SageMaker::Model::UpdateWorkforceRequest::SetSourceIpConfig
void SetSourceIpConfig(SourceIpConfig &&value)
Definition: UpdateWorkforceRequest.h:118
Aws::SageMaker::Model::UpdateWorkforceRequest::SetOidcConfig
void SetOidcConfig(const OidcConfig &value)
Definition: UpdateWorkforceRequest.h:153