7#include <aws/auditmanager/AuditManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/auditmanager/model/Resource.h>
53 template<
typename DataSourceT = Aws::String>
54 void SetDataSource(DataSourceT&& value) { m_dataSourceHasBeenSet =
true; m_dataSource = std::forward<DataSourceT>(value); }
55 template<
typename DataSourceT = Aws::String>
65 template<
typename Ev
idenceAwsAccountIdT = Aws::String>
66 void SetEvidenceAwsAccountId(EvidenceAwsAccountIdT&& value) { m_evidenceAwsAccountIdHasBeenSet =
true; m_evidenceAwsAccountId = std::forward<EvidenceAwsAccountIdT>(value); }
67 template<
typename Ev
idenceAwsAccountIdT = Aws::String>
77 template<
typename TimeT = Aws::Utils::DateTime>
78 void SetTime(TimeT&& value) { m_timeHasBeenSet =
true; m_time = std::forward<TimeT>(value); }
79 template<
typename TimeT = Aws::Utils::DateTime>
89 template<
typename EventSourceT = Aws::String>
90 void SetEventSource(EventSourceT&& value) { m_eventSourceHasBeenSet =
true; m_eventSource = std::forward<EventSourceT>(value); }
91 template<
typename EventSourceT = Aws::String>
101 template<
typename EventNameT = Aws::String>
102 void SetEventName(EventNameT&& value) { m_eventNameHasBeenSet =
true; m_eventName = std::forward<EventNameT>(value); }
103 template<
typename EventNameT = Aws::String>
113 template<
typename Ev
idenceByTypeT = Aws::String>
114 void SetEvidenceByType(EvidenceByTypeT&& value) { m_evidenceByTypeHasBeenSet =
true; m_evidenceByType = std::forward<EvidenceByTypeT>(value); }
115 template<
typename Ev
idenceByTypeT = Aws::String>
125 template<
typename ResourcesIncludedT = Aws::Vector<Resource>>
126 void SetResourcesIncluded(ResourcesIncludedT&& value) { m_resourcesIncludedHasBeenSet =
true; m_resourcesIncluded = std::forward<ResourcesIncludedT>(value); }
127 template<
typename ResourcesIncludedT = Aws::Vector<Resource>>
129 template<
typename ResourcesIncludedT = Resource>
130 Evidence&
AddResourcesIncluded(ResourcesIncludedT&& value) { m_resourcesIncludedHasBeenSet =
true; m_resourcesIncluded.emplace_back(std::forward<ResourcesIncludedT>(value));
return *
this; }
141 template<
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
142 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet =
true; m_attributes = std::forward<AttributesT>(value); }
143 template<
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
145 template<
typename AttributesKeyT = Aws::String,
typename AttributesValueT = Aws::String>
147 m_attributesHasBeenSet =
true; m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value));
return *
this;
158 template<
typename IamIdT = Aws::String>
159 void SetIamId(IamIdT&& value) { m_iamIdHasBeenSet =
true; m_iamId = std::forward<IamIdT>(value); }
160 template<
typename IamIdT = Aws::String>
181 template<
typename ComplianceCheckT = Aws::String>
182 void SetComplianceCheck(ComplianceCheckT&& value) { m_complianceCheckHasBeenSet =
true; m_complianceCheck = std::forward<ComplianceCheckT>(value); }
183 template<
typename ComplianceCheckT = Aws::String>
194 template<
typename AwsOrganizationT = Aws::String>
195 void SetAwsOrganization(AwsOrganizationT&& value) { m_awsOrganizationHasBeenSet =
true; m_awsOrganization = std::forward<AwsOrganizationT>(value); }
196 template<
typename AwsOrganizationT = Aws::String>
206 template<
typename AwsAccountIdT = Aws::String>
207 void SetAwsAccountId(AwsAccountIdT&& value) { m_awsAccountIdHasBeenSet =
true; m_awsAccountId = std::forward<AwsAccountIdT>(value); }
208 template<
typename AwsAccountIdT = Aws::String>
218 template<
typename Ev
idenceFolderIdT = Aws::String>
219 void SetEvidenceFolderId(EvidenceFolderIdT&& value) { m_evidenceFolderIdHasBeenSet =
true; m_evidenceFolderId = std::forward<EvidenceFolderIdT>(value); }
220 template<
typename Ev
idenceFolderIdT = Aws::String>
230 template<
typename IdT = Aws::String>
231 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
232 template<
typename IdT = Aws::String>
242 template<
typename AssessmentReportSelectionT = Aws::String>
243 void SetAssessmentReportSelection(AssessmentReportSelectionT&& value) { m_assessmentReportSelectionHasBeenSet =
true; m_assessmentReportSelection = std::forward<AssessmentReportSelectionT>(value); }
244 template<
typename AssessmentReportSelectionT = Aws::String>
250 bool m_dataSourceHasBeenSet =
false;
253 bool m_evidenceAwsAccountIdHasBeenSet =
false;
256 bool m_timeHasBeenSet =
false;
259 bool m_eventSourceHasBeenSet =
false;
262 bool m_eventNameHasBeenSet =
false;
265 bool m_evidenceByTypeHasBeenSet =
false;
268 bool m_resourcesIncludedHasBeenSet =
false;
271 bool m_attributesHasBeenSet =
false;
274 bool m_iamIdHasBeenSet =
false;
277 bool m_complianceCheckHasBeenSet =
false;
280 bool m_awsOrganizationHasBeenSet =
false;
283 bool m_awsAccountIdHasBeenSet =
false;
286 bool m_evidenceFolderIdHasBeenSet =
false;
289 bool m_idHasBeenSet =
false;
292 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