AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
UpdateWorkforceResult.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/Workforce.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace SageMaker
25{
26namespace Model
27{
29 {
30 public:
31 AWS_SAGEMAKER_API UpdateWorkforceResult() = default;
34
35
37
45 inline const Workforce& GetWorkforce() const { return m_workforce; }
46 template<typename WorkforceT = Workforce>
47 void SetWorkforce(WorkforceT&& value) { m_workforceHasBeenSet = true; m_workforce = std::forward<WorkforceT>(value); }
48 template<typename WorkforceT = Workforce>
49 UpdateWorkforceResult& WithWorkforce(WorkforceT&& value) { SetWorkforce(std::forward<WorkforceT>(value)); return *this;}
51
53
54 inline const Aws::String& GetRequestId() const { return m_requestId; }
55 template<typename RequestIdT = Aws::String>
56 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
57 template<typename RequestIdT = Aws::String>
58 UpdateWorkforceResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
60 private:
61
62 Workforce m_workforce;
63 bool m_workforceHasBeenSet = false;
64
65 Aws::String m_requestId;
66 bool m_requestIdHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace SageMaker
71} // namespace Aws
AWS_SAGEMAKER_API UpdateWorkforceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateWorkforceResult & WithWorkforce(WorkforceT &&value)
UpdateWorkforceResult & WithRequestId(RequestIdT &&value)
AWS_SAGEMAKER_API UpdateWorkforceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SAGEMAKER_API UpdateWorkforceResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue