AWS SDK for C++  1.9.158
AWS SDK for C++
Workforce.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22  class JsonView;
23 } // namespace Json
24 } // namespace Utils
25 namespace SageMaker
26 {
27 namespace Model
28 {
29 
42  {
43  public:
48 
49 
53  inline const Aws::String& GetWorkforceName() const{ return m_workforceName; }
54 
58  inline bool WorkforceNameHasBeenSet() const { return m_workforceNameHasBeenSet; }
59 
63  inline void SetWorkforceName(const Aws::String& value) { m_workforceNameHasBeenSet = true; m_workforceName = value; }
64 
68  inline void SetWorkforceName(Aws::String&& value) { m_workforceNameHasBeenSet = true; m_workforceName = std::move(value); }
69 
73  inline void SetWorkforceName(const char* value) { m_workforceNameHasBeenSet = true; m_workforceName.assign(value); }
74 
78  inline Workforce& WithWorkforceName(const Aws::String& value) { SetWorkforceName(value); return *this;}
79 
83  inline Workforce& WithWorkforceName(Aws::String&& value) { SetWorkforceName(std::move(value)); return *this;}
84 
88  inline Workforce& WithWorkforceName(const char* value) { SetWorkforceName(value); return *this;}
89 
90 
94  inline const Aws::String& GetWorkforceArn() const{ return m_workforceArn; }
95 
99  inline bool WorkforceArnHasBeenSet() const { return m_workforceArnHasBeenSet; }
100 
104  inline void SetWorkforceArn(const Aws::String& value) { m_workforceArnHasBeenSet = true; m_workforceArn = value; }
105 
109  inline void SetWorkforceArn(Aws::String&& value) { m_workforceArnHasBeenSet = true; m_workforceArn = std::move(value); }
110 
114  inline void SetWorkforceArn(const char* value) { m_workforceArnHasBeenSet = true; m_workforceArn.assign(value); }
115 
119  inline Workforce& WithWorkforceArn(const Aws::String& value) { SetWorkforceArn(value); return *this;}
120 
124  inline Workforce& WithWorkforceArn(Aws::String&& value) { SetWorkforceArn(std::move(value)); return *this;}
125 
129  inline Workforce& WithWorkforceArn(const char* value) { SetWorkforceArn(value); return *this;}
130 
131 
138  inline const Aws::Utils::DateTime& GetLastUpdatedDate() const{ return m_lastUpdatedDate; }
139 
146  inline bool LastUpdatedDateHasBeenSet() const { return m_lastUpdatedDateHasBeenSet; }
147 
154  inline void SetLastUpdatedDate(const Aws::Utils::DateTime& value) { m_lastUpdatedDateHasBeenSet = true; m_lastUpdatedDate = value; }
155 
162  inline void SetLastUpdatedDate(Aws::Utils::DateTime&& value) { m_lastUpdatedDateHasBeenSet = true; m_lastUpdatedDate = std::move(value); }
163 
170  inline Workforce& WithLastUpdatedDate(const Aws::Utils::DateTime& value) { SetLastUpdatedDate(value); return *this;}
171 
178  inline Workforce& WithLastUpdatedDate(Aws::Utils::DateTime&& value) { SetLastUpdatedDate(std::move(value)); return *this;}
179 
180 
187  inline const SourceIpConfig& GetSourceIpConfig() const{ return m_sourceIpConfig; }
188 
195  inline bool SourceIpConfigHasBeenSet() const { return m_sourceIpConfigHasBeenSet; }
196 
203  inline void SetSourceIpConfig(const SourceIpConfig& value) { m_sourceIpConfigHasBeenSet = true; m_sourceIpConfig = value; }
204 
211  inline void SetSourceIpConfig(SourceIpConfig&& value) { m_sourceIpConfigHasBeenSet = true; m_sourceIpConfig = std::move(value); }
212 
219  inline Workforce& WithSourceIpConfig(const SourceIpConfig& value) { SetSourceIpConfig(value); return *this;}
220 
227  inline Workforce& WithSourceIpConfig(SourceIpConfig&& value) { SetSourceIpConfig(std::move(value)); return *this;}
228 
229 
233  inline const Aws::String& GetSubDomain() const{ return m_subDomain; }
234 
238  inline bool SubDomainHasBeenSet() const { return m_subDomainHasBeenSet; }
239 
243  inline void SetSubDomain(const Aws::String& value) { m_subDomainHasBeenSet = true; m_subDomain = value; }
244 
248  inline void SetSubDomain(Aws::String&& value) { m_subDomainHasBeenSet = true; m_subDomain = std::move(value); }
249 
253  inline void SetSubDomain(const char* value) { m_subDomainHasBeenSet = true; m_subDomain.assign(value); }
254 
258  inline Workforce& WithSubDomain(const Aws::String& value) { SetSubDomain(value); return *this;}
259 
263  inline Workforce& WithSubDomain(Aws::String&& value) { SetSubDomain(std::move(value)); return *this;}
264 
268  inline Workforce& WithSubDomain(const char* value) { SetSubDomain(value); return *this;}
269 
270 
277  inline const CognitoConfig& GetCognitoConfig() const{ return m_cognitoConfig; }
278 
285  inline bool CognitoConfigHasBeenSet() const { return m_cognitoConfigHasBeenSet; }
286 
293  inline void SetCognitoConfig(const CognitoConfig& value) { m_cognitoConfigHasBeenSet = true; m_cognitoConfig = value; }
294 
301  inline void SetCognitoConfig(CognitoConfig&& value) { m_cognitoConfigHasBeenSet = true; m_cognitoConfig = std::move(value); }
302 
309  inline Workforce& WithCognitoConfig(const CognitoConfig& value) { SetCognitoConfig(value); return *this;}
310 
317  inline Workforce& WithCognitoConfig(CognitoConfig&& value) { SetCognitoConfig(std::move(value)); return *this;}
318 
319 
323  inline const OidcConfigForResponse& GetOidcConfig() const{ return m_oidcConfig; }
324 
328  inline bool OidcConfigHasBeenSet() const { return m_oidcConfigHasBeenSet; }
329 
333  inline void SetOidcConfig(const OidcConfigForResponse& value) { m_oidcConfigHasBeenSet = true; m_oidcConfig = value; }
334 
338  inline void SetOidcConfig(OidcConfigForResponse&& value) { m_oidcConfigHasBeenSet = true; m_oidcConfig = std::move(value); }
339 
343  inline Workforce& WithOidcConfig(const OidcConfigForResponse& value) { SetOidcConfig(value); return *this;}
344 
348  inline Workforce& WithOidcConfig(OidcConfigForResponse&& value) { SetOidcConfig(std::move(value)); return *this;}
349 
350 
354  inline const Aws::Utils::DateTime& GetCreateDate() const{ return m_createDate; }
355 
359  inline bool CreateDateHasBeenSet() const { return m_createDateHasBeenSet; }
360 
364  inline void SetCreateDate(const Aws::Utils::DateTime& value) { m_createDateHasBeenSet = true; m_createDate = value; }
365 
369  inline void SetCreateDate(Aws::Utils::DateTime&& value) { m_createDateHasBeenSet = true; m_createDate = std::move(value); }
370 
374  inline Workforce& WithCreateDate(const Aws::Utils::DateTime& value) { SetCreateDate(value); return *this;}
375 
379  inline Workforce& WithCreateDate(Aws::Utils::DateTime&& value) { SetCreateDate(std::move(value)); return *this;}
380 
381  private:
382 
383  Aws::String m_workforceName;
384  bool m_workforceNameHasBeenSet;
385 
386  Aws::String m_workforceArn;
387  bool m_workforceArnHasBeenSet;
388 
389  Aws::Utils::DateTime m_lastUpdatedDate;
390  bool m_lastUpdatedDateHasBeenSet;
391 
392  SourceIpConfig m_sourceIpConfig;
393  bool m_sourceIpConfigHasBeenSet;
394 
395  Aws::String m_subDomain;
396  bool m_subDomainHasBeenSet;
397 
398  CognitoConfig m_cognitoConfig;
399  bool m_cognitoConfigHasBeenSet;
400 
401  OidcConfigForResponse m_oidcConfig;
402  bool m_oidcConfigHasBeenSet;
403 
404  Aws::Utils::DateTime m_createDate;
405  bool m_createDateHasBeenSet;
406  };
407 
408 } // namespace Model
409 } // namespace SageMaker
410 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SageMaker::Model::OidcConfigForResponse
Definition: OidcConfigForResponse.h:32
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::Workforce::GetWorkforceName
const Aws::String & GetWorkforceName() const
Definition: Workforce.h:53
Aws::SageMaker::Model::Workforce::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
SageMaker_EXPORTS.h
Aws::SageMaker::Model::Workforce::WithWorkforceArn
Workforce & WithWorkforceArn(Aws::String &&value)
Definition: Workforce.h:124
Aws::SageMaker::Model::Workforce::GetSubDomain
const Aws::String & GetSubDomain() const
Definition: Workforce.h:233
Aws::SageMaker::Model::Workforce::LastUpdatedDateHasBeenSet
bool LastUpdatedDateHasBeenSet() const
Definition: Workforce.h:146
Aws::SageMaker::Model::Workforce::WithCreateDate
Workforce & WithCreateDate(Aws::Utils::DateTime &&value)
Definition: Workforce.h:379
Aws::SageMaker::Model::Workforce::SetLastUpdatedDate
void SetLastUpdatedDate(Aws::Utils::DateTime &&value)
Definition: Workforce.h:162
Aws::SageMaker::Model::Workforce::WithLastUpdatedDate
Workforce & WithLastUpdatedDate(const Aws::Utils::DateTime &value)
Definition: Workforce.h:170
Aws::SageMaker::Model::Workforce::SetWorkforceName
void SetWorkforceName(const Aws::String &value)
Definition: Workforce.h:63
Aws::SageMaker::Model::Workforce::SetSourceIpConfig
void SetSourceIpConfig(SourceIpConfig &&value)
Definition: Workforce.h:211
DateTime.h
Aws::SageMaker::Model::Workforce::GetSourceIpConfig
const SourceIpConfig & GetSourceIpConfig() const
Definition: Workforce.h:187
Aws::SageMaker::Model::Workforce::CreateDateHasBeenSet
bool CreateDateHasBeenSet() const
Definition: Workforce.h:359
Aws::SageMaker::Model::Workforce::operator=
Workforce & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::Workforce::SetOidcConfig
void SetOidcConfig(OidcConfigForResponse &&value)
Definition: Workforce.h:338
Aws::SageMaker::Model::SourceIpConfig
Definition: SourceIpConfig.h:38
Aws::SageMaker::Model::Workforce::SetSourceIpConfig
void SetSourceIpConfig(const SourceIpConfig &value)
Definition: Workforce.h:203
Aws::SageMaker::Model::Workforce::WithWorkforceName
Workforce & WithWorkforceName(Aws::String &&value)
Definition: Workforce.h:83
Aws::SageMaker::Model::Workforce::WithSourceIpConfig
Workforce & WithSourceIpConfig(const SourceIpConfig &value)
Definition: Workforce.h:219
Aws::SageMaker::Model::Workforce::WithSubDomain
Workforce & WithSubDomain(Aws::String &&value)
Definition: Workforce.h:263
Aws::SageMaker::Model::Workforce::SetLastUpdatedDate
void SetLastUpdatedDate(const Aws::Utils::DateTime &value)
Definition: Workforce.h:154
Aws::SageMaker::Model::Workforce::SetOidcConfig
void SetOidcConfig(const OidcConfigForResponse &value)
Definition: Workforce.h:333
Aws::SageMaker::Model::Workforce::Workforce
Workforce(Aws::Utils::Json::JsonView jsonValue)
SourceIpConfig.h
Aws::SageMaker::Model::Workforce::WithWorkforceName
Workforce & WithWorkforceName(const char *value)
Definition: Workforce.h:88
Aws::SageMaker::Model::Workforce::SetSubDomain
void SetSubDomain(Aws::String &&value)
Definition: Workforce.h:248
Aws::SageMaker::Model::Workforce::WithCreateDate
Workforce & WithCreateDate(const Aws::Utils::DateTime &value)
Definition: Workforce.h:374
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::Workforce::WithSourceIpConfig
Workforce & WithSourceIpConfig(SourceIpConfig &&value)
Definition: Workforce.h:227
Aws::SageMaker::Model::Workforce::GetLastUpdatedDate
const Aws::Utils::DateTime & GetLastUpdatedDate() const
Definition: Workforce.h:138
Aws::SageMaker::Model::Workforce::SetSubDomain
void SetSubDomain(const Aws::String &value)
Definition: Workforce.h:243
Aws::SageMaker::Model::Workforce::GetCognitoConfig
const CognitoConfig & GetCognitoConfig() const
Definition: Workforce.h:277
Aws::SageMaker::Model::Workforce::WithSubDomain
Workforce & WithSubDomain(const Aws::String &value)
Definition: Workforce.h:258
Aws::SageMaker::Model::Workforce::WithLastUpdatedDate
Workforce & WithLastUpdatedDate(Aws::Utils::DateTime &&value)
Definition: Workforce.h:178
Aws::SageMaker::Model::Workforce::SetWorkforceArn
void SetWorkforceArn(Aws::String &&value)
Definition: Workforce.h:109
Aws::SageMaker::Model::Workforce::SetCognitoConfig
void SetCognitoConfig(const CognitoConfig &value)
Definition: Workforce.h:293
Aws::SageMaker::Model::Workforce::WithWorkforceArn
Workforce & WithWorkforceArn(const Aws::String &value)
Definition: Workforce.h:119
Aws::SageMaker::Model::Workforce::GetWorkforceArn
const Aws::String & GetWorkforceArn() const
Definition: Workforce.h:94
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::SageMaker::Model::Workforce::WithWorkforceName
Workforce & WithWorkforceName(const Aws::String &value)
Definition: Workforce.h:78
AWSString.h
Aws::SageMaker::Model::Workforce::WithSubDomain
Workforce & WithSubDomain(const char *value)
Definition: Workforce.h:268
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::Workforce::GetCreateDate
const Aws::Utils::DateTime & GetCreateDate() const
Definition: Workforce.h:354
Aws::SageMaker::Model::Workforce::SetCreateDate
void SetCreateDate(Aws::Utils::DateTime &&value)
Definition: Workforce.h:369
Aws::SageMaker::Model::Workforce::WithOidcConfig
Workforce & WithOidcConfig(OidcConfigForResponse &&value)
Definition: Workforce.h:348
Aws::SageMaker::Model::Workforce::WithOidcConfig
Workforce & WithOidcConfig(const OidcConfigForResponse &value)
Definition: Workforce.h:343
Aws::SageMaker::Model::Workforce::CognitoConfigHasBeenSet
bool CognitoConfigHasBeenSet() const
Definition: Workforce.h:285
Aws::SageMaker::Model::Workforce::SetWorkforceName
void SetWorkforceName(const char *value)
Definition: Workforce.h:73
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
OidcConfigForResponse.h
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::Workforce::WorkforceArnHasBeenSet
bool WorkforceArnHasBeenSet() const
Definition: Workforce.h:99
Aws::SageMaker::Model::Workforce::SetCognitoConfig
void SetCognitoConfig(CognitoConfig &&value)
Definition: Workforce.h:301
Aws::SageMaker::Model::CognitoConfig
Definition: CognitoConfig.h:35
Aws::SageMaker::Model::Workforce::OidcConfigHasBeenSet
bool OidcConfigHasBeenSet() const
Definition: Workforce.h:328
CognitoConfig.h
Aws::SageMaker::Model::Workforce::SetCreateDate
void SetCreateDate(const Aws::Utils::DateTime &value)
Definition: Workforce.h:364
Aws::SageMaker::Model::Workforce::Workforce
Workforce()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::Workforce::SetSubDomain
void SetSubDomain(const char *value)
Definition: Workforce.h:253
Aws::SageMaker::Model::Workforce::WithWorkforceArn
Workforce & WithWorkforceArn(const char *value)
Definition: Workforce.h:129
Aws::SageMaker::Model::Workforce::GetOidcConfig
const OidcConfigForResponse & GetOidcConfig() const
Definition: Workforce.h:323
Aws::SageMaker::Model::Workforce::WithCognitoConfig
Workforce & WithCognitoConfig(const CognitoConfig &value)
Definition: Workforce.h:309
Aws::SageMaker::Model::Workforce::SetWorkforceName
void SetWorkforceName(Aws::String &&value)
Definition: Workforce.h:68
Aws::SageMaker::Model::Workforce::SourceIpConfigHasBeenSet
bool SourceIpConfigHasBeenSet() const
Definition: Workforce.h:195
Aws::SageMaker::Model::Workforce::SetWorkforceArn
void SetWorkforceArn(const Aws::String &value)
Definition: Workforce.h:104
Aws::SageMaker::Model::Workforce::WorkforceNameHasBeenSet
bool WorkforceNameHasBeenSet() const
Definition: Workforce.h:58
Aws::SageMaker::Model::Workforce::SubDomainHasBeenSet
bool SubDomainHasBeenSet() const
Definition: Workforce.h:238
Aws::SageMaker::Model::Workforce::WithCognitoConfig
Workforce & WithCognitoConfig(CognitoConfig &&value)
Definition: Workforce.h:317
Aws::SageMaker::Model::Workforce
Definition: Workforce.h:42
Aws::SageMaker::Model::Workforce::SetWorkforceArn
void SetWorkforceArn(const char *value)
Definition: Workforce.h:114