AWS SDK for C++

AWS SDK for C++ Version 1.11.939

Loading...
Searching...
No Matches
InvestigationIndicator.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/guardduty/GuardDuty_EXPORTS.h>
9#include <aws/guardduty/model/InvestigationIndicatorType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace GuardDuty {
21namespace Model {
22
30 public:
31 AWS_GUARDDUTY_API InvestigationIndicator() = default;
34 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetValue() const { return m_value; }
41 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
42 template <typename ValueT = Aws::String>
43 void SetValue(ValueT&& value) {
44 m_valueHasBeenSet = true;
45 m_value = std::forward<ValueT>(value);
46 }
47 template <typename ValueT = Aws::String>
49 SetValue(std::forward<ValueT>(value));
50 return *this;
51 }
53
55
59 inline InvestigationIndicatorType GetType() const { return m_type; }
60 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
62 m_typeHasBeenSet = true;
63 m_type = value;
64 }
66 SetType(value);
67 return *this;
68 }
70 private:
71 Aws::String m_value;
72
74 bool m_valueHasBeenSet = false;
75 bool m_typeHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace GuardDuty
80} // namespace Aws
AWS_GUARDDUTY_API InvestigationIndicator(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API InvestigationIndicator()=default
AWS_GUARDDUTY_API InvestigationIndicator & operator=(Aws::Utils::Json::JsonView jsonValue)
InvestigationIndicator & WithType(InvestigationIndicatorType value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
InvestigationIndicator & WithValue(ValueT &&value)
void SetType(InvestigationIndicatorType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue