/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Details about the type and time events occurred related to the Amazon Braket
* job.See Also:
AWS
* API Reference
The type of event that occurred related to the Amazon Braket job.
*/ inline const JobEventType& GetEventType() const{ return m_eventType; } /** *The type of event that occurred related to the Amazon Braket job.
*/ inline bool EventTypeHasBeenSet() const { return m_eventTypeHasBeenSet; } /** *The type of event that occurred related to the Amazon Braket job.
*/ inline void SetEventType(const JobEventType& value) { m_eventTypeHasBeenSet = true; m_eventType = value; } /** *The type of event that occurred related to the Amazon Braket job.
*/ inline void SetEventType(JobEventType&& value) { m_eventTypeHasBeenSet = true; m_eventType = std::move(value); } /** *The type of event that occurred related to the Amazon Braket job.
*/ inline JobEventDetails& WithEventType(const JobEventType& value) { SetEventType(value); return *this;} /** *The type of event that occurred related to the Amazon Braket job.
*/ inline JobEventDetails& WithEventType(JobEventType&& value) { SetEventType(std::move(value)); return *this;} /** *A message describing the event that occurred related to the Amazon Braket * job.
*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *A message describing the event that occurred related to the Amazon Braket * job.
*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *A message describing the event that occurred related to the Amazon Braket * job.
*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *A message describing the event that occurred related to the Amazon Braket * job.
*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *A message describing the event that occurred related to the Amazon Braket * job.
*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *A message describing the event that occurred related to the Amazon Braket * job.
*/ inline JobEventDetails& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *A message describing the event that occurred related to the Amazon Braket * job.
*/ inline JobEventDetails& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *A message describing the event that occurred related to the Amazon Braket * job.
*/ inline JobEventDetails& WithMessage(const char* value) { SetMessage(value); return *this;} /** *TThe type of event that occurred related to the Amazon Braket job.
*/ inline const Aws::Utils::DateTime& GetTimeOfEvent() const{ return m_timeOfEvent; } /** *TThe type of event that occurred related to the Amazon Braket job.
*/ inline bool TimeOfEventHasBeenSet() const { return m_timeOfEventHasBeenSet; } /** *TThe type of event that occurred related to the Amazon Braket job.
*/ inline void SetTimeOfEvent(const Aws::Utils::DateTime& value) { m_timeOfEventHasBeenSet = true; m_timeOfEvent = value; } /** *TThe type of event that occurred related to the Amazon Braket job.
*/ inline void SetTimeOfEvent(Aws::Utils::DateTime&& value) { m_timeOfEventHasBeenSet = true; m_timeOfEvent = std::move(value); } /** *TThe type of event that occurred related to the Amazon Braket job.
*/ inline JobEventDetails& WithTimeOfEvent(const Aws::Utils::DateTime& value) { SetTimeOfEvent(value); return *this;} /** *TThe type of event that occurred related to the Amazon Braket job.
*/ inline JobEventDetails& WithTimeOfEvent(Aws::Utils::DateTime&& value) { SetTimeOfEvent(std::move(value)); return *this;} private: JobEventType m_eventType; bool m_eventTypeHasBeenSet = false; Aws::String m_message; bool m_messageHasBeenSet = false; Aws::Utils::DateTime m_timeOfEvent; bool m_timeOfEventHasBeenSet = false; }; } // namespace Model } // namespace Braket } // namespace Aws