AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PolicyDetails.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/macie2/model/FindingAction.h>
9#include <aws/macie2/model/FindingActor.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 Macie2
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_MACIE2_API PolicyDetails();
36 AWS_MACIE2_API PolicyDetails(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const FindingAction& GetAction() const{ return m_action; }
46 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
47 inline void SetAction(const FindingAction& value) { m_actionHasBeenSet = true; m_action = value; }
48 inline void SetAction(FindingAction&& value) { m_actionHasBeenSet = true; m_action = std::move(value); }
49 inline PolicyDetails& WithAction(const FindingAction& value) { SetAction(value); return *this;}
50 inline PolicyDetails& WithAction(FindingAction&& value) { SetAction(std::move(value)); return *this;}
52
54
57 inline const FindingActor& GetActor() const{ return m_actor; }
58 inline bool ActorHasBeenSet() const { return m_actorHasBeenSet; }
59 inline void SetActor(const FindingActor& value) { m_actorHasBeenSet = true; m_actor = value; }
60 inline void SetActor(FindingActor&& value) { m_actorHasBeenSet = true; m_actor = std::move(value); }
61 inline PolicyDetails& WithActor(const FindingActor& value) { SetActor(value); return *this;}
62 inline PolicyDetails& WithActor(FindingActor&& value) { SetActor(std::move(value)); return *this;}
64 private:
65
66 FindingAction m_action;
67 bool m_actionHasBeenSet = false;
68
69 FindingActor m_actor;
70 bool m_actorHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace Macie2
75} // namespace Aws
PolicyDetails & WithAction(const FindingAction &value)
void SetActor(const FindingActor &value)
void SetAction(FindingAction &&value)
void SetAction(const FindingAction &value)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
PolicyDetails & WithActor(FindingActor &&value)
const FindingActor & GetActor() const
PolicyDetails & WithAction(FindingAction &&value)
AWS_MACIE2_API PolicyDetails(Aws::Utils::Json::JsonView jsonValue)
PolicyDetails & WithActor(const FindingActor &value)
AWS_MACIE2_API PolicyDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetActor(FindingActor &&value)
const FindingAction & GetAction() const
Aws::Utils::Json::JsonValue JsonValue