AWS SDK for C++  1.9.159
AWS SDK for C++
UpdateWorkforceResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace SageMaker
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
43  inline const Workforce& GetWorkforce() const{ return m_workforce; }
44 
53  inline void SetWorkforce(const Workforce& value) { m_workforce = value; }
54 
63  inline void SetWorkforce(Workforce&& value) { m_workforce = std::move(value); }
64 
73  inline UpdateWorkforceResult& WithWorkforce(const Workforce& value) { SetWorkforce(value); return *this;}
74 
83  inline UpdateWorkforceResult& WithWorkforce(Workforce&& value) { SetWorkforce(std::move(value)); return *this;}
84 
85  private:
86 
87  Workforce m_workforce;
88  };
89 
90 } // namespace Model
91 } // namespace SageMaker
92 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
SageMaker_EXPORTS.h
Workforce.h
Aws::SageMaker::Model::UpdateWorkforceResult::WithWorkforce
UpdateWorkforceResult & WithWorkforce(Workforce &&value)
Definition: UpdateWorkforceResult.h:83
Aws::SageMaker::Model::UpdateWorkforceResult::UpdateWorkforceResult
UpdateWorkforceResult()
Aws::SageMaker::Model::UpdateWorkforceResult::SetWorkforce
void SetWorkforce(const Workforce &value)
Definition: UpdateWorkforceResult.h:53
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::UpdateWorkforceResult::SetWorkforce
void SetWorkforce(Workforce &&value)
Definition: UpdateWorkforceResult.h:63
Aws::SageMaker::Model::UpdateWorkforceResult::WithWorkforce
UpdateWorkforceResult & WithWorkforce(const Workforce &value)
Definition: UpdateWorkforceResult.h:73
Aws::SageMaker::Model::UpdateWorkforceResult::GetWorkforce
const Workforce & GetWorkforce() const
Definition: UpdateWorkforceResult.h:43
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::UpdateWorkforceResult
Definition: UpdateWorkforceResult.h:28
Aws::SageMaker::Model::UpdateWorkforceResult::operator=
UpdateWorkforceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SageMaker::Model::UpdateWorkforceResult::UpdateWorkforceResult
UpdateWorkforceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SageMaker::Model::Workforce
Definition: Workforce.h:42