AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InterpolationParameters.h
1
6#pragma once
7#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
8#include <aws/iottwinmaker/model/InterpolationType.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 IoTTwinMaker
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_IOTTWINMAKER_API InterpolationParameters();
36 AWS_IOTTWINMAKER_API InterpolationParameters(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const InterpolationType& GetInterpolationType() const{ return m_interpolationType; }
46 inline bool InterpolationTypeHasBeenSet() const { return m_interpolationTypeHasBeenSet; }
47 inline void SetInterpolationType(const InterpolationType& value) { m_interpolationTypeHasBeenSet = true; m_interpolationType = value; }
48 inline void SetInterpolationType(InterpolationType&& value) { m_interpolationTypeHasBeenSet = true; m_interpolationType = std::move(value); }
50 inline InterpolationParameters& WithInterpolationType(InterpolationType&& value) { SetInterpolationType(std::move(value)); return *this;}
52
54
57 inline long long GetIntervalInSeconds() const{ return m_intervalInSeconds; }
58 inline bool IntervalInSecondsHasBeenSet() const { return m_intervalInSecondsHasBeenSet; }
59 inline void SetIntervalInSeconds(long long value) { m_intervalInSecondsHasBeenSet = true; m_intervalInSeconds = value; }
60 inline InterpolationParameters& WithIntervalInSeconds(long long value) { SetIntervalInSeconds(value); return *this;}
62 private:
63
64 InterpolationType m_interpolationType;
65 bool m_interpolationTypeHasBeenSet = false;
66
67 long long m_intervalInSeconds;
68 bool m_intervalInSecondsHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace IoTTwinMaker
73} // namespace Aws
AWS_IOTTWINMAKER_API InterpolationParameters(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
InterpolationParameters & WithIntervalInSeconds(long long value)
InterpolationParameters & WithInterpolationType(const InterpolationType &value)
InterpolationParameters & WithInterpolationType(InterpolationType &&value)
void SetInterpolationType(const InterpolationType &value)
AWS_IOTTWINMAKER_API InterpolationParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue