AWS SDK for C++

AWS SDK for C++ Version 1.11.761

Loading...
Searching...
No Matches
GetAutomatedDiscoveryConfigurationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/macie2/Macie2_EXPORTS.h>
11#include <aws/macie2/model/AutoEnableMode.h>
12#include <aws/macie2/model/AutomatedDiscoveryStatus.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Macie2 {
26namespace Model {
28 public:
29 AWS_MACIE2_API GetAutomatedDiscoveryConfigurationResult() = default;
33
35
41 inline AutoEnableMode GetAutoEnableOrganizationMembers() const { return m_autoEnableOrganizationMembers; }
43 m_autoEnableOrganizationMembersHasBeenSet = true;
44 m_autoEnableOrganizationMembers = value;
45 }
48 return *this;
49 }
51
53
58 inline const Aws::String& GetClassificationScopeId() const { return m_classificationScopeId; }
59 template <typename ClassificationScopeIdT = Aws::String>
60 void SetClassificationScopeId(ClassificationScopeIdT&& value) {
61 m_classificationScopeIdHasBeenSet = true;
62 m_classificationScopeId = std::forward<ClassificationScopeIdT>(value);
63 }
64 template <typename ClassificationScopeIdT = Aws::String>
66 SetClassificationScopeId(std::forward<ClassificationScopeIdT>(value));
67 return *this;
68 }
70
72
77 inline const Aws::Utils::DateTime& GetDisabledAt() const { return m_disabledAt; }
78 template <typename DisabledAtT = Aws::Utils::DateTime>
79 void SetDisabledAt(DisabledAtT&& value) {
80 m_disabledAtHasBeenSet = true;
81 m_disabledAt = std::forward<DisabledAtT>(value);
82 }
83 template <typename DisabledAtT = Aws::Utils::DateTime>
85 SetDisabledAt(std::forward<DisabledAtT>(value));
86 return *this;
87 }
89
91
96 inline const Aws::Utils::DateTime& GetFirstEnabledAt() const { return m_firstEnabledAt; }
97 template <typename FirstEnabledAtT = Aws::Utils::DateTime>
98 void SetFirstEnabledAt(FirstEnabledAtT&& value) {
99 m_firstEnabledAtHasBeenSet = true;
100 m_firstEnabledAt = std::forward<FirstEnabledAtT>(value);
101 }
102 template <typename FirstEnabledAtT = Aws::Utils::DateTime>
104 SetFirstEnabledAt(std::forward<FirstEnabledAtT>(value));
105 return *this;
106 }
108
110
115 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
116 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
117 void SetLastUpdatedAt(LastUpdatedAtT&& value) {
118 m_lastUpdatedAtHasBeenSet = true;
119 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
120 }
121 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
123 SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value));
124 return *this;
125 }
127
129
135 inline const Aws::String& GetSensitivityInspectionTemplateId() const { return m_sensitivityInspectionTemplateId; }
136 template <typename SensitivityInspectionTemplateIdT = Aws::String>
137 void SetSensitivityInspectionTemplateId(SensitivityInspectionTemplateIdT&& value) {
138 m_sensitivityInspectionTemplateIdHasBeenSet = true;
139 m_sensitivityInspectionTemplateId = std::forward<SensitivityInspectionTemplateIdT>(value);
140 }
141 template <typename SensitivityInspectionTemplateIdT = Aws::String>
143 SetSensitivityInspectionTemplateId(std::forward<SensitivityInspectionTemplateIdT>(value));
144 return *this;
145 }
147
149
155 inline AutomatedDiscoveryStatus GetStatus() const { return m_status; }
157 m_statusHasBeenSet = true;
158 m_status = value;
159 }
161 SetStatus(value);
162 return *this;
163 }
165
167
168 inline const Aws::String& GetRequestId() const { return m_requestId; }
169 template <typename RequestIdT = Aws::String>
170 void SetRequestId(RequestIdT&& value) {
171 m_requestIdHasBeenSet = true;
172 m_requestId = std::forward<RequestIdT>(value);
173 }
174 template <typename RequestIdT = Aws::String>
176 SetRequestId(std::forward<RequestIdT>(value));
177 return *this;
178 }
180 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
181
182 private:
183 AutoEnableMode m_autoEnableOrganizationMembers{AutoEnableMode::NOT_SET};
184
185 Aws::String m_classificationScopeId;
186
187 Aws::Utils::DateTime m_disabledAt{};
188
189 Aws::Utils::DateTime m_firstEnabledAt{};
190
191 Aws::Utils::DateTime m_lastUpdatedAt{};
192
193 Aws::String m_sensitivityInspectionTemplateId;
194
196
197 Aws::String m_requestId;
198 Aws::Http::HttpResponseCode m_HttpResponseCode;
199 bool m_autoEnableOrganizationMembersHasBeenSet = false;
200 bool m_classificationScopeIdHasBeenSet = false;
201 bool m_disabledAtHasBeenSet = false;
202 bool m_firstEnabledAtHasBeenSet = false;
203 bool m_lastUpdatedAtHasBeenSet = false;
204 bool m_sensitivityInspectionTemplateIdHasBeenSet = false;
205 bool m_statusHasBeenSet = false;
206 bool m_requestIdHasBeenSet = false;
207};
208
209} // namespace Model
210} // namespace Macie2
211} // namespace Aws
GetAutomatedDiscoveryConfigurationResult & WithRequestId(RequestIdT &&value)
GetAutomatedDiscoveryConfigurationResult & WithDisabledAt(DisabledAtT &&value)
AWS_MACIE2_API GetAutomatedDiscoveryConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAutomatedDiscoveryConfigurationResult & WithStatus(AutomatedDiscoveryStatus value)
AWS_MACIE2_API GetAutomatedDiscoveryConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAutomatedDiscoveryConfigurationResult & WithLastUpdatedAt(LastUpdatedAtT &&value)
GetAutomatedDiscoveryConfigurationResult & WithFirstEnabledAt(FirstEnabledAtT &&value)
GetAutomatedDiscoveryConfigurationResult & WithSensitivityInspectionTemplateId(SensitivityInspectionTemplateIdT &&value)
GetAutomatedDiscoveryConfigurationResult & WithAutoEnableOrganizationMembers(AutoEnableMode value)
GetAutomatedDiscoveryConfigurationResult & WithClassificationScopeId(ClassificationScopeIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue