AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssetPropertyTimestamp.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoT
22{
23namespace Model
24{
25
33 {
34 public:
39
40
42
46 inline const Aws::String& GetTimeInSeconds() const{ return m_timeInSeconds; }
47 inline bool TimeInSecondsHasBeenSet() const { return m_timeInSecondsHasBeenSet; }
48 inline void SetTimeInSeconds(const Aws::String& value) { m_timeInSecondsHasBeenSet = true; m_timeInSeconds = value; }
49 inline void SetTimeInSeconds(Aws::String&& value) { m_timeInSecondsHasBeenSet = true; m_timeInSeconds = std::move(value); }
50 inline void SetTimeInSeconds(const char* value) { m_timeInSecondsHasBeenSet = true; m_timeInSeconds.assign(value); }
51 inline AssetPropertyTimestamp& WithTimeInSeconds(const Aws::String& value) { SetTimeInSeconds(value); return *this;}
52 inline AssetPropertyTimestamp& WithTimeInSeconds(Aws::String&& value) { SetTimeInSeconds(std::move(value)); return *this;}
53 inline AssetPropertyTimestamp& WithTimeInSeconds(const char* value) { SetTimeInSeconds(value); return *this;}
55
57
61 inline const Aws::String& GetOffsetInNanos() const{ return m_offsetInNanos; }
62 inline bool OffsetInNanosHasBeenSet() const { return m_offsetInNanosHasBeenSet; }
63 inline void SetOffsetInNanos(const Aws::String& value) { m_offsetInNanosHasBeenSet = true; m_offsetInNanos = value; }
64 inline void SetOffsetInNanos(Aws::String&& value) { m_offsetInNanosHasBeenSet = true; m_offsetInNanos = std::move(value); }
65 inline void SetOffsetInNanos(const char* value) { m_offsetInNanosHasBeenSet = true; m_offsetInNanos.assign(value); }
66 inline AssetPropertyTimestamp& WithOffsetInNanos(const Aws::String& value) { SetOffsetInNanos(value); return *this;}
67 inline AssetPropertyTimestamp& WithOffsetInNanos(Aws::String&& value) { SetOffsetInNanos(std::move(value)); return *this;}
68 inline AssetPropertyTimestamp& WithOffsetInNanos(const char* value) { SetOffsetInNanos(value); return *this;}
70 private:
71
72 Aws::String m_timeInSeconds;
73 bool m_timeInSecondsHasBeenSet = false;
74
75 Aws::String m_offsetInNanos;
76 bool m_offsetInNanosHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace IoT
81} // namespace Aws
AssetPropertyTimestamp & WithTimeInSeconds(const char *value)
AssetPropertyTimestamp & WithOffsetInNanos(Aws::String &&value)
void SetTimeInSeconds(const Aws::String &value)
AssetPropertyTimestamp & WithOffsetInNanos(const char *value)
void SetOffsetInNanos(const Aws::String &value)
AssetPropertyTimestamp & WithOffsetInNanos(const Aws::String &value)
AWS_IOT_API AssetPropertyTimestamp & operator=(Aws::Utils::Json::JsonView jsonValue)
AssetPropertyTimestamp & WithTimeInSeconds(const Aws::String &value)
AssetPropertyTimestamp & WithTimeInSeconds(Aws::String &&value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOT_API AssetPropertyTimestamp(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue