AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TimestampValue.h
1
6#pragma once
7#include <aws/iotevents-data/IoTEventsData_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace IoTEventsData
20{
21namespace Model
22{
23
30 {
31 public:
32 AWS_IOTEVENTSDATA_API TimestampValue();
33 AWS_IOTEVENTSDATA_API TimestampValue(Aws::Utils::Json::JsonView jsonValue);
34 AWS_IOTEVENTSDATA_API TimestampValue& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_IOTEVENTSDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
36
37
39
42 inline long long GetTimeInMillis() const{ return m_timeInMillis; }
43 inline bool TimeInMillisHasBeenSet() const { return m_timeInMillisHasBeenSet; }
44 inline void SetTimeInMillis(long long value) { m_timeInMillisHasBeenSet = true; m_timeInMillis = value; }
45 inline TimestampValue& WithTimeInMillis(long long value) { SetTimeInMillis(value); return *this;}
47 private:
48
49 long long m_timeInMillis;
50 bool m_timeInMillisHasBeenSet = false;
51 };
52
53} // namespace Model
54} // namespace IoTEventsData
55} // namespace Aws
AWS_IOTEVENTSDATA_API Aws::Utils::Json::JsonValue Jsonize() const
TimestampValue & WithTimeInMillis(long long value)
AWS_IOTEVENTSDATA_API TimestampValue(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTEVENTSDATA_API TimestampValue()
AWS_IOTEVENTSDATA_API TimestampValue & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue