7#include <aws/auditmanager/AuditManager_EXPORTS.h>
8#include <aws/auditmanager/model/ControlComment.h>
9#include <aws/auditmanager/model/ControlResponse.h>
10#include <aws/auditmanager/model/ControlStatus.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
23namespace AuditManager {
45 template <
typename IdT = Aws::String>
47 m_idHasBeenSet =
true;
48 m_id = std::forward<IdT>(value);
50 template <
typename IdT = Aws::String>
52 SetId(std::forward<IdT>(value));
63 template <
typename NameT = Aws::String>
65 m_nameHasBeenSet =
true;
66 m_name = std::forward<NameT>(value);
68 template <
typename NameT = Aws::String>
70 SetName(std::forward<NameT>(value));
82 m_statusHasBeenSet =
true;
98 m_responseHasBeenSet =
true;
113 template <
typename CommentsT = Aws::Vector<ControlComment>>
115 m_commentsHasBeenSet =
true;
116 m_comments = std::forward<CommentsT>(value);
118 template <
typename CommentsT = Aws::Vector<ControlComment>>
123 template <
typename CommentsT = ControlComment>
125 m_commentsHasBeenSet =
true;
126 m_comments.emplace_back(std::forward<CommentsT>(value));
137 template <
typename Ev
idenceSourcesT = Aws::Vector<Aws::String>>
139 m_evidenceSourcesHasBeenSet =
true;
140 m_evidenceSources = std::forward<EvidenceSourcesT>(value);
142 template <
typename Ev
idenceSourcesT = Aws::Vector<Aws::String>>
147 template <
typename Ev
idenceSourcesT = Aws::String>
149 m_evidenceSourcesHasBeenSet =
true;
150 m_evidenceSources.emplace_back(std::forward<EvidenceSourcesT>(value));
162 m_evidenceCountHasBeenSet =
true;
163 m_evidenceCount = value;
178 m_assessmentReportEvidenceCountHasBeenSet =
true;
179 m_assessmentReportEvidenceCount = value;
199 int m_evidenceCount{0};
201 int m_assessmentReportEvidenceCount{0};
202 bool m_idHasBeenSet =
false;
203 bool m_nameHasBeenSet =
false;
204 bool m_statusHasBeenSet =
false;
205 bool m_responseHasBeenSet =
false;
206 bool m_commentsHasBeenSet =
false;
207 bool m_evidenceSourcesHasBeenSet =
false;
208 bool m_evidenceCountHasBeenSet =
false;
209 bool m_assessmentReportEvidenceCountHasBeenSet =
false;
bool AssessmentReportEvidenceCountHasBeenSet() const
int GetAssessmentReportEvidenceCount() const
AWS_AUDITMANAGER_API AssessmentControl & operator=(Aws::Utils::Json::JsonView jsonValue)
bool IdHasBeenSet() const
AssessmentControl & WithName(NameT &&value)
bool NameHasBeenSet() const
void SetComments(CommentsT &&value)
AssessmentControl & WithComments(CommentsT &&value)
AWS_AUDITMANAGER_API AssessmentControl(Aws::Utils::Json::JsonView jsonValue)
bool EvidenceCountHasBeenSet() const
void SetEvidenceSources(EvidenceSourcesT &&value)
AssessmentControl & AddEvidenceSources(EvidenceSourcesT &&value)
int GetEvidenceCount() const
void SetAssessmentReportEvidenceCount(int value)
bool ResponseHasBeenSet() const
void SetStatus(ControlStatus value)
bool CommentsHasBeenSet() const
ControlResponse GetResponse() const
AssessmentControl & WithResponse(ControlResponse value)
AssessmentControl & AddComments(CommentsT &&value)
void SetName(NameT &&value)
const Aws::String & GetId() const
ControlStatus GetStatus() const
AssessmentControl & WithEvidenceSources(EvidenceSourcesT &&value)
AssessmentControl & WithId(IdT &&value)
void SetEvidenceCount(int value)
const Aws::String & GetName() const
bool EvidenceSourcesHasBeenSet() const
AssessmentControl & WithAssessmentReportEvidenceCount(int value)
void SetResponse(ControlResponse value)
AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
AssessmentControl & WithStatus(ControlStatus value)
AWS_AUDITMANAGER_API AssessmentControl()=default
bool StatusHasBeenSet() const
const Aws::Vector< ControlComment > & GetComments() const
const Aws::Vector< Aws::String > & GetEvidenceSources() const
AssessmentControl & WithEvidenceCount(int 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