AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Indicator.h
1
6#pragma once
7#include <aws/detective/Detective_EXPORTS.h>
8#include <aws/detective/model/IndicatorType.h>
9#include <aws/detective/model/IndicatorDetail.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Detective
23{
24namespace Model
25{
26
37 {
38 public:
39 AWS_DETECTIVE_API Indicator();
40 AWS_DETECTIVE_API Indicator(Aws::Utils::Json::JsonView jsonValue);
41 AWS_DETECTIVE_API Indicator& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_DETECTIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const IndicatorType& GetIndicatorType() const{ return m_indicatorType; }
50 inline bool IndicatorTypeHasBeenSet() const { return m_indicatorTypeHasBeenSet; }
51 inline void SetIndicatorType(const IndicatorType& value) { m_indicatorTypeHasBeenSet = true; m_indicatorType = value; }
52 inline void SetIndicatorType(IndicatorType&& value) { m_indicatorTypeHasBeenSet = true; m_indicatorType = std::move(value); }
53 inline Indicator& WithIndicatorType(const IndicatorType& value) { SetIndicatorType(value); return *this;}
54 inline Indicator& WithIndicatorType(IndicatorType&& value) { SetIndicatorType(std::move(value)); return *this;}
56
58
65 inline const IndicatorDetail& GetIndicatorDetail() const{ return m_indicatorDetail; }
66 inline bool IndicatorDetailHasBeenSet() const { return m_indicatorDetailHasBeenSet; }
67 inline void SetIndicatorDetail(const IndicatorDetail& value) { m_indicatorDetailHasBeenSet = true; m_indicatorDetail = value; }
68 inline void SetIndicatorDetail(IndicatorDetail&& value) { m_indicatorDetailHasBeenSet = true; m_indicatorDetail = std::move(value); }
69 inline Indicator& WithIndicatorDetail(const IndicatorDetail& value) { SetIndicatorDetail(value); return *this;}
70 inline Indicator& WithIndicatorDetail(IndicatorDetail&& value) { SetIndicatorDetail(std::move(value)); return *this;}
72 private:
73
74 IndicatorType m_indicatorType;
75 bool m_indicatorTypeHasBeenSet = false;
76
77 IndicatorDetail m_indicatorDetail;
78 bool m_indicatorDetailHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace Detective
83} // namespace Aws
void SetIndicatorType(const IndicatorType &value)
Definition Indicator.h:51
AWS_DETECTIVE_API Indicator()
Indicator & WithIndicatorType(IndicatorType &&value)
Definition Indicator.h:54
Indicator & WithIndicatorType(const IndicatorType &value)
Definition Indicator.h:53
Indicator & WithIndicatorDetail(IndicatorDetail &&value)
Definition Indicator.h:70
void SetIndicatorType(IndicatorType &&value)
Definition Indicator.h:52
const IndicatorType & GetIndicatorType() const
Definition Indicator.h:49
void SetIndicatorDetail(IndicatorDetail &&value)
Definition Indicator.h:68
AWS_DETECTIVE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetIndicatorDetail(const IndicatorDetail &value)
Definition Indicator.h:67
bool IndicatorDetailHasBeenSet() const
Definition Indicator.h:66
Indicator & WithIndicatorDetail(const IndicatorDetail &value)
Definition Indicator.h:69
AWS_DETECTIVE_API Indicator & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DETECTIVE_API Indicator(Aws::Utils::Json::JsonView jsonValue)
const IndicatorDetail & GetIndicatorDetail() const
Definition Indicator.h:65
Aws::Utils::Json::JsonValue JsonValue