AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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#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 LexModelsV2
22{
23namespace Model
24{
25
45 {
46 public:
47 AWS_LEXMODELSV2_API RelativeAggregationDuration() = default;
50 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
51
52
54
58 inline TimeDimension GetTimeDimension() const { return m_timeDimension; }
59 inline bool TimeDimensionHasBeenSet() const { return m_timeDimensionHasBeenSet; }
60 inline void SetTimeDimension(TimeDimension value) { m_timeDimensionHasBeenSet = true; m_timeDimension = value; }
63
65
71 inline int GetTimeValue() const { return m_timeValue; }
72 inline bool TimeValueHasBeenSet() const { return m_timeValueHasBeenSet; }
73 inline void SetTimeValue(int value) { m_timeValueHasBeenSet = true; m_timeValue = value; }
74 inline RelativeAggregationDuration& WithTimeValue(int value) { SetTimeValue(value); return *this;}
76 private:
77
79 bool m_timeDimensionHasBeenSet = false;
80
81 int m_timeValue{0};
82 bool m_timeValueHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace LexModelsV2
87} // 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