AWS SDK for C++

AWS SDK for C++ Version 1.11.637

Loading...
Searching...
No Matches
EventDetails.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/EventMetadata.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SageMaker
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SAGEMAKER_API EventDetails() = default;
36 AWS_SAGEMAKER_API EventDetails(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SAGEMAKER_API EventDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const EventMetadata& GetEventMetadata() const { return m_eventMetadata; }
47 inline bool EventMetadataHasBeenSet() const { return m_eventMetadataHasBeenSet; }
48 template<typename EventMetadataT = EventMetadata>
49 void SetEventMetadata(EventMetadataT&& value) { m_eventMetadataHasBeenSet = true; m_eventMetadata = std::forward<EventMetadataT>(value); }
50 template<typename EventMetadataT = EventMetadata>
51 EventDetails& WithEventMetadata(EventMetadataT&& value) { SetEventMetadata(std::forward<EventMetadataT>(value)); return *this;}
53 private:
54
55 EventMetadata m_eventMetadata;
56 bool m_eventMetadataHasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace SageMaker
61} // namespace Aws
AWS_SAGEMAKER_API EventDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API EventDetails()=default
void SetEventMetadata(EventMetadataT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const EventMetadata & GetEventMetadata() const
EventDetails & WithEventMetadata(EventMetadataT &&value)
AWS_SAGEMAKER_API EventDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue