AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 IndicatorType GetIndicatorType() const { return m_indicatorType; }
50 inline bool IndicatorTypeHasBeenSet() const { return m_indicatorTypeHasBeenSet; }
51 inline void SetIndicatorType(IndicatorType value) { m_indicatorTypeHasBeenSet = true; m_indicatorType = value; }
52 inline Indicator& WithIndicatorType(IndicatorType value) { SetIndicatorType(value); return *this;}
54
56
63 inline const IndicatorDetail& GetIndicatorDetail() const { return m_indicatorDetail; }
64 inline bool IndicatorDetailHasBeenSet() const { return m_indicatorDetailHasBeenSet; }
65 template<typename IndicatorDetailT = IndicatorDetail>
66 void SetIndicatorDetail(IndicatorDetailT&& value) { m_indicatorDetailHasBeenSet = true; m_indicatorDetail = std::forward<IndicatorDetailT>(value); }
67 template<typename IndicatorDetailT = IndicatorDetail>
68 Indicator& WithIndicatorDetail(IndicatorDetailT&& value) { SetIndicatorDetail(std::forward<IndicatorDetailT>(value)); return *this;}
70 private:
71
73 bool m_indicatorTypeHasBeenSet = false;
74
75 IndicatorDetail m_indicatorDetail;
76 bool m_indicatorDetailHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace Detective
81} // namespace Aws
void SetIndicatorDetail(IndicatorDetailT &&value)
Definition Indicator.h:66
void SetIndicatorType(IndicatorType value)
Definition Indicator.h:51
AWS_DETECTIVE_API Indicator()=default
Indicator & WithIndicatorDetail(IndicatorDetailT &&value)
Definition Indicator.h:68
AWS_DETECTIVE_API Aws::Utils::Json::JsonValue Jsonize() const
IndicatorType GetIndicatorType() const
Definition Indicator.h:49
bool IndicatorDetailHasBeenSet() const
Definition Indicator.h:64
AWS_DETECTIVE_API Indicator & operator=(Aws::Utils::Json::JsonView jsonValue)
Indicator & WithIndicatorType(IndicatorType value)
Definition Indicator.h:52
AWS_DETECTIVE_API Indicator(Aws::Utils::Json::JsonView jsonValue)
const IndicatorDetail & GetIndicatorDetail() const
Definition Indicator.h:63
Aws::Utils::Json::JsonValue JsonValue