AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FindingAction.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/macie2/model/FindingActionType.h>
9#include <aws/macie2/model/ApiCallDetails.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
34 {
35 public:
36 AWS_MACIE2_API FindingAction();
37 AWS_MACIE2_API FindingAction(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline const FindingActionType& GetActionType() const{ return m_actionType; }
49 inline bool ActionTypeHasBeenSet() const { return m_actionTypeHasBeenSet; }
50 inline void SetActionType(const FindingActionType& value) { m_actionTypeHasBeenSet = true; m_actionType = value; }
51 inline void SetActionType(FindingActionType&& value) { m_actionTypeHasBeenSet = true; m_actionType = std::move(value); }
52 inline FindingAction& WithActionType(const FindingActionType& value) { SetActionType(value); return *this;}
53 inline FindingAction& WithActionType(FindingActionType&& value) { SetActionType(std::move(value)); return *this;}
55
57
61 inline const ApiCallDetails& GetApiCallDetails() const{ return m_apiCallDetails; }
62 inline bool ApiCallDetailsHasBeenSet() const { return m_apiCallDetailsHasBeenSet; }
63 inline void SetApiCallDetails(const ApiCallDetails& value) { m_apiCallDetailsHasBeenSet = true; m_apiCallDetails = value; }
64 inline void SetApiCallDetails(ApiCallDetails&& value) { m_apiCallDetailsHasBeenSet = true; m_apiCallDetails = std::move(value); }
65 inline FindingAction& WithApiCallDetails(const ApiCallDetails& value) { SetApiCallDetails(value); return *this;}
66 inline FindingAction& WithApiCallDetails(ApiCallDetails&& value) { SetApiCallDetails(std::move(value)); return *this;}
68 private:
69
70 FindingActionType m_actionType;
71 bool m_actionTypeHasBeenSet = false;
72
73 ApiCallDetails m_apiCallDetails;
74 bool m_apiCallDetailsHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace Macie2
79} // namespace Aws
void SetApiCallDetails(const ApiCallDetails &value)
const FindingActionType & GetActionType() const
FindingAction & WithActionType(FindingActionType &&value)
FindingAction & WithApiCallDetails(const ApiCallDetails &value)
AWS_MACIE2_API FindingAction & operator=(Aws::Utils::Json::JsonView jsonValue)
FindingAction & WithApiCallDetails(ApiCallDetails &&value)
void SetApiCallDetails(ApiCallDetails &&value)
const ApiCallDetails & GetApiCallDetails() const
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetActionType(const FindingActionType &value)
void SetActionType(FindingActionType &&value)
FindingAction & WithActionType(const FindingActionType &value)
AWS_MACIE2_API FindingAction(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue