AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeregistrationPolicy.h
1
6#pragma once
7#include <aws/auditmanager/AuditManager_EXPORTS.h>
8#include <aws/auditmanager/model/DeleteResources.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace AuditManager
22{
23namespace Model
24{
25
48 {
49 public:
50 AWS_AUDITMANAGER_API DeregistrationPolicy();
51 AWS_AUDITMANAGER_API DeregistrationPolicy(Aws::Utils::Json::JsonView jsonValue);
53 AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
54
55
57
67 inline const DeleteResources& GetDeleteResources() const{ return m_deleteResources; }
68 inline bool DeleteResourcesHasBeenSet() const { return m_deleteResourcesHasBeenSet; }
69 inline void SetDeleteResources(const DeleteResources& value) { m_deleteResourcesHasBeenSet = true; m_deleteResources = value; }
70 inline void SetDeleteResources(DeleteResources&& value) { m_deleteResourcesHasBeenSet = true; m_deleteResources = std::move(value); }
71 inline DeregistrationPolicy& WithDeleteResources(const DeleteResources& value) { SetDeleteResources(value); return *this;}
72 inline DeregistrationPolicy& WithDeleteResources(DeleteResources&& value) { SetDeleteResources(std::move(value)); return *this;}
74 private:
75
76 DeleteResources m_deleteResources;
77 bool m_deleteResourcesHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace AuditManager
82} // namespace Aws
AWS_AUDITMANAGER_API DeregistrationPolicy(Aws::Utils::Json::JsonView jsonValue)
DeregistrationPolicy & WithDeleteResources(const DeleteResources &value)
void SetDeleteResources(const DeleteResources &value)
AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
const DeleteResources & GetDeleteResources() const
AWS_AUDITMANAGER_API DeregistrationPolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
DeregistrationPolicy & WithDeleteResources(DeleteResources &&value)
Aws::Utils::Json::JsonValue JsonValue