AWS SDK for C++  1.8.129
AWS SDK for C++
StartExportTaskRequest.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace ApplicationDiscoveryService
18 {
19 namespace Model
20 {
21 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "StartExportTask"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
45  inline const Aws::Vector<ExportDataFormat>& GetExportDataFormat() const{ return m_exportDataFormat; }
46 
52  inline bool ExportDataFormatHasBeenSet() const { return m_exportDataFormatHasBeenSet; }
53 
59  inline void SetExportDataFormat(const Aws::Vector<ExportDataFormat>& value) { m_exportDataFormatHasBeenSet = true; m_exportDataFormat = value; }
60 
66  inline void SetExportDataFormat(Aws::Vector<ExportDataFormat>&& value) { m_exportDataFormatHasBeenSet = true; m_exportDataFormat = std::move(value); }
67 
73  inline StartExportTaskRequest& WithExportDataFormat(const Aws::Vector<ExportDataFormat>& value) { SetExportDataFormat(value); return *this;}
74 
80  inline StartExportTaskRequest& WithExportDataFormat(Aws::Vector<ExportDataFormat>&& value) { SetExportDataFormat(std::move(value)); return *this;}
81 
87  inline StartExportTaskRequest& AddExportDataFormat(const ExportDataFormat& value) { m_exportDataFormatHasBeenSet = true; m_exportDataFormat.push_back(value); return *this; }
88 
94  inline StartExportTaskRequest& AddExportDataFormat(ExportDataFormat&& value) { m_exportDataFormatHasBeenSet = true; m_exportDataFormat.push_back(std::move(value)); return *this; }
95 
96 
105  inline const Aws::Vector<ExportFilter>& GetFilters() const{ return m_filters; }
106 
115  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
116 
125  inline void SetFilters(const Aws::Vector<ExportFilter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
126 
135  inline void SetFilters(Aws::Vector<ExportFilter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
136 
145  inline StartExportTaskRequest& WithFilters(const Aws::Vector<ExportFilter>& value) { SetFilters(value); return *this;}
146 
155  inline StartExportTaskRequest& WithFilters(Aws::Vector<ExportFilter>&& value) { SetFilters(std::move(value)); return *this;}
156 
165  inline StartExportTaskRequest& AddFilters(const ExportFilter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
166 
175  inline StartExportTaskRequest& AddFilters(ExportFilter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
176 
177 
183  inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
184 
190  inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
191 
197  inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
198 
204  inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
205 
211  inline StartExportTaskRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
212 
218  inline StartExportTaskRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
219 
220 
226  inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
227 
233  inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
234 
240  inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
241 
247  inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
248 
254  inline StartExportTaskRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
255 
261  inline StartExportTaskRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
262 
263  private:
264 
265  Aws::Vector<ExportDataFormat> m_exportDataFormat;
266  bool m_exportDataFormatHasBeenSet;
267 
268  Aws::Vector<ExportFilter> m_filters;
269  bool m_filtersHasBeenSet;
270 
271  Aws::Utils::DateTime m_startTime;
272  bool m_startTimeHasBeenSet;
273 
274  Aws::Utils::DateTime m_endTime;
275  bool m_endTimeHasBeenSet;
276  };
277 
278 } // namespace Model
279 } // namespace ApplicationDiscoveryService
280 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::ApplicationDiscoveryService::Model::StartExportTaskRequest::AddExportDataFormat
StartExportTaskRequest & AddExportDataFormat(const ExportDataFormat &value)
Definition: StartExportTaskRequest.h:87
Aws::ApplicationDiscoveryService::Model::StartExportTaskRequest::WithStartTime
StartExportTaskRequest & WithStartTime(Aws::Utils::DateTime &&value)
Definition: StartExportTaskRequest.h:218
Aws::ApplicationDiscoveryService::Model::StartExportTaskRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: StartExportTaskRequest.h:33
ExportFilter.h
Aws::ApplicationDiscoveryService::Model::ExportDataFormat
ExportDataFormat
Definition: ExportDataFormat.h:17
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
DateTime.h
Aws::ApplicationDiscoveryService::Model::StartExportTaskRequest::SetStartTime
void SetStartTime(Aws::Utils::DateTime &&value)
Definition: StartExportTaskRequest.h:204
Aws::ApplicationDiscoveryService::Model::StartExportTaskRequest::WithFilters
StartExportTaskRequest & WithFilters(const Aws::Vector< ExportFilter > &value)
Definition: StartExportTaskRequest.h:145
ApplicationDiscoveryService_EXPORTS.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::ApplicationDiscoveryService::Model::StartExportTaskRequest::EndTimeHasBeenSet
bool EndTimeHasBeenSet() const
Definition: StartExportTaskRequest.h:233
AWSVector.h
Aws::ApplicationDiscoveryService::Model::StartExportTaskRequest::SetFilters
void SetFilters(const Aws::Vector< ExportFilter > &value)
Definition: StartExportTaskRequest.h:125
Aws::ApplicationDiscoveryService::Model::StartExportTaskRequest::SetFilters
void SetFilters(Aws::Vector< ExportFilter > &&value)
Definition: StartExportTaskRequest.h:135
ExportDataFormat.h
Aws::ApplicationDiscoveryService::Model::StartExportTaskRequest::ExportDataFormatHasBeenSet
bool ExportDataFormatHasBeenSet() const
Definition: StartExportTaskRequest.h:52
Aws::ApplicationDiscoveryService::Model::StartExportTaskRequest::SetExportDataFormat
void SetExportDataFormat(Aws::Vector< ExportDataFormat > &&value)
Definition: StartExportTaskRequest.h:66
Aws::ApplicationDiscoveryService::Model::StartExportTaskRequest::AddFilters
StartExportTaskRequest & AddFilters(ExportFilter &&value)
Definition: StartExportTaskRequest.h:175
Aws::ApplicationDiscoveryService::Model::StartExportTaskRequest
Definition: StartExportTaskRequest.h:25
Aws::ApplicationDiscoveryService::Model::StartExportTaskRequest::GetFilters
const Aws::Vector< ExportFilter > & GetFilters() const
Definition: StartExportTaskRequest.h:105
Aws::ApplicationDiscoveryService::Model::StartExportTaskRequest::AddFilters
StartExportTaskRequest & AddFilters(const ExportFilter &value)
Definition: StartExportTaskRequest.h:165
Aws::ApplicationDiscoveryService::Model::StartExportTaskRequest::StartTimeHasBeenSet
bool StartTimeHasBeenSet() const
Definition: StartExportTaskRequest.h:190
Aws::ApplicationDiscoveryService::Model::StartExportTaskRequest::GetExportDataFormat
const Aws::Vector< ExportDataFormat > & GetExportDataFormat() const
Definition: StartExportTaskRequest.h:45
Aws::ApplicationDiscoveryService::Model::StartExportTaskRequest::WithEndTime
StartExportTaskRequest & WithEndTime(Aws::Utils::DateTime &&value)
Definition: StartExportTaskRequest.h:261
Aws::ApplicationDiscoveryService::Model::StartExportTaskRequest::AddExportDataFormat
StartExportTaskRequest & AddExportDataFormat(ExportDataFormat &&value)
Definition: StartExportTaskRequest.h:94
Aws::ApplicationDiscoveryService::Model::StartExportTaskRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::ApplicationDiscoveryService::Model::StartExportTaskRequest::WithStartTime
StartExportTaskRequest & WithStartTime(const Aws::Utils::DateTime &value)
Definition: StartExportTaskRequest.h:211
Aws::ApplicationDiscoveryService::Model::StartExportTaskRequest::SetEndTime
void SetEndTime(const Aws::Utils::DateTime &value)
Definition: StartExportTaskRequest.h:240
Aws::ApplicationDiscoveryService::Model::StartExportTaskRequest::SetStartTime
void SetStartTime(const Aws::Utils::DateTime &value)
Definition: StartExportTaskRequest.h:197
Aws::ApplicationDiscoveryService::Model::StartExportTaskRequest::SerializePayload
Aws::String SerializePayload() const override
ApplicationDiscoveryServiceRequest.h
Aws::ApplicationDiscoveryService::Model::StartExportTaskRequest::GetEndTime
const Aws::Utils::DateTime & GetEndTime() const
Definition: StartExportTaskRequest.h:226
Aws::ApplicationDiscoveryService::ApplicationDiscoveryServiceRequest
Definition: ApplicationDiscoveryServiceRequest.h:17
Aws::ApplicationDiscoveryService::Model::ExportFilter
Definition: ExportFilter.h:36
Aws::ApplicationDiscoveryService::Model::StartExportTaskRequest::SetEndTime
void SetEndTime(Aws::Utils::DateTime &&value)
Definition: StartExportTaskRequest.h:247
Aws
Definition: AccessManagementClient.h:15
Aws::ApplicationDiscoveryService::Model::StartExportTaskRequest::GetStartTime
const Aws::Utils::DateTime & GetStartTime() const
Definition: StartExportTaskRequest.h:183
Aws::ApplicationDiscoveryService::Model::StartExportTaskRequest::WithFilters
StartExportTaskRequest & WithFilters(Aws::Vector< ExportFilter > &&value)
Definition: StartExportTaskRequest.h:155
Aws::ApplicationDiscoveryService::Model::StartExportTaskRequest::WithExportDataFormat
StartExportTaskRequest & WithExportDataFormat(const Aws::Vector< ExportDataFormat > &value)
Definition: StartExportTaskRequest.h:73
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ApplicationDiscoveryService::Model::StartExportTaskRequest::WithEndTime
StartExportTaskRequest & WithEndTime(const Aws::Utils::DateTime &value)
Definition: StartExportTaskRequest.h:254
Aws::ApplicationDiscoveryService::Model::StartExportTaskRequest::SetExportDataFormat
void SetExportDataFormat(const Aws::Vector< ExportDataFormat > &value)
Definition: StartExportTaskRequest.h:59
Aws::ApplicationDiscoveryService::Model::StartExportTaskRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: StartExportTaskRequest.h:115
Aws::ApplicationDiscoveryService::Model::StartExportTaskRequest::WithExportDataFormat
StartExportTaskRequest & WithExportDataFormat(Aws::Vector< ExportDataFormat > &&value)
Definition: StartExportTaskRequest.h:80
Aws::ApplicationDiscoveryService::Model::StartExportTaskRequest::StartExportTaskRequest
StartExportTaskRequest()
AWS_APPLICATIONDISCOVERYSERVICE_API
#define AWS_APPLICATIONDISCOVERYSERVICE_API
Definition: ApplicationDiscoveryService_EXPORTS.h:28