/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A structure that contains timestamp information. For more information, see TimeInNanos
* in the AWS IoT SiteWise API Reference. You must use expressions
* for all parameters in Examples For literal
* values, the expressions must contain single quotes. For example, the value for
* the For references, you must specify either variables or input values.
* For example, the value for the For a substitution template, you
* must use In the following
* example, the value for the
* For more information, see Expressions
* in the AWS IoT Events Developer Guide.AssetPropertyTimestamp
. The expressions
* accept literals, operators, functions, references, and substitution
* templates.
timeInSeconds
parameter can be '1586400675'
.offsetInNanos
parameter can be
* $variable.time
.${}
, and the template must be in single quotes. A
* substitution template can also contain a combination of literals, operators,
* functions, references, and substitution templates.timeInSeconds
parameter uses a
* substitution template.'${$input.TemperatureInput.sensorData.timestamp / 1000}'
See Also:
AWS
* API Reference
The timestamp, in seconds, in the Unix epoch format. The valid range is * between 1-31556889864403199.
*/ inline const Aws::String& GetTimeInSeconds() const{ return m_timeInSeconds; } /** *The timestamp, in seconds, in the Unix epoch format. The valid range is * between 1-31556889864403199.
*/ inline bool TimeInSecondsHasBeenSet() const { return m_timeInSecondsHasBeenSet; } /** *The timestamp, in seconds, in the Unix epoch format. The valid range is * between 1-31556889864403199.
*/ inline void SetTimeInSeconds(const Aws::String& value) { m_timeInSecondsHasBeenSet = true; m_timeInSeconds = value; } /** *The timestamp, in seconds, in the Unix epoch format. The valid range is * between 1-31556889864403199.
*/ inline void SetTimeInSeconds(Aws::String&& value) { m_timeInSecondsHasBeenSet = true; m_timeInSeconds = std::move(value); } /** *The timestamp, in seconds, in the Unix epoch format. The valid range is * between 1-31556889864403199.
*/ inline void SetTimeInSeconds(const char* value) { m_timeInSecondsHasBeenSet = true; m_timeInSeconds.assign(value); } /** *The timestamp, in seconds, in the Unix epoch format. The valid range is * between 1-31556889864403199.
*/ inline AssetPropertyTimestamp& WithTimeInSeconds(const Aws::String& value) { SetTimeInSeconds(value); return *this;} /** *The timestamp, in seconds, in the Unix epoch format. The valid range is * between 1-31556889864403199.
*/ inline AssetPropertyTimestamp& WithTimeInSeconds(Aws::String&& value) { SetTimeInSeconds(std::move(value)); return *this;} /** *The timestamp, in seconds, in the Unix epoch format. The valid range is * between 1-31556889864403199.
*/ inline AssetPropertyTimestamp& WithTimeInSeconds(const char* value) { SetTimeInSeconds(value); return *this;} /** *The nanosecond offset converted from timeInSeconds
. The valid
* range is between 0-999999999.
The nanosecond offset converted from timeInSeconds
. The valid
* range is between 0-999999999.
The nanosecond offset converted from timeInSeconds
. The valid
* range is between 0-999999999.
The nanosecond offset converted from timeInSeconds
. The valid
* range is between 0-999999999.
The nanosecond offset converted from timeInSeconds
. The valid
* range is between 0-999999999.
The nanosecond offset converted from timeInSeconds
. The valid
* range is between 0-999999999.
The nanosecond offset converted from timeInSeconds
. The valid
* range is between 0-999999999.
The nanosecond offset converted from timeInSeconds
. The valid
* range is between 0-999999999.