/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The current state of a timer.See Also:
AWS
* API Reference
The name of the timer.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the timer.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the timer.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the timer.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the timer.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the timer.
*/ inline Timer& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the timer.
*/ inline Timer& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the timer.
*/ inline Timer& WithName(const char* value) { SetName(value); return *this;} /** *The expiration time for the timer.
*/ inline const Aws::Utils::DateTime& GetTimestamp() const{ return m_timestamp; } /** *The expiration time for the timer.
*/ inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; } /** *The expiration time for the timer.
*/ inline void SetTimestamp(const Aws::Utils::DateTime& value) { m_timestampHasBeenSet = true; m_timestamp = value; } /** *The expiration time for the timer.
*/ inline void SetTimestamp(Aws::Utils::DateTime&& value) { m_timestampHasBeenSet = true; m_timestamp = std::move(value); } /** *The expiration time for the timer.
*/ inline Timer& WithTimestamp(const Aws::Utils::DateTime& value) { SetTimestamp(value); return *this;} /** *The expiration time for the timer.
*/ inline Timer& WithTimestamp(Aws::Utils::DateTime&& value) { SetTimestamp(std::move(value)); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::Utils::DateTime m_timestamp; bool m_timestampHasBeenSet = false; }; } // namespace Model } // namespace IoTEventsData } // namespace Aws