AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
UtteranceAggregationDuration.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/lexv2-models/model/RelativeAggregationDuration.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
29 public:
30 AWS_LEXMODELSV2_API UtteranceAggregationDuration() = default;
33 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const RelativeAggregationDuration& GetRelativeAggregationDuration() const { return m_relativeAggregationDuration; }
40 inline bool RelativeAggregationDurationHasBeenSet() const { return m_relativeAggregationDurationHasBeenSet; }
41 template <typename RelativeAggregationDurationT = RelativeAggregationDuration>
42 void SetRelativeAggregationDuration(RelativeAggregationDurationT&& value) {
43 m_relativeAggregationDurationHasBeenSet = true;
44 m_relativeAggregationDuration = std::forward<RelativeAggregationDurationT>(value);
45 }
46 template <typename RelativeAggregationDurationT = RelativeAggregationDuration>
47 UtteranceAggregationDuration& WithRelativeAggregationDuration(RelativeAggregationDurationT&& value) {
48 SetRelativeAggregationDuration(std::forward<RelativeAggregationDurationT>(value));
49 return *this;
50 }
52 private:
53 RelativeAggregationDuration m_relativeAggregationDuration;
54 bool m_relativeAggregationDurationHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace LexModelsV2
59} // namespace Aws
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LEXMODELSV2_API UtteranceAggregationDuration()=default
const RelativeAggregationDuration & GetRelativeAggregationDuration() const
AWS_LEXMODELSV2_API UtteranceAggregationDuration(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API UtteranceAggregationDuration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRelativeAggregationDuration(RelativeAggregationDurationT &&value)
UtteranceAggregationDuration & WithRelativeAggregationDuration(RelativeAggregationDurationT &&value)
Aws::Utils::Json::JsonValue JsonValue