AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
JobEventDetails.h
1
6#pragma once
7#include <aws/braket/Braket_EXPORTS.h>
8#include <aws/braket/model/JobEventType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Braket
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_BRAKET_API JobEventDetails();
40 AWS_BRAKET_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const JobEventType& GetEventType() const{ return m_eventType; }
48 inline bool EventTypeHasBeenSet() const { return m_eventTypeHasBeenSet; }
49 inline void SetEventType(const JobEventType& value) { m_eventTypeHasBeenSet = true; m_eventType = value; }
50 inline void SetEventType(JobEventType&& value) { m_eventTypeHasBeenSet = true; m_eventType = std::move(value); }
51 inline JobEventDetails& WithEventType(const JobEventType& value) { SetEventType(value); return *this;}
52 inline JobEventDetails& WithEventType(JobEventType&& value) { SetEventType(std::move(value)); return *this;}
54
56
60 inline const Aws::String& GetMessage() const{ return m_message; }
61 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
62 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
63 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
64 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
65 inline JobEventDetails& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
66 inline JobEventDetails& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
67 inline JobEventDetails& WithMessage(const char* value) { SetMessage(value); return *this;}
69
71
74 inline const Aws::Utils::DateTime& GetTimeOfEvent() const{ return m_timeOfEvent; }
75 inline bool TimeOfEventHasBeenSet() const { return m_timeOfEventHasBeenSet; }
76 inline void SetTimeOfEvent(const Aws::Utils::DateTime& value) { m_timeOfEventHasBeenSet = true; m_timeOfEvent = value; }
77 inline void SetTimeOfEvent(Aws::Utils::DateTime&& value) { m_timeOfEventHasBeenSet = true; m_timeOfEvent = std::move(value); }
78 inline JobEventDetails& WithTimeOfEvent(const Aws::Utils::DateTime& value) { SetTimeOfEvent(value); return *this;}
79 inline JobEventDetails& WithTimeOfEvent(Aws::Utils::DateTime&& value) { SetTimeOfEvent(std::move(value)); return *this;}
81 private:
82
83 JobEventType m_eventType;
84 bool m_eventTypeHasBeenSet = false;
85
86 Aws::String m_message;
87 bool m_messageHasBeenSet = false;
88
89 Aws::Utils::DateTime m_timeOfEvent;
90 bool m_timeOfEventHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace Braket
95} // namespace Aws
void SetEventType(JobEventType &&value)
void SetMessage(const Aws::String &value)
const JobEventType & GetEventType() const
AWS_BRAKET_API JobEventDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
JobEventDetails & WithTimeOfEvent(const Aws::Utils::DateTime &value)
JobEventDetails & WithTimeOfEvent(Aws::Utils::DateTime &&value)
void SetMessage(const char *value)
AWS_BRAKET_API JobEventDetails(Aws::Utils::Json::JsonView jsonValue)
JobEventDetails & WithEventType(JobEventType &&value)
void SetTimeOfEvent(const Aws::Utils::DateTime &value)
void SetMessage(Aws::String &&value)
JobEventDetails & WithMessage(const Aws::String &value)
void SetEventType(const JobEventType &value)
const Aws::Utils::DateTime & GetTimeOfEvent() const
JobEventDetails & WithMessage(Aws::String &&value)
JobEventDetails & WithEventType(const JobEventType &value)
AWS_BRAKET_API Aws::Utils::Json::JsonValue Jsonize() const
JobEventDetails & WithMessage(const char *value)
const Aws::String & GetMessage() const
void SetTimeOfEvent(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue