AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
RelativeAggregationDuration.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/lexv2-models/model/TimeDimension.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace LexModelsV2 {
20namespace Model {
21
41 public:
42 AWS_LEXMODELSV2_API RelativeAggregationDuration() = default;
45 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
46
48
52 inline TimeDimension GetTimeDimension() const { return m_timeDimension; }
53 inline bool TimeDimensionHasBeenSet() const { return m_timeDimensionHasBeenSet; }
54 inline void SetTimeDimension(TimeDimension value) {
55 m_timeDimensionHasBeenSet = true;
56 m_timeDimension = value;
57 }
59 SetTimeDimension(value);
60 return *this;
61 }
63
65
71 inline int GetTimeValue() const { return m_timeValue; }
72 inline bool TimeValueHasBeenSet() const { return m_timeValueHasBeenSet; }
73 inline void SetTimeValue(int value) {
74 m_timeValueHasBeenSet = true;
75 m_timeValue = value;
76 }
78 SetTimeValue(value);
79 return *this;
80 }
82 private:
84
85 int m_timeValue{0};
86 bool m_timeDimensionHasBeenSet = false;
87 bool m_timeValueHasBeenSet = false;
88};
89
90} // namespace Model
91} // namespace LexModelsV2
92} // namespace Aws
AWS_LEXMODELSV2_API RelativeAggregationDuration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API RelativeAggregationDuration(Aws::Utils::Json::JsonView jsonValue)
RelativeAggregationDuration & WithTimeDimension(TimeDimension value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LEXMODELSV2_API RelativeAggregationDuration()=default
Aws::Utils::Json::JsonValue JsonValue