AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
50 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
51 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
52 inline AssessmentFrameworkMetadata& WithArn(const Aws::String& value) { SetArn(value); return *this;}
53 inline AssessmentFrameworkMetadata& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
54 inline AssessmentFrameworkMetadata& WithArn(const char* value) { SetArn(value); return *this;}
56
58
61 inline const Aws::String& GetId() const{ return m_id; }
62 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
63 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
64 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
65 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
66 inline AssessmentFrameworkMetadata& WithId(const Aws::String& value) { SetId(value); return *this;}
67 inline AssessmentFrameworkMetadata& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
68 inline AssessmentFrameworkMetadata& WithId(const char* value) { SetId(value); return *this;}
70
72
75 inline const FrameworkType& GetType() const{ return m_type; }
76 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
77 inline void SetType(const FrameworkType& value) { m_typeHasBeenSet = true; m_type = value; }
78 inline void SetType(FrameworkType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
79 inline AssessmentFrameworkMetadata& WithType(const FrameworkType& value) { SetType(value); return *this;}
80 inline AssessmentFrameworkMetadata& WithType(FrameworkType&& value) { SetType(std::move(value)); return *this;}
82
84
87 inline const Aws::String& GetName() const{ return m_name; }
88 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
89 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
90 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
91 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
92 inline AssessmentFrameworkMetadata& WithName(const Aws::String& value) { SetName(value); return *this;}
93 inline AssessmentFrameworkMetadata& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
94 inline AssessmentFrameworkMetadata& WithName(const char* value) { SetName(value); return *this;}
96
98
101 inline const Aws::String& GetDescription() const{ return m_description; }
102 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
103 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
104 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
105 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
106 inline AssessmentFrameworkMetadata& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
107 inline AssessmentFrameworkMetadata& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
108 inline AssessmentFrameworkMetadata& WithDescription(const char* value) { SetDescription(value); return *this;}
110
112
115 inline const Aws::String& GetLogo() const{ return m_logo; }
116 inline bool LogoHasBeenSet() const { return m_logoHasBeenSet; }
117 inline void SetLogo(const Aws::String& value) { m_logoHasBeenSet = true; m_logo = value; }
118 inline void SetLogo(Aws::String&& value) { m_logoHasBeenSet = true; m_logo = std::move(value); }
119 inline void SetLogo(const char* value) { m_logoHasBeenSet = true; m_logo.assign(value); }
120 inline AssessmentFrameworkMetadata& WithLogo(const Aws::String& value) { SetLogo(value); return *this;}
121 inline AssessmentFrameworkMetadata& WithLogo(Aws::String&& value) { SetLogo(std::move(value)); return *this;}
122 inline AssessmentFrameworkMetadata& WithLogo(const char* value) { SetLogo(value); return *this;}
124
126
130 inline const Aws::String& GetComplianceType() const{ return m_complianceType; }
131 inline bool ComplianceTypeHasBeenSet() const { return m_complianceTypeHasBeenSet; }
132 inline void SetComplianceType(const Aws::String& value) { m_complianceTypeHasBeenSet = true; m_complianceType = value; }
133 inline void SetComplianceType(Aws::String&& value) { m_complianceTypeHasBeenSet = true; m_complianceType = std::move(value); }
134 inline void SetComplianceType(const char* value) { m_complianceTypeHasBeenSet = true; m_complianceType.assign(value); }
136 inline AssessmentFrameworkMetadata& WithComplianceType(Aws::String&& value) { SetComplianceType(std::move(value)); return *this;}
137 inline AssessmentFrameworkMetadata& WithComplianceType(const char* value) { SetComplianceType(value); return *this;}
139
141
144 inline int GetControlsCount() const{ return m_controlsCount; }
145 inline bool ControlsCountHasBeenSet() const { return m_controlsCountHasBeenSet; }
146 inline void SetControlsCount(int value) { m_controlsCountHasBeenSet = true; m_controlsCount = value; }
147 inline AssessmentFrameworkMetadata& WithControlsCount(int value) { SetControlsCount(value); return *this;}
149
151
154 inline int GetControlSetsCount() const{ return m_controlSetsCount; }
155 inline bool ControlSetsCountHasBeenSet() const { return m_controlSetsCountHasBeenSet; }
156 inline void SetControlSetsCount(int value) { m_controlSetsCountHasBeenSet = true; m_controlSetsCount = value; }
157 inline AssessmentFrameworkMetadata& WithControlSetsCount(int value) { SetControlSetsCount(value); return *this;}
159
161
164 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
165 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
166 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
167 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
168 inline AssessmentFrameworkMetadata& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
169 inline AssessmentFrameworkMetadata& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
171
173
176 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
177 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
178 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; }
179 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); }
181 inline AssessmentFrameworkMetadata& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
183 private:
184
185 Aws::String m_arn;
186 bool m_arnHasBeenSet = false;
187
188 Aws::String m_id;
189 bool m_idHasBeenSet = false;
190
191 FrameworkType m_type;
192 bool m_typeHasBeenSet = false;
193
194 Aws::String m_name;
195 bool m_nameHasBeenSet = false;
196
197 Aws::String m_description;
198 bool m_descriptionHasBeenSet = false;
199
200 Aws::String m_logo;
201 bool m_logoHasBeenSet = false;
202
203 Aws::String m_complianceType;
204 bool m_complianceTypeHasBeenSet = false;
205
206 int m_controlsCount;
207 bool m_controlsCountHasBeenSet = false;
208
209 int m_controlSetsCount;
210 bool m_controlSetsCountHasBeenSet = false;
211
212 Aws::Utils::DateTime m_createdAt;
213 bool m_createdAtHasBeenSet = false;
214
215 Aws::Utils::DateTime m_lastUpdatedAt;
216 bool m_lastUpdatedAtHasBeenSet = false;
217 };
218
219} // namespace Model
220} // namespace AuditManager
221} // namespace Aws
AssessmentFrameworkMetadata & WithComplianceType(const char *value)
AssessmentFrameworkMetadata & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
AssessmentFrameworkMetadata & WithLogo(const char *value)
AssessmentFrameworkMetadata & WithName(Aws::String &&value)
AssessmentFrameworkMetadata & WithName(const Aws::String &value)
AssessmentFrameworkMetadata & WithArn(const char *value)
AssessmentFrameworkMetadata & WithLogo(const Aws::String &value)
AssessmentFrameworkMetadata & WithArn(Aws::String &&value)
AssessmentFrameworkMetadata & WithId(Aws::String &&value)
AssessmentFrameworkMetadata & WithType(FrameworkType &&value)
AssessmentFrameworkMetadata & WithDescription(const char *value)
AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_AUDITMANAGER_API AssessmentFrameworkMetadata(Aws::Utils::Json::JsonView jsonValue)
AssessmentFrameworkMetadata & WithCreatedAt(Aws::Utils::DateTime &&value)
AssessmentFrameworkMetadata & WithControlSetsCount(int value)
AssessmentFrameworkMetadata & WithLogo(Aws::String &&value)
AssessmentFrameworkMetadata & WithComplianceType(Aws::String &&value)
AssessmentFrameworkMetadata & WithName(const char *value)
AssessmentFrameworkMetadata & WithDescription(Aws::String &&value)
AssessmentFrameworkMetadata & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
AssessmentFrameworkMetadata & WithId(const char *value)
AssessmentFrameworkMetadata & WithType(const FrameworkType &value)
AssessmentFrameworkMetadata & WithArn(const Aws::String &value)
AssessmentFrameworkMetadata & WithComplianceType(const Aws::String &value)
AssessmentFrameworkMetadata & WithCreatedAt(const Aws::Utils::DateTime &value)
AssessmentFrameworkMetadata & WithId(const Aws::String &value)
AWS_AUDITMANAGER_API AssessmentFrameworkMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
AssessmentFrameworkMetadata & WithDescription(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue