AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssessmentControlSet.h
1
6#pragma once
7#include <aws/auditmanager/AuditManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/auditmanager/model/ControlSetStatus.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/auditmanager/model/Role.h>
12#include <aws/auditmanager/model/AssessmentControl.h>
13#include <aws/auditmanager/model/Delegation.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace AuditManager
27{
28namespace Model
29{
30
38 {
39 public:
40 AWS_AUDITMANAGER_API AssessmentControlSet();
41 AWS_AUDITMANAGER_API AssessmentControlSet(Aws::Utils::Json::JsonView jsonValue);
43 AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline const Aws::String& GetId() const{ return m_id; }
52 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
53 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
54 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
55 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
56 inline AssessmentControlSet& WithId(const Aws::String& value) { SetId(value); return *this;}
57 inline AssessmentControlSet& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
58 inline AssessmentControlSet& WithId(const char* value) { SetId(value); return *this;}
60
62
65 inline const Aws::String& GetDescription() const{ return m_description; }
66 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
67 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
68 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
69 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
70 inline AssessmentControlSet& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
71 inline AssessmentControlSet& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
72 inline AssessmentControlSet& WithDescription(const char* value) { SetDescription(value); return *this;}
74
76
79 inline const ControlSetStatus& GetStatus() const{ return m_status; }
80 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
81 inline void SetStatus(const ControlSetStatus& value) { m_statusHasBeenSet = true; m_status = value; }
82 inline void SetStatus(ControlSetStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
83 inline AssessmentControlSet& WithStatus(const ControlSetStatus& value) { SetStatus(value); return *this;}
84 inline AssessmentControlSet& WithStatus(ControlSetStatus&& value) { SetStatus(std::move(value)); return *this;}
86
88
91 inline const Aws::Vector<Role>& GetRoles() const{ return m_roles; }
92 inline bool RolesHasBeenSet() const { return m_rolesHasBeenSet; }
93 inline void SetRoles(const Aws::Vector<Role>& value) { m_rolesHasBeenSet = true; m_roles = value; }
94 inline void SetRoles(Aws::Vector<Role>&& value) { m_rolesHasBeenSet = true; m_roles = std::move(value); }
95 inline AssessmentControlSet& WithRoles(const Aws::Vector<Role>& value) { SetRoles(value); return *this;}
96 inline AssessmentControlSet& WithRoles(Aws::Vector<Role>&& value) { SetRoles(std::move(value)); return *this;}
97 inline AssessmentControlSet& AddRoles(const Role& value) { m_rolesHasBeenSet = true; m_roles.push_back(value); return *this; }
98 inline AssessmentControlSet& AddRoles(Role&& value) { m_rolesHasBeenSet = true; m_roles.push_back(std::move(value)); return *this; }
100
102
105 inline const Aws::Vector<AssessmentControl>& GetControls() const{ return m_controls; }
106 inline bool ControlsHasBeenSet() const { return m_controlsHasBeenSet; }
107 inline void SetControls(const Aws::Vector<AssessmentControl>& value) { m_controlsHasBeenSet = true; m_controls = value; }
108 inline void SetControls(Aws::Vector<AssessmentControl>&& value) { m_controlsHasBeenSet = true; m_controls = std::move(value); }
110 inline AssessmentControlSet& WithControls(Aws::Vector<AssessmentControl>&& value) { SetControls(std::move(value)); return *this;}
111 inline AssessmentControlSet& AddControls(const AssessmentControl& value) { m_controlsHasBeenSet = true; m_controls.push_back(value); return *this; }
112 inline AssessmentControlSet& AddControls(AssessmentControl&& value) { m_controlsHasBeenSet = true; m_controls.push_back(std::move(value)); return *this; }
114
116
119 inline const Aws::Vector<Delegation>& GetDelegations() const{ return m_delegations; }
120 inline bool DelegationsHasBeenSet() const { return m_delegationsHasBeenSet; }
121 inline void SetDelegations(const Aws::Vector<Delegation>& value) { m_delegationsHasBeenSet = true; m_delegations = value; }
122 inline void SetDelegations(Aws::Vector<Delegation>&& value) { m_delegationsHasBeenSet = true; m_delegations = std::move(value); }
123 inline AssessmentControlSet& WithDelegations(const Aws::Vector<Delegation>& value) { SetDelegations(value); return *this;}
124 inline AssessmentControlSet& WithDelegations(Aws::Vector<Delegation>&& value) { SetDelegations(std::move(value)); return *this;}
125 inline AssessmentControlSet& AddDelegations(const Delegation& value) { m_delegationsHasBeenSet = true; m_delegations.push_back(value); return *this; }
126 inline AssessmentControlSet& AddDelegations(Delegation&& value) { m_delegationsHasBeenSet = true; m_delegations.push_back(std::move(value)); return *this; }
128
130
134 inline int GetSystemEvidenceCount() const{ return m_systemEvidenceCount; }
135 inline bool SystemEvidenceCountHasBeenSet() const { return m_systemEvidenceCountHasBeenSet; }
136 inline void SetSystemEvidenceCount(int value) { m_systemEvidenceCountHasBeenSet = true; m_systemEvidenceCount = value; }
137 inline AssessmentControlSet& WithSystemEvidenceCount(int value) { SetSystemEvidenceCount(value); return *this;}
139
141
145 inline int GetManualEvidenceCount() const{ return m_manualEvidenceCount; }
146 inline bool ManualEvidenceCountHasBeenSet() const { return m_manualEvidenceCountHasBeenSet; }
147 inline void SetManualEvidenceCount(int value) { m_manualEvidenceCountHasBeenSet = true; m_manualEvidenceCount = value; }
148 inline AssessmentControlSet& WithManualEvidenceCount(int value) { SetManualEvidenceCount(value); return *this;}
150 private:
151
152 Aws::String m_id;
153 bool m_idHasBeenSet = false;
154
155 Aws::String m_description;
156 bool m_descriptionHasBeenSet = false;
157
158 ControlSetStatus m_status;
159 bool m_statusHasBeenSet = false;
160
161 Aws::Vector<Role> m_roles;
162 bool m_rolesHasBeenSet = false;
163
165 bool m_controlsHasBeenSet = false;
166
167 Aws::Vector<Delegation> m_delegations;
168 bool m_delegationsHasBeenSet = false;
169
170 int m_systemEvidenceCount;
171 bool m_systemEvidenceCountHasBeenSet = false;
172
173 int m_manualEvidenceCount;
174 bool m_manualEvidenceCountHasBeenSet = false;
175 };
176
177} // namespace Model
178} // namespace AuditManager
179} // namespace Aws
AssessmentControlSet & WithManualEvidenceCount(int value)
AssessmentControlSet & WithStatus(ControlSetStatus &&value)
AssessmentControlSet & AddControls(const AssessmentControl &value)
AWS_AUDITMANAGER_API AssessmentControlSet & operator=(Aws::Utils::Json::JsonView jsonValue)
AssessmentControlSet & AddRoles(const Role &value)
AssessmentControlSet & WithId(const Aws::String &value)
AssessmentControlSet & WithId(const char *value)
AssessmentControlSet & WithId(Aws::String &&value)
void SetControls(Aws::Vector< AssessmentControl > &&value)
AssessmentControlSet & AddControls(AssessmentControl &&value)
AssessmentControlSet & WithSystemEvidenceCount(int value)
AWS_AUDITMANAGER_API AssessmentControlSet(Aws::Utils::Json::JsonView jsonValue)
AssessmentControlSet & WithDelegations(const Aws::Vector< Delegation > &value)
void SetRoles(const Aws::Vector< Role > &value)
AssessmentControlSet & WithDescription(Aws::String &&value)
void SetControls(const Aws::Vector< AssessmentControl > &value)
AssessmentControlSet & WithControls(const Aws::Vector< AssessmentControl > &value)
AssessmentControlSet & WithRoles(Aws::Vector< Role > &&value)
AssessmentControlSet & WithControls(Aws::Vector< AssessmentControl > &&value)
AssessmentControlSet & WithDelegations(Aws::Vector< Delegation > &&value)
AssessmentControlSet & WithRoles(const Aws::Vector< Role > &value)
void SetStatus(const ControlSetStatus &value)
const Aws::Vector< Role > & GetRoles() const
const Aws::Vector< Delegation > & GetDelegations() const
AssessmentControlSet & WithDescription(const char *value)
AssessmentControlSet & WithDescription(const Aws::String &value)
AssessmentControlSet & AddDelegations(const Delegation &value)
void SetDelegations(Aws::Vector< Delegation > &&value)
AssessmentControlSet & AddDelegations(Delegation &&value)
AssessmentControlSet & AddRoles(Role &&value)
AssessmentControlSet & WithStatus(const ControlSetStatus &value)
const Aws::Vector< AssessmentControl > & GetControls() const
AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDelegations(const Aws::Vector< Delegation > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue