AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
50 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
51
52
54
58 inline const TimeDimension& GetTimeDimension() const{ return m_timeDimension; }
59 inline bool TimeDimensionHasBeenSet() const { return m_timeDimensionHasBeenSet; }
60 inline void SetTimeDimension(const TimeDimension& value) { m_timeDimensionHasBeenSet = true; m_timeDimension = value; }
61 inline void SetTimeDimension(TimeDimension&& value) { m_timeDimensionHasBeenSet = true; m_timeDimension = std::move(value); }
62 inline RelativeAggregationDuration& WithTimeDimension(const TimeDimension& value) { SetTimeDimension(value); return *this;}
63 inline RelativeAggregationDuration& WithTimeDimension(TimeDimension&& value) { SetTimeDimension(std::move(value)); return *this;}
65
67
73 inline int GetTimeValue() const{ return m_timeValue; }
74 inline bool TimeValueHasBeenSet() const { return m_timeValueHasBeenSet; }
75 inline void SetTimeValue(int value) { m_timeValueHasBeenSet = true; m_timeValue = value; }
76 inline RelativeAggregationDuration& WithTimeValue(int value) { SetTimeValue(value); return *this;}
78 private:
79
80 TimeDimension m_timeDimension;
81 bool m_timeDimensionHasBeenSet = false;
82
83 int m_timeValue;
84 bool m_timeValueHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace LexModelsV2
89} // 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)
RelativeAggregationDuration & WithTimeDimension(const TimeDimension &value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue