AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
BatchDeleteConfigurationTask.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/discovery/ApplicationDiscoveryService_EXPORTS.h>
11#include <aws/discovery/model/BatchDeleteConfigurationTaskStatus.h>
12#include <aws/discovery/model/DeletionConfigurationItemType.h>
13#include <aws/discovery/model/DeletionWarning.h>
14#include <aws/discovery/model/FailedConfiguration.h>
15
16#include <utility>
17
18namespace Aws {
19namespace Utils {
20namespace Json {
21class JsonValue;
22class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace ApplicationDiscoveryService {
26namespace Model {
27
35 public:
36 AWS_APPLICATIONDISCOVERYSERVICE_API BatchDeleteConfigurationTask() = default;
37 AWS_APPLICATIONDISCOVERYSERVICE_API BatchDeleteConfigurationTask(Aws::Utils::Json::JsonView jsonValue);
38 AWS_APPLICATIONDISCOVERYSERVICE_API BatchDeleteConfigurationTask& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
45 inline const Aws::String& GetTaskId() const { return m_taskId; }
46 inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; }
47 template <typename TaskIdT = Aws::String>
48 void SetTaskId(TaskIdT&& value) {
49 m_taskIdHasBeenSet = true;
50 m_taskId = std::forward<TaskIdT>(value);
51 }
52 template <typename TaskIdT = Aws::String>
54 SetTaskId(std::forward<TaskIdT>(value));
55 return *this;
56 }
58
60
64 inline BatchDeleteConfigurationTaskStatus GetStatus() const { return m_status; }
65 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
67 m_statusHasBeenSet = true;
68 m_status = value;
69 }
71 SetStatus(value);
72 return *this;
73 }
75
77
80 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
81 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
82 template <typename StartTimeT = Aws::Utils::DateTime>
83 void SetStartTime(StartTimeT&& value) {
84 m_startTimeHasBeenSet = true;
85 m_startTime = std::forward<StartTimeT>(value);
86 }
87 template <typename StartTimeT = Aws::Utils::DateTime>
89 SetStartTime(std::forward<StartTimeT>(value));
90 return *this;
91 }
93
95
99 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
100 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
101 template <typename EndTimeT = Aws::Utils::DateTime>
102 void SetEndTime(EndTimeT&& value) {
103 m_endTimeHasBeenSet = true;
104 m_endTime = std::forward<EndTimeT>(value);
105 }
106 template <typename EndTimeT = Aws::Utils::DateTime>
108 SetEndTime(std::forward<EndTimeT>(value));
109 return *this;
110 }
112
114
117 inline DeletionConfigurationItemType GetConfigurationType() const { return m_configurationType; }
118 inline bool ConfigurationTypeHasBeenSet() const { return m_configurationTypeHasBeenSet; }
120 m_configurationTypeHasBeenSet = true;
121 m_configurationType = value;
122 }
125 return *this;
126 }
128
130
134 inline const Aws::Vector<Aws::String>& GetRequestedConfigurations() const { return m_requestedConfigurations; }
135 inline bool RequestedConfigurationsHasBeenSet() const { return m_requestedConfigurationsHasBeenSet; }
136 template <typename RequestedConfigurationsT = Aws::Vector<Aws::String>>
137 void SetRequestedConfigurations(RequestedConfigurationsT&& value) {
138 m_requestedConfigurationsHasBeenSet = true;
139 m_requestedConfigurations = std::forward<RequestedConfigurationsT>(value);
140 }
141 template <typename RequestedConfigurationsT = Aws::Vector<Aws::String>>
143 SetRequestedConfigurations(std::forward<RequestedConfigurationsT>(value));
144 return *this;
145 }
146 template <typename RequestedConfigurationsT = Aws::String>
147 BatchDeleteConfigurationTask& AddRequestedConfigurations(RequestedConfigurationsT&& value) {
148 m_requestedConfigurationsHasBeenSet = true;
149 m_requestedConfigurations.emplace_back(std::forward<RequestedConfigurationsT>(value));
150 return *this;
151 }
153
155
159 inline const Aws::Vector<Aws::String>& GetDeletedConfigurations() const { return m_deletedConfigurations; }
160 inline bool DeletedConfigurationsHasBeenSet() const { return m_deletedConfigurationsHasBeenSet; }
161 template <typename DeletedConfigurationsT = Aws::Vector<Aws::String>>
162 void SetDeletedConfigurations(DeletedConfigurationsT&& value) {
163 m_deletedConfigurationsHasBeenSet = true;
164 m_deletedConfigurations = std::forward<DeletedConfigurationsT>(value);
165 }
166 template <typename DeletedConfigurationsT = Aws::Vector<Aws::String>>
168 SetDeletedConfigurations(std::forward<DeletedConfigurationsT>(value));
169 return *this;
170 }
171 template <typename DeletedConfigurationsT = Aws::String>
173 m_deletedConfigurationsHasBeenSet = true;
174 m_deletedConfigurations.emplace_back(std::forward<DeletedConfigurationsT>(value));
175 return *this;
176 }
178
180
184 inline const Aws::Vector<FailedConfiguration>& GetFailedConfigurations() const { return m_failedConfigurations; }
185 inline bool FailedConfigurationsHasBeenSet() const { return m_failedConfigurationsHasBeenSet; }
186 template <typename FailedConfigurationsT = Aws::Vector<FailedConfiguration>>
187 void SetFailedConfigurations(FailedConfigurationsT&& value) {
188 m_failedConfigurationsHasBeenSet = true;
189 m_failedConfigurations = std::forward<FailedConfigurationsT>(value);
190 }
191 template <typename FailedConfigurationsT = Aws::Vector<FailedConfiguration>>
193 SetFailedConfigurations(std::forward<FailedConfigurationsT>(value));
194 return *this;
195 }
196 template <typename FailedConfigurationsT = FailedConfiguration>
198 m_failedConfigurationsHasBeenSet = true;
199 m_failedConfigurations.emplace_back(std::forward<FailedConfigurationsT>(value));
200 return *this;
201 }
203
205
209 inline const Aws::Vector<DeletionWarning>& GetDeletionWarnings() const { return m_deletionWarnings; }
210 inline bool DeletionWarningsHasBeenSet() const { return m_deletionWarningsHasBeenSet; }
211 template <typename DeletionWarningsT = Aws::Vector<DeletionWarning>>
212 void SetDeletionWarnings(DeletionWarningsT&& value) {
213 m_deletionWarningsHasBeenSet = true;
214 m_deletionWarnings = std::forward<DeletionWarningsT>(value);
215 }
216 template <typename DeletionWarningsT = Aws::Vector<DeletionWarning>>
218 SetDeletionWarnings(std::forward<DeletionWarningsT>(value));
219 return *this;
220 }
221 template <typename DeletionWarningsT = DeletionWarning>
223 m_deletionWarningsHasBeenSet = true;
224 m_deletionWarnings.emplace_back(std::forward<DeletionWarningsT>(value));
225 return *this;
226 }
228 private:
229 Aws::String m_taskId;
230
232
233 Aws::Utils::DateTime m_startTime{};
234
235 Aws::Utils::DateTime m_endTime{};
236
238
239 Aws::Vector<Aws::String> m_requestedConfigurations;
240
241 Aws::Vector<Aws::String> m_deletedConfigurations;
242
243 Aws::Vector<FailedConfiguration> m_failedConfigurations;
244
245 Aws::Vector<DeletionWarning> m_deletionWarnings;
246 bool m_taskIdHasBeenSet = false;
247 bool m_statusHasBeenSet = false;
248 bool m_startTimeHasBeenSet = false;
249 bool m_endTimeHasBeenSet = false;
250 bool m_configurationTypeHasBeenSet = false;
251 bool m_requestedConfigurationsHasBeenSet = false;
252 bool m_deletedConfigurationsHasBeenSet = false;
253 bool m_failedConfigurationsHasBeenSet = false;
254 bool m_deletionWarningsHasBeenSet = false;
255};
256
257} // namespace Model
258} // namespace ApplicationDiscoveryService
259} // namespace Aws
AWS_APPLICATIONDISCOVERYSERVICE_API BatchDeleteConfigurationTask()=default
BatchDeleteConfigurationTask & WithRequestedConfigurations(RequestedConfigurationsT &&value)
BatchDeleteConfigurationTask & WithStatus(BatchDeleteConfigurationTaskStatus value)
BatchDeleteConfigurationTask & AddRequestedConfigurations(RequestedConfigurationsT &&value)
BatchDeleteConfigurationTask & WithFailedConfigurations(FailedConfigurationsT &&value)
AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
BatchDeleteConfigurationTask & AddDeletionWarnings(DeletionWarningsT &&value)
BatchDeleteConfigurationTask & WithDeletionWarnings(DeletionWarningsT &&value)
BatchDeleteConfigurationTask & WithConfigurationType(DeletionConfigurationItemType value)
BatchDeleteConfigurationTask & WithDeletedConfigurations(DeletedConfigurationsT &&value)
BatchDeleteConfigurationTask & AddDeletedConfigurations(DeletedConfigurationsT &&value)
BatchDeleteConfigurationTask & AddFailedConfigurations(FailedConfigurationsT &&value)
AWS_APPLICATIONDISCOVERYSERVICE_API BatchDeleteConfigurationTask(Aws::Utils::Json::JsonView jsonValue)
AWS_APPLICATIONDISCOVERYSERVICE_API BatchDeleteConfigurationTask & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue