7#include <aws/auditmanager/AuditManager_EXPORTS.h>
8#include <aws/auditmanager/model/Resource.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
23namespace AuditManager {
47 template <
typename DataSourceT = Aws::String>
49 m_dataSourceHasBeenSet =
true;
50 m_dataSource = std::forward<DataSourceT>(value);
52 template <
typename DataSourceT = Aws::String>
65 template <
typename Ev
idenceAwsAccountIdT = Aws::String>
67 m_evidenceAwsAccountIdHasBeenSet =
true;
68 m_evidenceAwsAccountId = std::forward<EvidenceAwsAccountIdT>(value);
70 template <
typename Ev
idenceAwsAccountIdT = Aws::String>
83 template <
typename TimeT = Aws::Utils::DateTime>
85 m_timeHasBeenSet =
true;
86 m_time = std::forward<TimeT>(value);
88 template <
typename TimeT = Aws::Utils::DateTime>
90 SetTime(std::forward<TimeT>(value));
101 template <
typename EventSourceT = Aws::String>
103 m_eventSourceHasBeenSet =
true;
104 m_eventSource = std::forward<EventSourceT>(value);
106 template <
typename EventSourceT = Aws::String>
119 template <
typename EventNameT = Aws::String>
121 m_eventNameHasBeenSet =
true;
122 m_eventName = std::forward<EventNameT>(value);
124 template <
typename EventNameT = Aws::String>
137 template <
typename Ev
idenceByTypeT = Aws::String>
139 m_evidenceByTypeHasBeenSet =
true;
140 m_evidenceByType = std::forward<EvidenceByTypeT>(value);
142 template <
typename Ev
idenceByTypeT = Aws::String>
155 template <
typename ResourcesIncludedT = Aws::Vector<Resource>>
157 m_resourcesIncludedHasBeenSet =
true;
158 m_resourcesIncluded = std::forward<ResourcesIncludedT>(value);
160 template <
typename ResourcesIncludedT = Aws::Vector<Resource>>
165 template <
typename ResourcesIncludedT = Resource>
167 m_resourcesIncludedHasBeenSet =
true;
168 m_resourcesIncluded.emplace_back(std::forward<ResourcesIncludedT>(value));
181 template <
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
183 m_attributesHasBeenSet =
true;
184 m_attributes = std::forward<AttributesT>(value);
186 template <
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
191 template <
typename AttributesKeyT = Aws::String,
typename AttributesValueT = Aws::String>
193 m_attributesHasBeenSet =
true;
194 m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value));
206 template <
typename IamIdT = Aws::String>
208 m_iamIdHasBeenSet =
true;
209 m_iamId = std::forward<IamIdT>(value);
211 template <
typename IamIdT = Aws::String>
213 SetIamId(std::forward<IamIdT>(value));
235 template <
typename ComplianceCheckT = Aws::String>
237 m_complianceCheckHasBeenSet =
true;
238 m_complianceCheck = std::forward<ComplianceCheckT>(value);
240 template <
typename ComplianceCheckT = Aws::String>
254 template <
typename AwsOrganizationT = Aws::String>
256 m_awsOrganizationHasBeenSet =
true;
257 m_awsOrganization = std::forward<AwsOrganizationT>(value);
259 template <
typename AwsOrganizationT = Aws::String>
272 template <
typename AwsAccountIdT = Aws::String>
274 m_awsAccountIdHasBeenSet =
true;
275 m_awsAccountId = std::forward<AwsAccountIdT>(value);
277 template <
typename AwsAccountIdT = Aws::String>
290 template <
typename Ev
idenceFolderIdT = Aws::String>
292 m_evidenceFolderIdHasBeenSet =
true;
293 m_evidenceFolderId = std::forward<EvidenceFolderIdT>(value);
295 template <
typename Ev
idenceFolderIdT = Aws::String>
308 template <
typename IdT = Aws::String>
310 m_idHasBeenSet =
true;
311 m_id = std::forward<IdT>(value);
313 template <
typename IdT = Aws::String>
315 SetId(std::forward<IdT>(value));
326 template <
typename AssessmentReportSelectionT = Aws::String>
328 m_assessmentReportSelectionHasBeenSet =
true;
329 m_assessmentReportSelection = std::forward<AssessmentReportSelectionT>(value);
331 template <
typename AssessmentReportSelectionT = Aws::String>
367 bool m_dataSourceHasBeenSet =
false;
368 bool m_evidenceAwsAccountIdHasBeenSet =
false;
369 bool m_timeHasBeenSet =
false;
370 bool m_eventSourceHasBeenSet =
false;
371 bool m_eventNameHasBeenSet =
false;
372 bool m_evidenceByTypeHasBeenSet =
false;
373 bool m_resourcesIncludedHasBeenSet =
false;
374 bool m_attributesHasBeenSet =
false;
375 bool m_iamIdHasBeenSet =
false;
376 bool m_complianceCheckHasBeenSet =
false;
377 bool m_awsOrganizationHasBeenSet =
false;
378 bool m_awsAccountIdHasBeenSet =
false;
379 bool m_evidenceFolderIdHasBeenSet =
false;
380 bool m_idHasBeenSet =
false;
381 bool m_assessmentReportSelectionHasBeenSet =
false;
void SetAwsAccountId(AwsAccountIdT &&value)
Evidence & WithId(IdT &&value)
void SetResourcesIncluded(ResourcesIncludedT &&value)
bool EventNameHasBeenSet() const
const Aws::String & GetAssessmentReportSelection() const
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
bool EvidenceFolderIdHasBeenSet() const
bool DataSourceHasBeenSet() const
const Aws::String & GetAwsOrganization() const
AWS_AUDITMANAGER_API Evidence & operator=(Aws::Utils::Json::JsonView jsonValue)
bool AttributesHasBeenSet() const
bool IdHasBeenSet() const
Evidence & WithDataSource(DataSourceT &&value)
void SetTime(TimeT &&value)
void SetEvidenceByType(EvidenceByTypeT &&value)
const Aws::String & GetDataSource() const
const Aws::String & GetEvidenceByType() const
const Aws::Vector< Resource > & GetResourcesIncluded() const
const Aws::String & GetIamId() const
AWS_AUDITMANAGER_API Evidence()=default
const Aws::String & GetEvidenceAwsAccountId() const
bool EvidenceAwsAccountIdHasBeenSet() const
const Aws::Utils::DateTime & GetTime() const
Evidence & WithAwsOrganization(AwsOrganizationT &&value)
AWS_AUDITMANAGER_API Evidence(Aws::Utils::Json::JsonView jsonValue)
Evidence & WithEventSource(EventSourceT &&value)
bool AssessmentReportSelectionHasBeenSet() const
void SetAwsOrganization(AwsOrganizationT &&value)
void SetEvidenceFolderId(EvidenceFolderIdT &&value)
bool ResourcesIncludedHasBeenSet() const
const Aws::String & GetEventSource() const
Evidence & WithResourcesIncluded(ResourcesIncludedT &&value)
bool AwsOrganizationHasBeenSet() const
const Aws::String & GetEventName() const
void SetDataSource(DataSourceT &&value)
bool EvidenceByTypeHasBeenSet() const
Evidence & WithEvidenceAwsAccountId(EvidenceAwsAccountIdT &&value)
const Aws::String & GetComplianceCheck() const
bool TimeHasBeenSet() const
Evidence & WithEvidenceByType(EvidenceByTypeT &&value)
Evidence & WithEvidenceFolderId(EvidenceFolderIdT &&value)
const Aws::String & GetId() const
void SetEventName(EventNameT &&value)
void SetAssessmentReportSelection(AssessmentReportSelectionT &&value)
Evidence & WithIamId(IamIdT &&value)
Evidence & WithAwsAccountId(AwsAccountIdT &&value)
Evidence & WithComplianceCheck(ComplianceCheckT &&value)
Evidence & AddResourcesIncluded(ResourcesIncludedT &&value)
Evidence & WithEventName(EventNameT &&value)
Evidence & WithAttributes(AttributesT &&value)
void SetAttributes(AttributesT &&value)
bool IamIdHasBeenSet() const
AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetAwsAccountId() const
Evidence & AddAttributes(AttributesKeyT &&key, AttributesValueT &&value)
void SetIamId(IamIdT &&value)
void SetEvidenceAwsAccountId(EvidenceAwsAccountIdT &&value)
bool AwsAccountIdHasBeenSet() const
Evidence & WithTime(TimeT &&value)
void SetComplianceCheck(ComplianceCheckT &&value)
void SetEventSource(EventSourceT &&value)
bool EventSourceHasBeenSet() const
bool ComplianceCheckHasBeenSet() const
const Aws::String & GetEvidenceFolderId() const
Evidence & WithAssessmentReportSelection(AssessmentReportSelectionT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue