AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchDeleteConfigurationTask.h
1
6#pragma once
7#include <aws/discovery/ApplicationDiscoveryService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/discovery/model/BatchDeleteConfigurationTaskStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/discovery/model/DeletionConfigurationItemType.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/discovery/model/FailedConfiguration.h>
14#include <aws/discovery/model/DeletionWarning.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace ApplicationDiscoveryService
28{
29namespace Model
30{
31
39 {
40 public:
41 AWS_APPLICATIONDISCOVERYSERVICE_API BatchDeleteConfigurationTask();
42 AWS_APPLICATIONDISCOVERYSERVICE_API BatchDeleteConfigurationTask(Aws::Utils::Json::JsonView jsonValue);
43 AWS_APPLICATIONDISCOVERYSERVICE_API BatchDeleteConfigurationTask& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetTaskId() const{ return m_taskId; }
52 inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; }
53 inline void SetTaskId(const Aws::String& value) { m_taskIdHasBeenSet = true; m_taskId = value; }
54 inline void SetTaskId(Aws::String&& value) { m_taskIdHasBeenSet = true; m_taskId = std::move(value); }
55 inline void SetTaskId(const char* value) { m_taskIdHasBeenSet = true; m_taskId.assign(value); }
56 inline BatchDeleteConfigurationTask& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;}
57 inline BatchDeleteConfigurationTask& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;}
58 inline BatchDeleteConfigurationTask& WithTaskId(const char* value) { SetTaskId(value); return *this;}
60
62
66 inline const BatchDeleteConfigurationTaskStatus& GetStatus() const{ return m_status; }
67 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
68 inline void SetStatus(const BatchDeleteConfigurationTaskStatus& value) { m_statusHasBeenSet = true; m_status = value; }
69 inline void SetStatus(BatchDeleteConfigurationTaskStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
71 inline BatchDeleteConfigurationTask& WithStatus(BatchDeleteConfigurationTaskStatus&& value) { SetStatus(std::move(value)); return *this;}
73
75
78 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
79 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
80 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
81 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
82 inline BatchDeleteConfigurationTask& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
83 inline BatchDeleteConfigurationTask& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
85
87
91 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
92 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
93 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
94 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
95 inline BatchDeleteConfigurationTask& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
96 inline BatchDeleteConfigurationTask& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
98
100
103 inline const DeletionConfigurationItemType& GetConfigurationType() const{ return m_configurationType; }
104 inline bool ConfigurationTypeHasBeenSet() const { return m_configurationTypeHasBeenSet; }
105 inline void SetConfigurationType(const DeletionConfigurationItemType& value) { m_configurationTypeHasBeenSet = true; m_configurationType = value; }
106 inline void SetConfigurationType(DeletionConfigurationItemType&& value) { m_configurationTypeHasBeenSet = true; m_configurationType = std::move(value); }
110
112
116 inline const Aws::Vector<Aws::String>& GetRequestedConfigurations() const{ return m_requestedConfigurations; }
117 inline bool RequestedConfigurationsHasBeenSet() const { return m_requestedConfigurationsHasBeenSet; }
118 inline void SetRequestedConfigurations(const Aws::Vector<Aws::String>& value) { m_requestedConfigurationsHasBeenSet = true; m_requestedConfigurations = value; }
119 inline void SetRequestedConfigurations(Aws::Vector<Aws::String>&& value) { m_requestedConfigurationsHasBeenSet = true; m_requestedConfigurations = std::move(value); }
122 inline BatchDeleteConfigurationTask& AddRequestedConfigurations(const Aws::String& value) { m_requestedConfigurationsHasBeenSet = true; m_requestedConfigurations.push_back(value); return *this; }
123 inline BatchDeleteConfigurationTask& AddRequestedConfigurations(Aws::String&& value) { m_requestedConfigurationsHasBeenSet = true; m_requestedConfigurations.push_back(std::move(value)); return *this; }
124 inline BatchDeleteConfigurationTask& AddRequestedConfigurations(const char* value) { m_requestedConfigurationsHasBeenSet = true; m_requestedConfigurations.push_back(value); return *this; }
126
128
132 inline const Aws::Vector<Aws::String>& GetDeletedConfigurations() const{ return m_deletedConfigurations; }
133 inline bool DeletedConfigurationsHasBeenSet() const { return m_deletedConfigurationsHasBeenSet; }
134 inline void SetDeletedConfigurations(const Aws::Vector<Aws::String>& value) { m_deletedConfigurationsHasBeenSet = true; m_deletedConfigurations = value; }
135 inline void SetDeletedConfigurations(Aws::Vector<Aws::String>&& value) { m_deletedConfigurationsHasBeenSet = true; m_deletedConfigurations = std::move(value); }
138 inline BatchDeleteConfigurationTask& AddDeletedConfigurations(const Aws::String& value) { m_deletedConfigurationsHasBeenSet = true; m_deletedConfigurations.push_back(value); return *this; }
139 inline BatchDeleteConfigurationTask& AddDeletedConfigurations(Aws::String&& value) { m_deletedConfigurationsHasBeenSet = true; m_deletedConfigurations.push_back(std::move(value)); return *this; }
140 inline BatchDeleteConfigurationTask& AddDeletedConfigurations(const char* value) { m_deletedConfigurationsHasBeenSet = true; m_deletedConfigurations.push_back(value); return *this; }
142
144
148 inline const Aws::Vector<FailedConfiguration>& GetFailedConfigurations() const{ return m_failedConfigurations; }
149 inline bool FailedConfigurationsHasBeenSet() const { return m_failedConfigurationsHasBeenSet; }
150 inline void SetFailedConfigurations(const Aws::Vector<FailedConfiguration>& value) { m_failedConfigurationsHasBeenSet = true; m_failedConfigurations = value; }
151 inline void SetFailedConfigurations(Aws::Vector<FailedConfiguration>&& value) { m_failedConfigurationsHasBeenSet = true; m_failedConfigurations = std::move(value); }
154 inline BatchDeleteConfigurationTask& AddFailedConfigurations(const FailedConfiguration& value) { m_failedConfigurationsHasBeenSet = true; m_failedConfigurations.push_back(value); return *this; }
155 inline BatchDeleteConfigurationTask& AddFailedConfigurations(FailedConfiguration&& value) { m_failedConfigurationsHasBeenSet = true; m_failedConfigurations.push_back(std::move(value)); return *this; }
157
159
163 inline const Aws::Vector<DeletionWarning>& GetDeletionWarnings() const{ return m_deletionWarnings; }
164 inline bool DeletionWarningsHasBeenSet() const { return m_deletionWarningsHasBeenSet; }
165 inline void SetDeletionWarnings(const Aws::Vector<DeletionWarning>& value) { m_deletionWarningsHasBeenSet = true; m_deletionWarnings = value; }
166 inline void SetDeletionWarnings(Aws::Vector<DeletionWarning>&& value) { m_deletionWarningsHasBeenSet = true; m_deletionWarnings = std::move(value); }
169 inline BatchDeleteConfigurationTask& AddDeletionWarnings(const DeletionWarning& value) { m_deletionWarningsHasBeenSet = true; m_deletionWarnings.push_back(value); return *this; }
170 inline BatchDeleteConfigurationTask& AddDeletionWarnings(DeletionWarning&& value) { m_deletionWarningsHasBeenSet = true; m_deletionWarnings.push_back(std::move(value)); return *this; }
172 private:
173
174 Aws::String m_taskId;
175 bool m_taskIdHasBeenSet = false;
176
178 bool m_statusHasBeenSet = false;
179
180 Aws::Utils::DateTime m_startTime;
181 bool m_startTimeHasBeenSet = false;
182
183 Aws::Utils::DateTime m_endTime;
184 bool m_endTimeHasBeenSet = false;
185
186 DeletionConfigurationItemType m_configurationType;
187 bool m_configurationTypeHasBeenSet = false;
188
189 Aws::Vector<Aws::String> m_requestedConfigurations;
190 bool m_requestedConfigurationsHasBeenSet = false;
191
192 Aws::Vector<Aws::String> m_deletedConfigurations;
193 bool m_deletedConfigurationsHasBeenSet = false;
194
195 Aws::Vector<FailedConfiguration> m_failedConfigurations;
196 bool m_failedConfigurationsHasBeenSet = false;
197
198 Aws::Vector<DeletionWarning> m_deletionWarnings;
199 bool m_deletionWarningsHasBeenSet = false;
200 };
201
202} // namespace Model
203} // namespace ApplicationDiscoveryService
204} // namespace Aws
BatchDeleteConfigurationTask & WithConfigurationType(DeletionConfigurationItemType &&value)
BatchDeleteConfigurationTask & AddRequestedConfigurations(Aws::String &&value)
BatchDeleteConfigurationTask & AddDeletionWarnings(DeletionWarning &&value)
BatchDeleteConfigurationTask & WithDeletedConfigurations(const Aws::Vector< Aws::String > &value)
BatchDeleteConfigurationTask & AddDeletedConfigurations(Aws::String &&value)
BatchDeleteConfigurationTask & AddFailedConfigurations(FailedConfiguration &&value)
BatchDeleteConfigurationTask & WithDeletionWarnings(const Aws::Vector< DeletionWarning > &value)
AWS_APPLICATIONDISCOVERYSERVICE_API BatchDeleteConfigurationTask()
BatchDeleteConfigurationTask & WithRequestedConfigurations(Aws::Vector< Aws::String > &&value)
BatchDeleteConfigurationTask & WithStartTime(Aws::Utils::DateTime &&value)
BatchDeleteConfigurationTask & AddDeletionWarnings(const DeletionWarning &value)
BatchDeleteConfigurationTask & AddRequestedConfigurations(const Aws::String &value)
BatchDeleteConfigurationTask & WithRequestedConfigurations(const Aws::Vector< Aws::String > &value)
void SetFailedConfigurations(const Aws::Vector< FailedConfiguration > &value)
AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
BatchDeleteConfigurationTask & WithDeletedConfigurations(Aws::Vector< Aws::String > &&value)
BatchDeleteConfigurationTask & WithDeletionWarnings(Aws::Vector< DeletionWarning > &&value)
BatchDeleteConfigurationTask & WithEndTime(Aws::Utils::DateTime &&value)
BatchDeleteConfigurationTask & WithFailedConfigurations(Aws::Vector< FailedConfiguration > &&value)
BatchDeleteConfigurationTask & WithEndTime(const Aws::Utils::DateTime &value)
BatchDeleteConfigurationTask & WithConfigurationType(const DeletionConfigurationItemType &value)
BatchDeleteConfigurationTask & WithStartTime(const Aws::Utils::DateTime &value)
BatchDeleteConfigurationTask & AddFailedConfigurations(const FailedConfiguration &value)
BatchDeleteConfigurationTask & WithStatus(const BatchDeleteConfigurationTaskStatus &value)
BatchDeleteConfigurationTask & WithFailedConfigurations(const Aws::Vector< FailedConfiguration > &value)
AWS_APPLICATIONDISCOVERYSERVICE_API BatchDeleteConfigurationTask(Aws::Utils::Json::JsonView jsonValue)
BatchDeleteConfigurationTask & AddDeletedConfigurations(const Aws::String &value)
BatchDeleteConfigurationTask & WithTaskId(const Aws::String &value)
AWS_APPLICATIONDISCOVERYSERVICE_API BatchDeleteConfigurationTask & operator=(Aws::Utils::Json::JsonView jsonValue)
BatchDeleteConfigurationTask & WithStatus(BatchDeleteConfigurationTaskStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue