AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetAutomatedDiscoveryConfigurationResult.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/macie2/model/AutoEnableMode.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/macie2/model/AutomatedDiscoveryStatus.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace Macie2
27{
28namespace Model
29{
31 {
32 public:
33 AWS_MACIE2_API GetAutomatedDiscoveryConfigurationResult() = default;
36
37
39
45 inline AutoEnableMode GetAutoEnableOrganizationMembers() const { return m_autoEnableOrganizationMembers; }
46 inline void SetAutoEnableOrganizationMembers(AutoEnableMode value) { m_autoEnableOrganizationMembersHasBeenSet = true; m_autoEnableOrganizationMembers = value; }
49
51
56 inline const Aws::String& GetClassificationScopeId() const { return m_classificationScopeId; }
57 template<typename ClassificationScopeIdT = Aws::String>
58 void SetClassificationScopeId(ClassificationScopeIdT&& value) { m_classificationScopeIdHasBeenSet = true; m_classificationScopeId = std::forward<ClassificationScopeIdT>(value); }
59 template<typename ClassificationScopeIdT = Aws::String>
60 GetAutomatedDiscoveryConfigurationResult& WithClassificationScopeId(ClassificationScopeIdT&& value) { SetClassificationScopeId(std::forward<ClassificationScopeIdT>(value)); return *this;}
62
64
69 inline const Aws::Utils::DateTime& GetDisabledAt() const { return m_disabledAt; }
70 template<typename DisabledAtT = Aws::Utils::DateTime>
71 void SetDisabledAt(DisabledAtT&& value) { m_disabledAtHasBeenSet = true; m_disabledAt = std::forward<DisabledAtT>(value); }
72 template<typename DisabledAtT = Aws::Utils::DateTime>
73 GetAutomatedDiscoveryConfigurationResult& WithDisabledAt(DisabledAtT&& value) { SetDisabledAt(std::forward<DisabledAtT>(value)); return *this;}
75
77
82 inline const Aws::Utils::DateTime& GetFirstEnabledAt() const { return m_firstEnabledAt; }
83 template<typename FirstEnabledAtT = Aws::Utils::DateTime>
84 void SetFirstEnabledAt(FirstEnabledAtT&& value) { m_firstEnabledAtHasBeenSet = true; m_firstEnabledAt = std::forward<FirstEnabledAtT>(value); }
85 template<typename FirstEnabledAtT = Aws::Utils::DateTime>
86 GetAutomatedDiscoveryConfigurationResult& WithFirstEnabledAt(FirstEnabledAtT&& value) { SetFirstEnabledAt(std::forward<FirstEnabledAtT>(value)); return *this;}
88
90
95 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
96 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
97 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
98 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
99 GetAutomatedDiscoveryConfigurationResult& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
101
103
109 inline const Aws::String& GetSensitivityInspectionTemplateId() const { return m_sensitivityInspectionTemplateId; }
110 template<typename SensitivityInspectionTemplateIdT = Aws::String>
111 void SetSensitivityInspectionTemplateId(SensitivityInspectionTemplateIdT&& value) { m_sensitivityInspectionTemplateIdHasBeenSet = true; m_sensitivityInspectionTemplateId = std::forward<SensitivityInspectionTemplateIdT>(value); }
112 template<typename SensitivityInspectionTemplateIdT = Aws::String>
113 GetAutomatedDiscoveryConfigurationResult& WithSensitivityInspectionTemplateId(SensitivityInspectionTemplateIdT&& value) { SetSensitivityInspectionTemplateId(std::forward<SensitivityInspectionTemplateIdT>(value)); return *this;}
115
117
123 inline AutomatedDiscoveryStatus GetStatus() const { return m_status; }
124 inline void SetStatus(AutomatedDiscoveryStatus value) { m_statusHasBeenSet = true; m_status = value; }
127
129
130 inline const Aws::String& GetRequestId() const { return m_requestId; }
131 template<typename RequestIdT = Aws::String>
132 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
133 template<typename RequestIdT = Aws::String>
134 GetAutomatedDiscoveryConfigurationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
136 private:
137
138 AutoEnableMode m_autoEnableOrganizationMembers{AutoEnableMode::NOT_SET};
139 bool m_autoEnableOrganizationMembersHasBeenSet = false;
140
141 Aws::String m_classificationScopeId;
142 bool m_classificationScopeIdHasBeenSet = false;
143
144 Aws::Utils::DateTime m_disabledAt{};
145 bool m_disabledAtHasBeenSet = false;
146
147 Aws::Utils::DateTime m_firstEnabledAt{};
148 bool m_firstEnabledAtHasBeenSet = false;
149
150 Aws::Utils::DateTime m_lastUpdatedAt{};
151 bool m_lastUpdatedAtHasBeenSet = false;
152
153 Aws::String m_sensitivityInspectionTemplateId;
154 bool m_sensitivityInspectionTemplateIdHasBeenSet = false;
155
157 bool m_statusHasBeenSet = false;
158
159 Aws::String m_requestId;
160 bool m_requestIdHasBeenSet = false;
161 };
162
163} // namespace Model
164} // namespace Macie2
165} // 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