AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeltaTime.h
1
6#pragma once
7#include <aws/iotanalytics/IoTAnalytics_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 IoTAnalytics
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_IOTANALYTICS_API DeltaTime();
36 AWS_IOTANALYTICS_API DeltaTime(Aws::Utils::Json::JsonView jsonValue);
37 AWS_IOTANALYTICS_API DeltaTime& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
52 inline int GetOffsetSeconds() const{ return m_offsetSeconds; }
53 inline bool OffsetSecondsHasBeenSet() const { return m_offsetSecondsHasBeenSet; }
54 inline void SetOffsetSeconds(int value) { m_offsetSecondsHasBeenSet = true; m_offsetSeconds = value; }
55 inline DeltaTime& WithOffsetSeconds(int value) { SetOffsetSeconds(value); return *this;}
57
59
64 inline const Aws::String& GetTimeExpression() const{ return m_timeExpression; }
65 inline bool TimeExpressionHasBeenSet() const { return m_timeExpressionHasBeenSet; }
66 inline void SetTimeExpression(const Aws::String& value) { m_timeExpressionHasBeenSet = true; m_timeExpression = value; }
67 inline void SetTimeExpression(Aws::String&& value) { m_timeExpressionHasBeenSet = true; m_timeExpression = std::move(value); }
68 inline void SetTimeExpression(const char* value) { m_timeExpressionHasBeenSet = true; m_timeExpression.assign(value); }
69 inline DeltaTime& WithTimeExpression(const Aws::String& value) { SetTimeExpression(value); return *this;}
70 inline DeltaTime& WithTimeExpression(Aws::String&& value) { SetTimeExpression(std::move(value)); return *this;}
71 inline DeltaTime& WithTimeExpression(const char* value) { SetTimeExpression(value); return *this;}
73 private:
74
75 int m_offsetSeconds;
76 bool m_offsetSecondsHasBeenSet = false;
77
78 Aws::String m_timeExpression;
79 bool m_timeExpressionHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace IoTAnalytics
84} // namespace Aws
AWS_IOTANALYTICS_API DeltaTime()
DeltaTime & WithTimeExpression(const char *value)
Definition DeltaTime.h:71
AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTimeExpression(const Aws::String &value)
Definition DeltaTime.h:66
DeltaTime & WithTimeExpression(Aws::String &&value)
Definition DeltaTime.h:70
DeltaTime & WithTimeExpression(const Aws::String &value)
Definition DeltaTime.h:69
void SetTimeExpression(const char *value)
Definition DeltaTime.h:68
const Aws::String & GetTimeExpression() const
Definition DeltaTime.h:64
AWS_IOTANALYTICS_API DeltaTime & operator=(Aws::Utils::Json::JsonView jsonValue)
DeltaTime & WithOffsetSeconds(int value)
Definition DeltaTime.h:55
AWS_IOTANALYTICS_API DeltaTime(Aws::Utils::Json::JsonView jsonValue)
void SetTimeExpression(Aws::String &&value)
Definition DeltaTime.h:67
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue