AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CategoricalValues.h
1
6#pragma once
7#include <aws/lookoutequipment/LookoutEquipment_EXPORTS.h>
8#include <aws/lookoutequipment/model/StatisticalIssueStatus.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 LookoutEquipment
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_LOOKOUTEQUIPMENT_API CategoricalValues();
36 AWS_LOOKOUTEQUIPMENT_API CategoricalValues(Aws::Utils::Json::JsonView jsonValue);
37 AWS_LOOKOUTEQUIPMENT_API CategoricalValues& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LOOKOUTEQUIPMENT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const StatisticalIssueStatus& GetStatus() const{ return m_status; }
47 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
48 inline void SetStatus(const StatisticalIssueStatus& value) { m_statusHasBeenSet = true; m_status = value; }
49 inline void SetStatus(StatisticalIssueStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
50 inline CategoricalValues& WithStatus(const StatisticalIssueStatus& value) { SetStatus(value); return *this;}
51 inline CategoricalValues& WithStatus(StatisticalIssueStatus&& value) { SetStatus(std::move(value)); return *this;}
53
55
58 inline int GetNumberOfCategory() const{ return m_numberOfCategory; }
59 inline bool NumberOfCategoryHasBeenSet() const { return m_numberOfCategoryHasBeenSet; }
60 inline void SetNumberOfCategory(int value) { m_numberOfCategoryHasBeenSet = true; m_numberOfCategory = value; }
61 inline CategoricalValues& WithNumberOfCategory(int value) { SetNumberOfCategory(value); return *this;}
63 private:
64
66 bool m_statusHasBeenSet = false;
67
68 int m_numberOfCategory;
69 bool m_numberOfCategoryHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace LookoutEquipment
74} // namespace Aws
const StatisticalIssueStatus & GetStatus() const
AWS_LOOKOUTEQUIPMENT_API CategoricalValues & operator=(Aws::Utils::Json::JsonView jsonValue)
CategoricalValues & WithStatus(const StatisticalIssueStatus &value)
CategoricalValues & WithStatus(StatisticalIssueStatus &&value)
AWS_LOOKOUTEQUIPMENT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStatus(StatisticalIssueStatus &&value)
CategoricalValues & WithNumberOfCategory(int value)
void SetStatus(const StatisticalIssueStatus &value)
AWS_LOOKOUTEQUIPMENT_API CategoricalValues(Aws::Utils::Json::JsonView jsonValue)
AWS_LOOKOUTEQUIPMENT_API CategoricalValues()
Aws::Utils::Json::JsonValue JsonValue