AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartExportTaskRequest.h
1
6#pragma once
7#include <aws/discovery/ApplicationDiscoveryService_EXPORTS.h>
8#include <aws/discovery/ApplicationDiscoveryServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/discovery/model/ExportPreferences.h>
12#include <aws/discovery/model/ExportDataFormat.h>
13#include <aws/discovery/model/ExportFilter.h>
14#include <utility>
15
16namespace Aws
17{
18namespace ApplicationDiscoveryService
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_APPLICATIONDISCOVERYSERVICE_API StartExportTaskRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "StartExportTask"; }
35
36 AWS_APPLICATIONDISCOVERYSERVICE_API Aws::String SerializePayload() const override;
37
38 AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
39
40
42
47 inline const Aws::Vector<ExportDataFormat>& GetExportDataFormat() const{ return m_exportDataFormat; }
48 inline bool ExportDataFormatHasBeenSet() const { return m_exportDataFormatHasBeenSet; }
49 inline void SetExportDataFormat(const Aws::Vector<ExportDataFormat>& value) { m_exportDataFormatHasBeenSet = true; m_exportDataFormat = value; }
50 inline void SetExportDataFormat(Aws::Vector<ExportDataFormat>&& value) { m_exportDataFormatHasBeenSet = true; m_exportDataFormat = std::move(value); }
53 inline StartExportTaskRequest& AddExportDataFormat(const ExportDataFormat& value) { m_exportDataFormatHasBeenSet = true; m_exportDataFormat.push_back(value); return *this; }
54 inline StartExportTaskRequest& AddExportDataFormat(ExportDataFormat&& value) { m_exportDataFormatHasBeenSet = true; m_exportDataFormat.push_back(std::move(value)); return *this; }
56
58
67 inline const Aws::Vector<ExportFilter>& GetFilters() const{ return m_filters; }
68 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
69 inline void SetFilters(const Aws::Vector<ExportFilter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
70 inline void SetFilters(Aws::Vector<ExportFilter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
71 inline StartExportTaskRequest& WithFilters(const Aws::Vector<ExportFilter>& value) { SetFilters(value); return *this;}
72 inline StartExportTaskRequest& WithFilters(Aws::Vector<ExportFilter>&& value) { SetFilters(std::move(value)); return *this;}
73 inline StartExportTaskRequest& AddFilters(const ExportFilter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
74 inline StartExportTaskRequest& AddFilters(ExportFilter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
76
78
83 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
84 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
85 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
86 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
87 inline StartExportTaskRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
88 inline StartExportTaskRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
90
92
97 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
98 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
99 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
100 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
101 inline StartExportTaskRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
102 inline StartExportTaskRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
104
106
111 inline const ExportPreferences& GetPreferences() const{ return m_preferences; }
112 inline bool PreferencesHasBeenSet() const { return m_preferencesHasBeenSet; }
113 inline void SetPreferences(const ExportPreferences& value) { m_preferencesHasBeenSet = true; m_preferences = value; }
114 inline void SetPreferences(ExportPreferences&& value) { m_preferencesHasBeenSet = true; m_preferences = std::move(value); }
115 inline StartExportTaskRequest& WithPreferences(const ExportPreferences& value) { SetPreferences(value); return *this;}
116 inline StartExportTaskRequest& WithPreferences(ExportPreferences&& value) { SetPreferences(std::move(value)); return *this;}
118 private:
119
120 Aws::Vector<ExportDataFormat> m_exportDataFormat;
121 bool m_exportDataFormatHasBeenSet = false;
122
124 bool m_filtersHasBeenSet = false;
125
126 Aws::Utils::DateTime m_startTime;
127 bool m_startTimeHasBeenSet = false;
128
129 Aws::Utils::DateTime m_endTime;
130 bool m_endTimeHasBeenSet = false;
131
132 ExportPreferences m_preferences;
133 bool m_preferencesHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace ApplicationDiscoveryService
138} // namespace Aws
StartExportTaskRequest & WithPreferences(ExportPreferences &&value)
StartExportTaskRequest & WithEndTime(Aws::Utils::DateTime &&value)
AWS_APPLICATIONDISCOVERYSERVICE_API StartExportTaskRequest()
const Aws::Vector< ExportDataFormat > & GetExportDataFormat() const
StartExportTaskRequest & AddFilters(const ExportFilter &value)
StartExportTaskRequest & WithExportDataFormat(Aws::Vector< ExportDataFormat > &&value)
void SetExportDataFormat(Aws::Vector< ExportDataFormat > &&value)
StartExportTaskRequest & AddExportDataFormat(const ExportDataFormat &value)
StartExportTaskRequest & AddFilters(ExportFilter &&value)
StartExportTaskRequest & WithPreferences(const ExportPreferences &value)
StartExportTaskRequest & WithEndTime(const Aws::Utils::DateTime &value)
void SetFilters(const Aws::Vector< ExportFilter > &value)
StartExportTaskRequest & WithStartTime(Aws::Utils::DateTime &&value)
StartExportTaskRequest & WithExportDataFormat(const Aws::Vector< ExportDataFormat > &value)
void SetExportDataFormat(const Aws::Vector< ExportDataFormat > &value)
AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartExportTaskRequest & WithStartTime(const Aws::Utils::DateTime &value)
StartExportTaskRequest & AddExportDataFormat(ExportDataFormat &&value)
StartExportTaskRequest & WithFilters(const Aws::Vector< ExportFilter > &value)
StartExportTaskRequest & WithFilters(Aws::Vector< ExportFilter > &&value)
AWS_APPLICATIONDISCOVERYSERVICE_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector