AWS SDK for C++

AWS SDK for C++ Version 1.11.637

Loading...
Searching...
No Matches
DescribeClusterEventResult.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/ClusterEventDetail.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 DescribeClusterEventResult() = default;
34
35
37
43 inline const ClusterEventDetail& GetEventDetails() const { return m_eventDetails; }
44 template<typename EventDetailsT = ClusterEventDetail>
45 void SetEventDetails(EventDetailsT&& value) { m_eventDetailsHasBeenSet = true; m_eventDetails = std::forward<EventDetailsT>(value); }
46 template<typename EventDetailsT = ClusterEventDetail>
47 DescribeClusterEventResult& WithEventDetails(EventDetailsT&& value) { SetEventDetails(std::forward<EventDetailsT>(value)); return *this;}
49
51
52 inline const Aws::String& GetRequestId() const { return m_requestId; }
53 template<typename RequestIdT = Aws::String>
54 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
55 template<typename RequestIdT = Aws::String>
56 DescribeClusterEventResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
58 private:
59
60 ClusterEventDetail m_eventDetails;
61 bool m_eventDetailsHasBeenSet = false;
62
63 Aws::String m_requestId;
64 bool m_requestIdHasBeenSet = false;
65 };
66
67} // namespace Model
68} // namespace SageMaker
69} // namespace Aws
DescribeClusterEventResult & WithRequestId(RequestIdT &&value)
AWS_SAGEMAKER_API DescribeClusterEventResult()=default
DescribeClusterEventResult & WithEventDetails(EventDetailsT &&value)
AWS_SAGEMAKER_API DescribeClusterEventResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SAGEMAKER_API DescribeClusterEventResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue