AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetEvidenceRequest.h
1
6#pragma once
7#include <aws/auditmanager/AuditManager_EXPORTS.h>
8#include <aws/auditmanager/AuditManagerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace AuditManager
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_AUDITMANAGER_API GetEvidenceRequest();
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "GetEvidence"; }
31
32 AWS_AUDITMANAGER_API Aws::String SerializePayload() const override;
33
34
36
39 inline const Aws::String& GetAssessmentId() const{ return m_assessmentId; }
40 inline bool AssessmentIdHasBeenSet() const { return m_assessmentIdHasBeenSet; }
41 inline void SetAssessmentId(const Aws::String& value) { m_assessmentIdHasBeenSet = true; m_assessmentId = value; }
42 inline void SetAssessmentId(Aws::String&& value) { m_assessmentIdHasBeenSet = true; m_assessmentId = std::move(value); }
43 inline void SetAssessmentId(const char* value) { m_assessmentIdHasBeenSet = true; m_assessmentId.assign(value); }
44 inline GetEvidenceRequest& WithAssessmentId(const Aws::String& value) { SetAssessmentId(value); return *this;}
45 inline GetEvidenceRequest& WithAssessmentId(Aws::String&& value) { SetAssessmentId(std::move(value)); return *this;}
46 inline GetEvidenceRequest& WithAssessmentId(const char* value) { SetAssessmentId(value); return *this;}
48
50
53 inline const Aws::String& GetControlSetId() const{ return m_controlSetId; }
54 inline bool ControlSetIdHasBeenSet() const { return m_controlSetIdHasBeenSet; }
55 inline void SetControlSetId(const Aws::String& value) { m_controlSetIdHasBeenSet = true; m_controlSetId = value; }
56 inline void SetControlSetId(Aws::String&& value) { m_controlSetIdHasBeenSet = true; m_controlSetId = std::move(value); }
57 inline void SetControlSetId(const char* value) { m_controlSetIdHasBeenSet = true; m_controlSetId.assign(value); }
58 inline GetEvidenceRequest& WithControlSetId(const Aws::String& value) { SetControlSetId(value); return *this;}
59 inline GetEvidenceRequest& WithControlSetId(Aws::String&& value) { SetControlSetId(std::move(value)); return *this;}
60 inline GetEvidenceRequest& WithControlSetId(const char* value) { SetControlSetId(value); return *this;}
62
64
67 inline const Aws::String& GetEvidenceFolderId() const{ return m_evidenceFolderId; }
68 inline bool EvidenceFolderIdHasBeenSet() const { return m_evidenceFolderIdHasBeenSet; }
69 inline void SetEvidenceFolderId(const Aws::String& value) { m_evidenceFolderIdHasBeenSet = true; m_evidenceFolderId = value; }
70 inline void SetEvidenceFolderId(Aws::String&& value) { m_evidenceFolderIdHasBeenSet = true; m_evidenceFolderId = std::move(value); }
71 inline void SetEvidenceFolderId(const char* value) { m_evidenceFolderIdHasBeenSet = true; m_evidenceFolderId.assign(value); }
72 inline GetEvidenceRequest& WithEvidenceFolderId(const Aws::String& value) { SetEvidenceFolderId(value); return *this;}
73 inline GetEvidenceRequest& WithEvidenceFolderId(Aws::String&& value) { SetEvidenceFolderId(std::move(value)); return *this;}
74 inline GetEvidenceRequest& WithEvidenceFolderId(const char* value) { SetEvidenceFolderId(value); return *this;}
76
78
81 inline const Aws::String& GetEvidenceId() const{ return m_evidenceId; }
82 inline bool EvidenceIdHasBeenSet() const { return m_evidenceIdHasBeenSet; }
83 inline void SetEvidenceId(const Aws::String& value) { m_evidenceIdHasBeenSet = true; m_evidenceId = value; }
84 inline void SetEvidenceId(Aws::String&& value) { m_evidenceIdHasBeenSet = true; m_evidenceId = std::move(value); }
85 inline void SetEvidenceId(const char* value) { m_evidenceIdHasBeenSet = true; m_evidenceId.assign(value); }
86 inline GetEvidenceRequest& WithEvidenceId(const Aws::String& value) { SetEvidenceId(value); return *this;}
87 inline GetEvidenceRequest& WithEvidenceId(Aws::String&& value) { SetEvidenceId(std::move(value)); return *this;}
88 inline GetEvidenceRequest& WithEvidenceId(const char* value) { SetEvidenceId(value); return *this;}
90 private:
91
92 Aws::String m_assessmentId;
93 bool m_assessmentIdHasBeenSet = false;
94
95 Aws::String m_controlSetId;
96 bool m_controlSetIdHasBeenSet = false;
97
98 Aws::String m_evidenceFolderId;
99 bool m_evidenceFolderIdHasBeenSet = false;
100
101 Aws::String m_evidenceId;
102 bool m_evidenceIdHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace AuditManager
107} // namespace Aws
GetEvidenceRequest & WithAssessmentId(Aws::String &&value)
GetEvidenceRequest & WithEvidenceId(Aws::String &&value)
GetEvidenceRequest & WithControlSetId(Aws::String &&value)
GetEvidenceRequest & WithControlSetId(const Aws::String &value)
GetEvidenceRequest & WithAssessmentId(const char *value)
GetEvidenceRequest & WithAssessmentId(const Aws::String &value)
AWS_AUDITMANAGER_API Aws::String SerializePayload() const override
GetEvidenceRequest & WithEvidenceFolderId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
GetEvidenceRequest & WithControlSetId(const char *value)
GetEvidenceRequest & WithEvidenceFolderId(const Aws::String &value)
void SetEvidenceId(const Aws::String &value)
void SetControlSetId(const Aws::String &value)
GetEvidenceRequest & WithEvidenceFolderId(const char *value)
GetEvidenceRequest & WithEvidenceId(const char *value)
void SetAssessmentId(const Aws::String &value)
void SetEvidenceFolderId(const Aws::String &value)
GetEvidenceRequest & WithEvidenceId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String