AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AnomalyObject.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/guardduty/model/ProfileType.h>
9#include <aws/guardduty/model/ProfileSubtype.h>
10#include <aws/guardduty/model/Observations.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace GuardDuty
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_GUARDDUTY_API AnomalyObject();
38 AWS_GUARDDUTY_API AnomalyObject(Aws::Utils::Json::JsonView jsonValue);
39 AWS_GUARDDUTY_API AnomalyObject& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const ProfileType& GetProfileType() const{ return m_profileType; }
48 inline bool ProfileTypeHasBeenSet() const { return m_profileTypeHasBeenSet; }
49 inline void SetProfileType(const ProfileType& value) { m_profileTypeHasBeenSet = true; m_profileType = value; }
50 inline void SetProfileType(ProfileType&& value) { m_profileTypeHasBeenSet = true; m_profileType = std::move(value); }
51 inline AnomalyObject& WithProfileType(const ProfileType& value) { SetProfileType(value); return *this;}
52 inline AnomalyObject& WithProfileType(ProfileType&& value) { SetProfileType(std::move(value)); return *this;}
54
56
59 inline const ProfileSubtype& GetProfileSubtype() const{ return m_profileSubtype; }
60 inline bool ProfileSubtypeHasBeenSet() const { return m_profileSubtypeHasBeenSet; }
61 inline void SetProfileSubtype(const ProfileSubtype& value) { m_profileSubtypeHasBeenSet = true; m_profileSubtype = value; }
62 inline void SetProfileSubtype(ProfileSubtype&& value) { m_profileSubtypeHasBeenSet = true; m_profileSubtype = std::move(value); }
63 inline AnomalyObject& WithProfileSubtype(const ProfileSubtype& value) { SetProfileSubtype(value); return *this;}
64 inline AnomalyObject& WithProfileSubtype(ProfileSubtype&& value) { SetProfileSubtype(std::move(value)); return *this;}
66
68
71 inline const Observations& GetObservations() const{ return m_observations; }
72 inline bool ObservationsHasBeenSet() const { return m_observationsHasBeenSet; }
73 inline void SetObservations(const Observations& value) { m_observationsHasBeenSet = true; m_observations = value; }
74 inline void SetObservations(Observations&& value) { m_observationsHasBeenSet = true; m_observations = std::move(value); }
75 inline AnomalyObject& WithObservations(const Observations& value) { SetObservations(value); return *this;}
76 inline AnomalyObject& WithObservations(Observations&& value) { SetObservations(std::move(value)); return *this;}
78 private:
79
80 ProfileType m_profileType;
81 bool m_profileTypeHasBeenSet = false;
82
83 ProfileSubtype m_profileSubtype;
84 bool m_profileSubtypeHasBeenSet = false;
85
86 Observations m_observations;
87 bool m_observationsHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace GuardDuty
92} // namespace Aws
AWS_GUARDDUTY_API AnomalyObject(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GUARDDUTY_API AnomalyObject & operator=(Aws::Utils::Json::JsonView jsonValue)
const Observations & GetObservations() const
const ProfileSubtype & GetProfileSubtype() const
void SetObservations(const Observations &value)
const ProfileType & GetProfileType() const
void SetProfileType(ProfileType &&value)
AnomalyObject & WithProfileType(ProfileType &&value)
AnomalyObject & WithProfileType(const ProfileType &value)
AnomalyObject & WithProfileSubtype(const ProfileSubtype &value)
void SetProfileSubtype(const ProfileSubtype &value)
AnomalyObject & WithObservations(Observations &&value)
void SetProfileType(const ProfileType &value)
AnomalyObject & WithObservations(const Observations &value)
void SetObservations(Observations &&value)
void SetProfileSubtype(ProfileSubtype &&value)
AnomalyObject & WithProfileSubtype(ProfileSubtype &&value)
Aws::Utils::Json::JsonValue JsonValue