/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An asset property timestamp entry containing the following
* information.See Also:
AWS
* API Reference
A string that contains the time in seconds since epoch. Accepts substitution * templates.
*/ inline const Aws::String& GetTimeInSeconds() const{ return m_timeInSeconds; } /** *A string that contains the time in seconds since epoch. Accepts substitution * templates.
*/ inline bool TimeInSecondsHasBeenSet() const { return m_timeInSecondsHasBeenSet; } /** *A string that contains the time in seconds since epoch. Accepts substitution * templates.
*/ inline void SetTimeInSeconds(const Aws::String& value) { m_timeInSecondsHasBeenSet = true; m_timeInSeconds = value; } /** *A string that contains the time in seconds since epoch. Accepts substitution * templates.
*/ inline void SetTimeInSeconds(Aws::String&& value) { m_timeInSecondsHasBeenSet = true; m_timeInSeconds = std::move(value); } /** *A string that contains the time in seconds since epoch. Accepts substitution * templates.
*/ inline void SetTimeInSeconds(const char* value) { m_timeInSecondsHasBeenSet = true; m_timeInSeconds.assign(value); } /** *A string that contains the time in seconds since epoch. Accepts substitution * templates.
*/ inline AssetPropertyTimestamp& WithTimeInSeconds(const Aws::String& value) { SetTimeInSeconds(value); return *this;} /** *A string that contains the time in seconds since epoch. Accepts substitution * templates.
*/ inline AssetPropertyTimestamp& WithTimeInSeconds(Aws::String&& value) { SetTimeInSeconds(std::move(value)); return *this;} /** *A string that contains the time in seconds since epoch. Accepts substitution * templates.
*/ inline AssetPropertyTimestamp& WithTimeInSeconds(const char* value) { SetTimeInSeconds(value); return *this;} /** *Optional. A string that contains the nanosecond time offset. Accepts * substitution templates.
*/ inline const Aws::String& GetOffsetInNanos() const{ return m_offsetInNanos; } /** *Optional. A string that contains the nanosecond time offset. Accepts * substitution templates.
*/ inline bool OffsetInNanosHasBeenSet() const { return m_offsetInNanosHasBeenSet; } /** *Optional. A string that contains the nanosecond time offset. Accepts * substitution templates.
*/ inline void SetOffsetInNanos(const Aws::String& value) { m_offsetInNanosHasBeenSet = true; m_offsetInNanos = value; } /** *Optional. A string that contains the nanosecond time offset. Accepts * substitution templates.
*/ inline void SetOffsetInNanos(Aws::String&& value) { m_offsetInNanosHasBeenSet = true; m_offsetInNanos = std::move(value); } /** *Optional. A string that contains the nanosecond time offset. Accepts * substitution templates.
*/ inline void SetOffsetInNanos(const char* value) { m_offsetInNanosHasBeenSet = true; m_offsetInNanos.assign(value); } /** *Optional. A string that contains the nanosecond time offset. Accepts * substitution templates.
*/ inline AssetPropertyTimestamp& WithOffsetInNanos(const Aws::String& value) { SetOffsetInNanos(value); return *this;} /** *Optional. A string that contains the nanosecond time offset. Accepts * substitution templates.
*/ inline AssetPropertyTimestamp& WithOffsetInNanos(Aws::String&& value) { SetOffsetInNanos(std::move(value)); return *this;} /** *Optional. A string that contains the nanosecond time offset. Accepts * substitution templates.
*/ inline AssetPropertyTimestamp& WithOffsetInNanos(const char* value) { SetOffsetInNanos(value); return *this;} private: Aws::String m_timeInSeconds; bool m_timeInSecondsHasBeenSet = false; Aws::String m_offsetInNanos; bool m_offsetInNanosHasBeenSet = false; }; } // namespace Model } // namespace IoT } // namespace Aws