AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteWorkteamResult.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace SageMaker
24{
25namespace Model
26{
28 {
29 public:
30 AWS_SAGEMAKER_API DeleteWorkteamResult();
33
34
36
40 inline bool GetSuccess() const{ return m_success; }
41 inline void SetSuccess(bool value) { m_success = value; }
42 inline DeleteWorkteamResult& WithSuccess(bool value) { SetSuccess(value); return *this;}
44
46
47 inline const Aws::String& GetRequestId() const{ return m_requestId; }
48 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
49 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
50 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
51 inline DeleteWorkteamResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
52 inline DeleteWorkteamResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
53 inline DeleteWorkteamResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
55 private:
56
57 bool m_success;
58
59 Aws::String m_requestId;
60 };
61
62} // namespace Model
63} // namespace SageMaker
64} // namespace Aws
AWS_SAGEMAKER_API DeleteWorkteamResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SAGEMAKER_API DeleteWorkteamResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteWorkteamResult & WithRequestId(const Aws::String &value)
DeleteWorkteamResult & WithRequestId(const char *value)
DeleteWorkteamResult & WithRequestId(Aws::String &&value)
DeleteWorkteamResult & WithSuccess(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue