AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
AssessmentFrameworkMetadata.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/FrameworkType.h>
10#include <aws/core/utils/DateTime.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 AuditManager
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_AUDITMANAGER_API AssessmentFrameworkMetadata() = default;
40 AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetArn() const { return m_arn; }
48 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
49 template<typename ArnT = Aws::String>
50 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
51 template<typename ArnT = Aws::String>
52 AssessmentFrameworkMetadata& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
54
56
59 inline const Aws::String& GetId() const { return m_id; }
60 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
61 template<typename IdT = Aws::String>
62 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
63 template<typename IdT = Aws::String>
64 AssessmentFrameworkMetadata& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
66
68
71 inline FrameworkType GetType() const { return m_type; }
72 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
73 inline void SetType(FrameworkType value) { m_typeHasBeenSet = true; m_type = value; }
74 inline AssessmentFrameworkMetadata& WithType(FrameworkType value) { SetType(value); return *this;}
76
78
81 inline const Aws::String& GetName() const { return m_name; }
82 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
83 template<typename NameT = Aws::String>
84 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
85 template<typename NameT = Aws::String>
86 AssessmentFrameworkMetadata& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
88
90
93 inline const Aws::String& GetDescription() const { return m_description; }
94 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
95 template<typename DescriptionT = Aws::String>
96 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
97 template<typename DescriptionT = Aws::String>
98 AssessmentFrameworkMetadata& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
100
102
105 inline const Aws::String& GetLogo() const { return m_logo; }
106 inline bool LogoHasBeenSet() const { return m_logoHasBeenSet; }
107 template<typename LogoT = Aws::String>
108 void SetLogo(LogoT&& value) { m_logoHasBeenSet = true; m_logo = std::forward<LogoT>(value); }
109 template<typename LogoT = Aws::String>
110 AssessmentFrameworkMetadata& WithLogo(LogoT&& value) { SetLogo(std::forward<LogoT>(value)); return *this;}
112
114
118 inline const Aws::String& GetComplianceType() const { return m_complianceType; }
119 inline bool ComplianceTypeHasBeenSet() const { return m_complianceTypeHasBeenSet; }
120 template<typename ComplianceTypeT = Aws::String>
121 void SetComplianceType(ComplianceTypeT&& value) { m_complianceTypeHasBeenSet = true; m_complianceType = std::forward<ComplianceTypeT>(value); }
122 template<typename ComplianceTypeT = Aws::String>
123 AssessmentFrameworkMetadata& WithComplianceType(ComplianceTypeT&& value) { SetComplianceType(std::forward<ComplianceTypeT>(value)); return *this;}
125
127
130 inline int GetControlsCount() const { return m_controlsCount; }
131 inline bool ControlsCountHasBeenSet() const { return m_controlsCountHasBeenSet; }
132 inline void SetControlsCount(int value) { m_controlsCountHasBeenSet = true; m_controlsCount = value; }
133 inline AssessmentFrameworkMetadata& WithControlsCount(int value) { SetControlsCount(value); return *this;}
135
137
140 inline int GetControlSetsCount() const { return m_controlSetsCount; }
141 inline bool ControlSetsCountHasBeenSet() const { return m_controlSetsCountHasBeenSet; }
142 inline void SetControlSetsCount(int value) { m_controlSetsCountHasBeenSet = true; m_controlSetsCount = value; }
143 inline AssessmentFrameworkMetadata& WithControlSetsCount(int value) { SetControlSetsCount(value); return *this;}
145
147
150 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
151 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
152 template<typename CreatedAtT = Aws::Utils::DateTime>
153 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
154 template<typename CreatedAtT = Aws::Utils::DateTime>
155 AssessmentFrameworkMetadata& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
157
159
162 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
163 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
164 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
165 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
166 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
167 AssessmentFrameworkMetadata& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
169 private:
170
171 Aws::String m_arn;
172 bool m_arnHasBeenSet = false;
173
174 Aws::String m_id;
175 bool m_idHasBeenSet = false;
176
178 bool m_typeHasBeenSet = false;
179
180 Aws::String m_name;
181 bool m_nameHasBeenSet = false;
182
183 Aws::String m_description;
184 bool m_descriptionHasBeenSet = false;
185
186 Aws::String m_logo;
187 bool m_logoHasBeenSet = false;
188
189 Aws::String m_complianceType;
190 bool m_complianceTypeHasBeenSet = false;
191
192 int m_controlsCount{0};
193 bool m_controlsCountHasBeenSet = false;
194
195 int m_controlSetsCount{0};
196 bool m_controlSetsCountHasBeenSet = false;
197
198 Aws::Utils::DateTime m_createdAt{};
199 bool m_createdAtHasBeenSet = false;
200
201 Aws::Utils::DateTime m_lastUpdatedAt{};
202 bool m_lastUpdatedAtHasBeenSet = false;
203 };
204
205} // namespace Model
206} // namespace AuditManager
207} // namespace Aws
AssessmentFrameworkMetadata & WithType(FrameworkType value)
AssessmentFrameworkMetadata & WithLogo(LogoT &&value)
AssessmentFrameworkMetadata & WithDescription(DescriptionT &&value)
AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_AUDITMANAGER_API AssessmentFrameworkMetadata(Aws::Utils::Json::JsonView jsonValue)
AssessmentFrameworkMetadata & WithCreatedAt(CreatedAtT &&value)
AssessmentFrameworkMetadata & WithName(NameT &&value)
AWS_AUDITMANAGER_API AssessmentFrameworkMetadata()=default
AssessmentFrameworkMetadata & WithControlSetsCount(int value)
AssessmentFrameworkMetadata & WithLastUpdatedAt(LastUpdatedAtT &&value)
AssessmentFrameworkMetadata & WithComplianceType(ComplianceTypeT &&value)
AWS_AUDITMANAGER_API AssessmentFrameworkMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue