AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetInferenceSchedulerArn(const Aws::String& value) { m_inferenceSchedulerArnHasBeenSet = true; m_inferenceSchedulerArn = value; }
51 inline void SetInferenceSchedulerArn(Aws::String&& value) { m_inferenceSchedulerArnHasBeenSet = true; m_inferenceSchedulerArn = std::move(value); }
52 inline void SetInferenceSchedulerArn(const char* value) { m_inferenceSchedulerArnHasBeenSet = true; m_inferenceSchedulerArn.assign(value); }
54 inline InferenceEventSummary& WithInferenceSchedulerArn(Aws::String&& value) { SetInferenceSchedulerArn(std::move(value)); return *this;}
55 inline InferenceEventSummary& WithInferenceSchedulerArn(const char* value) { SetInferenceSchedulerArn(value); return *this;}
57
59
62 inline const Aws::String& GetInferenceSchedulerName() const{ return m_inferenceSchedulerName; }
63 inline bool InferenceSchedulerNameHasBeenSet() const { return m_inferenceSchedulerNameHasBeenSet; }
64 inline void SetInferenceSchedulerName(const Aws::String& value) { m_inferenceSchedulerNameHasBeenSet = true; m_inferenceSchedulerName = value; }
65 inline void SetInferenceSchedulerName(Aws::String&& value) { m_inferenceSchedulerNameHasBeenSet = true; m_inferenceSchedulerName = std::move(value); }
66 inline void SetInferenceSchedulerName(const char* value) { m_inferenceSchedulerNameHasBeenSet = true; m_inferenceSchedulerName.assign(value); }
69 inline InferenceEventSummary& WithInferenceSchedulerName(const char* value) { SetInferenceSchedulerName(value); return *this;}
71
73
76 inline const Aws::Utils::DateTime& GetEventStartTime() const{ return m_eventStartTime; }
77 inline bool EventStartTimeHasBeenSet() const { return m_eventStartTimeHasBeenSet; }
78 inline void SetEventStartTime(const Aws::Utils::DateTime& value) { m_eventStartTimeHasBeenSet = true; m_eventStartTime = value; }
79 inline void SetEventStartTime(Aws::Utils::DateTime&& value) { m_eventStartTimeHasBeenSet = true; m_eventStartTime = std::move(value); }
81 inline InferenceEventSummary& WithEventStartTime(Aws::Utils::DateTime&& value) { SetEventStartTime(std::move(value)); return *this;}
83
85
88 inline const Aws::Utils::DateTime& GetEventEndTime() const{ return m_eventEndTime; }
89 inline bool EventEndTimeHasBeenSet() const { return m_eventEndTimeHasBeenSet; }
90 inline void SetEventEndTime(const Aws::Utils::DateTime& value) { m_eventEndTimeHasBeenSet = true; m_eventEndTime = value; }
91 inline void SetEventEndTime(Aws::Utils::DateTime&& value) { m_eventEndTimeHasBeenSet = true; m_eventEndTime = std::move(value); }
92 inline InferenceEventSummary& WithEventEndTime(const Aws::Utils::DateTime& value) { SetEventEndTime(value); return *this;}
93 inline InferenceEventSummary& WithEventEndTime(Aws::Utils::DateTime&& value) { SetEventEndTime(std::move(value)); return *this;}
95
97
101 inline const Aws::String& GetDiagnostics() const{ return m_diagnostics; }
102 inline bool DiagnosticsHasBeenSet() const { return m_diagnosticsHasBeenSet; }
103 inline void SetDiagnostics(const Aws::String& value) { m_diagnosticsHasBeenSet = true; m_diagnostics = value; }
104 inline void SetDiagnostics(Aws::String&& value) { m_diagnosticsHasBeenSet = true; m_diagnostics = std::move(value); }
105 inline void SetDiagnostics(const char* value) { m_diagnosticsHasBeenSet = true; m_diagnostics.assign(value); }
106 inline InferenceEventSummary& WithDiagnostics(const Aws::String& value) { SetDiagnostics(value); return *this;}
107 inline InferenceEventSummary& WithDiagnostics(Aws::String&& value) { SetDiagnostics(std::move(value)); return *this;}
108 inline InferenceEventSummary& WithDiagnostics(const char* value) { SetDiagnostics(value); return *this;}
110
112
115 inline long long GetEventDurationInSeconds() const{ return m_eventDurationInSeconds; }
116 inline bool EventDurationInSecondsHasBeenSet() const { return m_eventDurationInSecondsHasBeenSet; }
117 inline void SetEventDurationInSeconds(long long value) { m_eventDurationInSecondsHasBeenSet = true; m_eventDurationInSeconds = value; }
118 inline InferenceEventSummary& WithEventDurationInSeconds(long long value) { SetEventDurationInSeconds(value); return *this;}
120 private:
121
122 Aws::String m_inferenceSchedulerArn;
123 bool m_inferenceSchedulerArnHasBeenSet = false;
124
125 Aws::String m_inferenceSchedulerName;
126 bool m_inferenceSchedulerNameHasBeenSet = false;
127
128 Aws::Utils::DateTime m_eventStartTime;
129 bool m_eventStartTimeHasBeenSet = false;
130
131 Aws::Utils::DateTime m_eventEndTime;
132 bool m_eventEndTimeHasBeenSet = false;
133
134 Aws::String m_diagnostics;
135 bool m_diagnosticsHasBeenSet = false;
136
137 long long m_eventDurationInSeconds;
138 bool m_eventDurationInSecondsHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace LookoutEquipment
143} // namespace Aws
InferenceEventSummary & WithEventDurationInSeconds(long long value)
const Aws::Utils::DateTime & GetEventStartTime() const
AWS_LOOKOUTEQUIPMENT_API InferenceEventSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
InferenceEventSummary & WithInferenceSchedulerArn(Aws::String &&value)
void SetEventStartTime(const Aws::Utils::DateTime &value)
InferenceEventSummary & WithEventStartTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetEventEndTime() const
InferenceEventSummary & WithInferenceSchedulerArn(const char *value)
InferenceEventSummary & WithInferenceSchedulerName(Aws::String &&value)
InferenceEventSummary & WithInferenceSchedulerArn(const Aws::String &value)
InferenceEventSummary & WithEventEndTime(const Aws::Utils::DateTime &value)
AWS_LOOKOUTEQUIPMENT_API InferenceEventSummary(Aws::Utils::Json::JsonView jsonValue)
InferenceEventSummary & WithDiagnostics(Aws::String &&value)
InferenceEventSummary & WithEventStartTime(Aws::Utils::DateTime &&value)
AWS_LOOKOUTEQUIPMENT_API Aws::Utils::Json::JsonValue Jsonize() const
InferenceEventSummary & WithDiagnostics(const char *value)
InferenceEventSummary & WithInferenceSchedulerName(const Aws::String &value)
void SetEventEndTime(const Aws::Utils::DateTime &value)
InferenceEventSummary & WithDiagnostics(const Aws::String &value)
InferenceEventSummary & WithInferenceSchedulerName(const char *value)
InferenceEventSummary & WithEventEndTime(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue