AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AnalyticsBinBySpecification.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/lexv2-models/model/AnalyticsBinByName.h>
9#include <aws/lexv2-models/model/AnalyticsInterval.h>
10#include <aws/lexv2-models/model/AnalyticsSortOrder.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace LexModelsV2
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_LEXMODELSV2_API AnalyticsBinBySpecification();
40 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const AnalyticsBinByName& GetName() const{ return m_name; }
48 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 inline void SetName(const AnalyticsBinByName& value) { m_nameHasBeenSet = true; m_name = value; }
50 inline void SetName(AnalyticsBinByName&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
51 inline AnalyticsBinBySpecification& WithName(const AnalyticsBinByName& value) { SetName(value); return *this;}
52 inline AnalyticsBinBySpecification& WithName(AnalyticsBinByName&& value) { SetName(std::move(value)); return *this;}
54
56
59 inline const AnalyticsInterval& GetInterval() const{ return m_interval; }
60 inline bool IntervalHasBeenSet() const { return m_intervalHasBeenSet; }
61 inline void SetInterval(const AnalyticsInterval& value) { m_intervalHasBeenSet = true; m_interval = value; }
62 inline void SetInterval(AnalyticsInterval&& value) { m_intervalHasBeenSet = true; m_interval = std::move(value); }
63 inline AnalyticsBinBySpecification& WithInterval(const AnalyticsInterval& value) { SetInterval(value); return *this;}
64 inline AnalyticsBinBySpecification& WithInterval(AnalyticsInterval&& value) { SetInterval(std::move(value)); return *this;}
66
68
73 inline const AnalyticsSortOrder& GetOrder() const{ return m_order; }
74 inline bool OrderHasBeenSet() const { return m_orderHasBeenSet; }
75 inline void SetOrder(const AnalyticsSortOrder& value) { m_orderHasBeenSet = true; m_order = value; }
76 inline void SetOrder(AnalyticsSortOrder&& value) { m_orderHasBeenSet = true; m_order = std::move(value); }
77 inline AnalyticsBinBySpecification& WithOrder(const AnalyticsSortOrder& value) { SetOrder(value); return *this;}
78 inline AnalyticsBinBySpecification& WithOrder(AnalyticsSortOrder&& value) { SetOrder(std::move(value)); return *this;}
80 private:
81
82 AnalyticsBinByName m_name;
83 bool m_nameHasBeenSet = false;
84
85 AnalyticsInterval m_interval;
86 bool m_intervalHasBeenSet = false;
87
88 AnalyticsSortOrder m_order;
89 bool m_orderHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace LexModelsV2
94} // namespace Aws
AnalyticsBinBySpecification & WithName(const AnalyticsBinByName &value)
AnalyticsBinBySpecification & WithOrder(const AnalyticsSortOrder &value)
AnalyticsBinBySpecification & WithInterval(AnalyticsInterval &&value)
AnalyticsBinBySpecification & WithOrder(AnalyticsSortOrder &&value)
AnalyticsBinBySpecification & WithName(AnalyticsBinByName &&value)
AnalyticsBinBySpecification & WithInterval(const AnalyticsInterval &value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LEXMODELSV2_API AnalyticsBinBySpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API AnalyticsBinBySpecification(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue