AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
ManualEvidence.h
1
6#pragma once
7#include <aws/auditmanager/AuditManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace AuditManager {
20namespace Model {
21
31 public:
32 AWS_AUDITMANAGER_API ManualEvidence() = default;
33 AWS_AUDITMANAGER_API ManualEvidence(Aws::Utils::Json::JsonView jsonValue);
34 AWS_AUDITMANAGER_API ManualEvidence& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetS3ResourcePath() const { return m_s3ResourcePath; }
42 inline bool S3ResourcePathHasBeenSet() const { return m_s3ResourcePathHasBeenSet; }
43 template <typename S3ResourcePathT = Aws::String>
44 void SetS3ResourcePath(S3ResourcePathT&& value) {
45 m_s3ResourcePathHasBeenSet = true;
46 m_s3ResourcePath = std::forward<S3ResourcePathT>(value);
47 }
48 template <typename S3ResourcePathT = Aws::String>
49 ManualEvidence& WithS3ResourcePath(S3ResourcePathT&& value) {
50 SetS3ResourcePath(std::forward<S3ResourcePathT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetTextResponse() const { return m_textResponse; }
60 inline bool TextResponseHasBeenSet() const { return m_textResponseHasBeenSet; }
61 template <typename TextResponseT = Aws::String>
62 void SetTextResponse(TextResponseT&& value) {
63 m_textResponseHasBeenSet = true;
64 m_textResponse = std::forward<TextResponseT>(value);
65 }
66 template <typename TextResponseT = Aws::String>
67 ManualEvidence& WithTextResponse(TextResponseT&& value) {
68 SetTextResponse(std::forward<TextResponseT>(value));
69 return *this;
70 }
72
74
80 inline const Aws::String& GetEvidenceFileName() const { return m_evidenceFileName; }
81 inline bool EvidenceFileNameHasBeenSet() const { return m_evidenceFileNameHasBeenSet; }
82 template <typename EvidenceFileNameT = Aws::String>
83 void SetEvidenceFileName(EvidenceFileNameT&& value) {
84 m_evidenceFileNameHasBeenSet = true;
85 m_evidenceFileName = std::forward<EvidenceFileNameT>(value);
86 }
87 template <typename EvidenceFileNameT = Aws::String>
88 ManualEvidence& WithEvidenceFileName(EvidenceFileNameT&& value) {
89 SetEvidenceFileName(std::forward<EvidenceFileNameT>(value));
90 return *this;
91 }
93 private:
94 Aws::String m_s3ResourcePath;
95
96 Aws::String m_textResponse;
97
98 Aws::String m_evidenceFileName;
99 bool m_s3ResourcePathHasBeenSet = false;
100 bool m_textResponseHasBeenSet = false;
101 bool m_evidenceFileNameHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace AuditManager
106} // namespace Aws
const Aws::String & GetTextResponse() const
AWS_AUDITMANAGER_API ManualEvidence()=default
ManualEvidence & WithTextResponse(TextResponseT &&value)
ManualEvidence & WithS3ResourcePath(S3ResourcePathT &&value)
ManualEvidence & WithEvidenceFileName(EvidenceFileNameT &&value)
void SetTextResponse(TextResponseT &&value)
AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetEvidenceFileName() const
const Aws::String & GetS3ResourcePath() const
void SetS3ResourcePath(S3ResourcePathT &&value)
AWS_AUDITMANAGER_API ManualEvidence(Aws::Utils::Json::JsonView jsonValue)
AWS_AUDITMANAGER_API ManualEvidence & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEvidenceFileName(EvidenceFileNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue