AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
Indicator.h
1
6#pragma once
7#include <aws/detective/Detective_EXPORTS.h>
8#include <aws/detective/model/IndicatorDetail.h>
9#include <aws/detective/model/IndicatorType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Detective {
21namespace Model {
22
32class Indicator {
33 public:
34 AWS_DETECTIVE_API Indicator() = default;
35 AWS_DETECTIVE_API Indicator(Aws::Utils::Json::JsonView jsonValue);
36 AWS_DETECTIVE_API Indicator& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_DETECTIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline IndicatorType GetIndicatorType() const { return m_indicatorType; }
44 inline bool IndicatorTypeHasBeenSet() const { return m_indicatorTypeHasBeenSet; }
45 inline void SetIndicatorType(IndicatorType value) {
46 m_indicatorTypeHasBeenSet = true;
47 m_indicatorType = value;
48 }
50 SetIndicatorType(value);
51 return *this;
52 }
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) {
67 m_indicatorDetailHasBeenSet = true;
68 m_indicatorDetail = std::forward<IndicatorDetailT>(value);
69 }
70 template <typename IndicatorDetailT = IndicatorDetail>
71 Indicator& WithIndicatorDetail(IndicatorDetailT&& value) {
72 SetIndicatorDetail(std::forward<IndicatorDetailT>(value));
73 return *this;
74 }
76 private:
78
79 IndicatorDetail m_indicatorDetail;
80 bool m_indicatorTypeHasBeenSet = false;
81 bool m_indicatorDetailHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace Detective
86} // namespace Aws
void SetIndicatorDetail(IndicatorDetailT &&value)
Definition Indicator.h:66
void SetIndicatorType(IndicatorType value)
Definition Indicator.h:45
AWS_DETECTIVE_API Indicator()=default
Indicator & WithIndicatorDetail(IndicatorDetailT &&value)
Definition Indicator.h:71
AWS_DETECTIVE_API Aws::Utils::Json::JsonValue Jsonize() const
IndicatorType GetIndicatorType() const
Definition Indicator.h:43
bool IndicatorDetailHasBeenSet() const
Definition Indicator.h:64
AWS_DETECTIVE_API Indicator & operator=(Aws::Utils::Json::JsonView jsonValue)
Indicator & WithIndicatorType(IndicatorType value)
Definition Indicator.h:49
AWS_DETECTIVE_API Indicator(Aws::Utils::Json::JsonView jsonValue)
const IndicatorDetail & GetIndicatorDetail() const
Definition Indicator.h:63
Aws::Utils::Json::JsonValue JsonValue