AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
InferenceEventSummary.h
1
6#pragma once
7#include <aws/lookoutequipment/LookoutEquipment_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace LookoutEquipment
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_LOOKOUTEQUIPMENT_API InferenceEventSummary() = default;
38 AWS_LOOKOUTEQUIPMENT_API InferenceEventSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LOOKOUTEQUIPMENT_API InferenceEventSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_LOOKOUTEQUIPMENT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetInferenceSchedulerArn() const { return m_inferenceSchedulerArn; }
49 inline bool InferenceSchedulerArnHasBeenSet() const { return m_inferenceSchedulerArnHasBeenSet; }
50 template<typename InferenceSchedulerArnT = Aws::String>
51 void SetInferenceSchedulerArn(InferenceSchedulerArnT&& value) { m_inferenceSchedulerArnHasBeenSet = true; m_inferenceSchedulerArn = std::forward<InferenceSchedulerArnT>(value); }
52 template<typename InferenceSchedulerArnT = Aws::String>
53 InferenceEventSummary& WithInferenceSchedulerArn(InferenceSchedulerArnT&& value) { SetInferenceSchedulerArn(std::forward<InferenceSchedulerArnT>(value)); return *this;}
55
57
60 inline const Aws::String& GetInferenceSchedulerName() const { return m_inferenceSchedulerName; }
61 inline bool InferenceSchedulerNameHasBeenSet() const { return m_inferenceSchedulerNameHasBeenSet; }
62 template<typename InferenceSchedulerNameT = Aws::String>
63 void SetInferenceSchedulerName(InferenceSchedulerNameT&& value) { m_inferenceSchedulerNameHasBeenSet = true; m_inferenceSchedulerName = std::forward<InferenceSchedulerNameT>(value); }
64 template<typename InferenceSchedulerNameT = Aws::String>
65 InferenceEventSummary& WithInferenceSchedulerName(InferenceSchedulerNameT&& value) { SetInferenceSchedulerName(std::forward<InferenceSchedulerNameT>(value)); return *this;}
67
69
72 inline const Aws::Utils::DateTime& GetEventStartTime() const { return m_eventStartTime; }
73 inline bool EventStartTimeHasBeenSet() const { return m_eventStartTimeHasBeenSet; }
74 template<typename EventStartTimeT = Aws::Utils::DateTime>
75 void SetEventStartTime(EventStartTimeT&& value) { m_eventStartTimeHasBeenSet = true; m_eventStartTime = std::forward<EventStartTimeT>(value); }
76 template<typename EventStartTimeT = Aws::Utils::DateTime>
77 InferenceEventSummary& WithEventStartTime(EventStartTimeT&& value) { SetEventStartTime(std::forward<EventStartTimeT>(value)); return *this;}
79
81
84 inline const Aws::Utils::DateTime& GetEventEndTime() const { return m_eventEndTime; }
85 inline bool EventEndTimeHasBeenSet() const { return m_eventEndTimeHasBeenSet; }
86 template<typename EventEndTimeT = Aws::Utils::DateTime>
87 void SetEventEndTime(EventEndTimeT&& value) { m_eventEndTimeHasBeenSet = true; m_eventEndTime = std::forward<EventEndTimeT>(value); }
88 template<typename EventEndTimeT = Aws::Utils::DateTime>
89 InferenceEventSummary& WithEventEndTime(EventEndTimeT&& value) { SetEventEndTime(std::forward<EventEndTimeT>(value)); return *this;}
91
93
97 inline const Aws::String& GetDiagnostics() const { return m_diagnostics; }
98 inline bool DiagnosticsHasBeenSet() const { return m_diagnosticsHasBeenSet; }
99 template<typename DiagnosticsT = Aws::String>
100 void SetDiagnostics(DiagnosticsT&& value) { m_diagnosticsHasBeenSet = true; m_diagnostics = std::forward<DiagnosticsT>(value); }
101 template<typename DiagnosticsT = Aws::String>
102 InferenceEventSummary& WithDiagnostics(DiagnosticsT&& value) { SetDiagnostics(std::forward<DiagnosticsT>(value)); return *this;}
104
106
109 inline long long GetEventDurationInSeconds() const { return m_eventDurationInSeconds; }
110 inline bool EventDurationInSecondsHasBeenSet() const { return m_eventDurationInSecondsHasBeenSet; }
111 inline void SetEventDurationInSeconds(long long value) { m_eventDurationInSecondsHasBeenSet = true; m_eventDurationInSeconds = value; }
112 inline InferenceEventSummary& WithEventDurationInSeconds(long long value) { SetEventDurationInSeconds(value); return *this;}
114 private:
115
116 Aws::String m_inferenceSchedulerArn;
117 bool m_inferenceSchedulerArnHasBeenSet = false;
118
119 Aws::String m_inferenceSchedulerName;
120 bool m_inferenceSchedulerNameHasBeenSet = false;
121
122 Aws::Utils::DateTime m_eventStartTime{};
123 bool m_eventStartTimeHasBeenSet = false;
124
125 Aws::Utils::DateTime m_eventEndTime{};
126 bool m_eventEndTimeHasBeenSet = false;
127
128 Aws::String m_diagnostics;
129 bool m_diagnosticsHasBeenSet = false;
130
131 long long m_eventDurationInSeconds{0};
132 bool m_eventDurationInSecondsHasBeenSet = false;
133 };
134
135} // namespace Model
136} // namespace LookoutEquipment
137} // namespace Aws
InferenceEventSummary & WithEventDurationInSeconds(long long value)
const Aws::Utils::DateTime & GetEventStartTime() const
InferenceEventSummary & WithInferenceSchedulerArn(InferenceSchedulerArnT &&value)
AWS_LOOKOUTEQUIPMENT_API InferenceEventSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetInferenceSchedulerName(InferenceSchedulerNameT &&value)
AWS_LOOKOUTEQUIPMENT_API InferenceEventSummary()=default
void SetInferenceSchedulerArn(InferenceSchedulerArnT &&value)
const Aws::Utils::DateTime & GetEventEndTime() const
InferenceEventSummary & WithEventEndTime(EventEndTimeT &&value)
AWS_LOOKOUTEQUIPMENT_API InferenceEventSummary(Aws::Utils::Json::JsonView jsonValue)
InferenceEventSummary & WithDiagnostics(DiagnosticsT &&value)
AWS_LOOKOUTEQUIPMENT_API Aws::Utils::Json::JsonValue Jsonize() const
InferenceEventSummary & WithEventStartTime(EventStartTimeT &&value)
InferenceEventSummary & WithInferenceSchedulerName(InferenceSchedulerNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue