AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EvidenceFinderEnablement.h
1
6#pragma once
7#include <aws/auditmanager/AuditManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/auditmanager/model/EvidenceFinderEnablementStatus.h>
10#include <aws/auditmanager/model/EvidenceFinderBackfillStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace AuditManager
24{
25namespace Model
26{
27
37 {
38 public:
39 AWS_AUDITMANAGER_API EvidenceFinderEnablement();
42 AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
51 inline const Aws::String& GetEventDataStoreArn() const{ return m_eventDataStoreArn; }
52 inline bool EventDataStoreArnHasBeenSet() const { return m_eventDataStoreArnHasBeenSet; }
53 inline void SetEventDataStoreArn(const Aws::String& value) { m_eventDataStoreArnHasBeenSet = true; m_eventDataStoreArn = value; }
54 inline void SetEventDataStoreArn(Aws::String&& value) { m_eventDataStoreArnHasBeenSet = true; m_eventDataStoreArn = std::move(value); }
55 inline void SetEventDataStoreArn(const char* value) { m_eventDataStoreArnHasBeenSet = true; m_eventDataStoreArn.assign(value); }
57 inline EvidenceFinderEnablement& WithEventDataStoreArn(Aws::String&& value) { SetEventDataStoreArn(std::move(value)); return *this;}
58 inline EvidenceFinderEnablement& WithEventDataStoreArn(const char* value) { SetEventDataStoreArn(value); return *this;}
60
62
78 inline const EvidenceFinderEnablementStatus& GetEnablementStatus() const{ return m_enablementStatus; }
79 inline bool EnablementStatusHasBeenSet() const { return m_enablementStatusHasBeenSet; }
80 inline void SetEnablementStatus(const EvidenceFinderEnablementStatus& value) { m_enablementStatusHasBeenSet = true; m_enablementStatus = value; }
81 inline void SetEnablementStatus(EvidenceFinderEnablementStatus&& value) { m_enablementStatusHasBeenSet = true; m_enablementStatus = std::move(value); }
85
87
98 inline const EvidenceFinderBackfillStatus& GetBackfillStatus() const{ return m_backfillStatus; }
99 inline bool BackfillStatusHasBeenSet() const { return m_backfillStatusHasBeenSet; }
100 inline void SetBackfillStatus(const EvidenceFinderBackfillStatus& value) { m_backfillStatusHasBeenSet = true; m_backfillStatus = value; }
101 inline void SetBackfillStatus(EvidenceFinderBackfillStatus&& value) { m_backfillStatusHasBeenSet = true; m_backfillStatus = std::move(value); }
105
107
111 inline const Aws::String& GetError() const{ return m_error; }
112 inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
113 inline void SetError(const Aws::String& value) { m_errorHasBeenSet = true; m_error = value; }
114 inline void SetError(Aws::String&& value) { m_errorHasBeenSet = true; m_error = std::move(value); }
115 inline void SetError(const char* value) { m_errorHasBeenSet = true; m_error.assign(value); }
116 inline EvidenceFinderEnablement& WithError(const Aws::String& value) { SetError(value); return *this;}
117 inline EvidenceFinderEnablement& WithError(Aws::String&& value) { SetError(std::move(value)); return *this;}
118 inline EvidenceFinderEnablement& WithError(const char* value) { SetError(value); return *this;}
120 private:
121
122 Aws::String m_eventDataStoreArn;
123 bool m_eventDataStoreArnHasBeenSet = false;
124
125 EvidenceFinderEnablementStatus m_enablementStatus;
126 bool m_enablementStatusHasBeenSet = false;
127
128 EvidenceFinderBackfillStatus m_backfillStatus;
129 bool m_backfillStatusHasBeenSet = false;
130
131 Aws::String m_error;
132 bool m_errorHasBeenSet = false;
133 };
134
135} // namespace Model
136} // namespace AuditManager
137} // namespace Aws
EvidenceFinderEnablement & WithEnablementStatus(const EvidenceFinderEnablementStatus &value)
EvidenceFinderEnablement & WithError(Aws::String &&value)
AWS_AUDITMANAGER_API EvidenceFinderEnablement(Aws::Utils::Json::JsonView jsonValue)
EvidenceFinderEnablement & WithError(const char *value)
EvidenceFinderEnablement & WithEventDataStoreArn(Aws::String &&value)
const EvidenceFinderEnablementStatus & GetEnablementStatus() const
AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetBackfillStatus(const EvidenceFinderBackfillStatus &value)
void SetEnablementStatus(EvidenceFinderEnablementStatus &&value)
EvidenceFinderEnablement & WithEnablementStatus(EvidenceFinderEnablementStatus &&value)
EvidenceFinderEnablement & WithEventDataStoreArn(const Aws::String &value)
EvidenceFinderEnablement & WithBackfillStatus(EvidenceFinderBackfillStatus &&value)
EvidenceFinderEnablement & WithError(const Aws::String &value)
EvidenceFinderEnablement & WithBackfillStatus(const EvidenceFinderBackfillStatus &value)
const EvidenceFinderBackfillStatus & GetBackfillStatus() const
AWS_AUDITMANAGER_API EvidenceFinderEnablement & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetBackfillStatus(EvidenceFinderBackfillStatus &&value)
void SetEnablementStatus(const EvidenceFinderEnablementStatus &value)
EvidenceFinderEnablement & WithEventDataStoreArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue