/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Object specifying a stream’s events. For a list of events, see Using
* Amazon EventBridge with Amazon IVS.See Also:
AWS API
* Reference
Time when the event occurred. This is an ISO 8601 timestamp; note that * this is returned as a string.
*/ inline const Aws::Utils::DateTime& GetEventTime() const{ return m_eventTime; } /** *Time when the event occurred. This is an ISO 8601 timestamp; note that * this is returned as a string.
*/ inline bool EventTimeHasBeenSet() const { return m_eventTimeHasBeenSet; } /** *Time when the event occurred. This is an ISO 8601 timestamp; note that * this is returned as a string.
*/ inline void SetEventTime(const Aws::Utils::DateTime& value) { m_eventTimeHasBeenSet = true; m_eventTime = value; } /** *Time when the event occurred. This is an ISO 8601 timestamp; note that * this is returned as a string.
*/ inline void SetEventTime(Aws::Utils::DateTime&& value) { m_eventTimeHasBeenSet = true; m_eventTime = std::move(value); } /** *Time when the event occurred. This is an ISO 8601 timestamp; note that * this is returned as a string.
*/ inline StreamEvent& WithEventTime(const Aws::Utils::DateTime& value) { SetEventTime(value); return *this;} /** *Time when the event occurred. This is an ISO 8601 timestamp; note that * this is returned as a string.
*/ inline StreamEvent& WithEventTime(Aws::Utils::DateTime&& value) { SetEventTime(std::move(value)); return *this;} /** *Name that identifies the stream event within a type
.
Name that identifies the stream event within a type
.
Name that identifies the stream event within a type
.
Name that identifies the stream event within a type
.
Name that identifies the stream event within a type
.
Name that identifies the stream event within a type
.
Name that identifies the stream event within a type
.
Name that identifies the stream event within a type
.
Logical group for certain events.
*/ inline const Aws::String& GetType() const{ return m_type; } /** *Logical group for certain events.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *Logical group for certain events.
*/ inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; } /** *Logical group for certain events.
*/ inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *Logical group for certain events.
*/ inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); } /** *Logical group for certain events.
*/ inline StreamEvent& WithType(const Aws::String& value) { SetType(value); return *this;} /** *Logical group for certain events.
*/ inline StreamEvent& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;} /** *Logical group for certain events.
*/ inline StreamEvent& WithType(const char* value) { SetType(value); return *this;} private: Aws::Utils::DateTime m_eventTime; bool m_eventTimeHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_type; bool m_typeHasBeenSet = false; }; } // namespace Model } // namespace IVS } // namespace Aws