AWS SDK for C++  1.9.129
AWS SDK for C++
DescribeExportTasksRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace ApplicationDiscoveryService
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "DescribeExportTasks"; }
33 
34  Aws::String SerializePayload() const override;
35 
37 
38 
43  inline const Aws::Vector<Aws::String>& GetExportIds() const{ return m_exportIds; }
44 
49  inline bool ExportIdsHasBeenSet() const { return m_exportIdsHasBeenSet; }
50 
55  inline void SetExportIds(const Aws::Vector<Aws::String>& value) { m_exportIdsHasBeenSet = true; m_exportIds = value; }
56 
61  inline void SetExportIds(Aws::Vector<Aws::String>&& value) { m_exportIdsHasBeenSet = true; m_exportIds = std::move(value); }
62 
67  inline DescribeExportTasksRequest& WithExportIds(const Aws::Vector<Aws::String>& value) { SetExportIds(value); return *this;}
68 
73  inline DescribeExportTasksRequest& WithExportIds(Aws::Vector<Aws::String>&& value) { SetExportIds(std::move(value)); return *this;}
74 
79  inline DescribeExportTasksRequest& AddExportIds(const Aws::String& value) { m_exportIdsHasBeenSet = true; m_exportIds.push_back(value); return *this; }
80 
85  inline DescribeExportTasksRequest& AddExportIds(Aws::String&& value) { m_exportIdsHasBeenSet = true; m_exportIds.push_back(std::move(value)); return *this; }
86 
91  inline DescribeExportTasksRequest& AddExportIds(const char* value) { m_exportIdsHasBeenSet = true; m_exportIds.push_back(value); return *this; }
92 
93 
98  inline const Aws::Vector<ExportFilter>& GetFilters() const{ return m_filters; }
99 
104  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
105 
110  inline void SetFilters(const Aws::Vector<ExportFilter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
111 
116  inline void SetFilters(Aws::Vector<ExportFilter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
117 
122  inline DescribeExportTasksRequest& WithFilters(const Aws::Vector<ExportFilter>& value) { SetFilters(value); return *this;}
123 
128  inline DescribeExportTasksRequest& WithFilters(Aws::Vector<ExportFilter>&& value) { SetFilters(std::move(value)); return *this;}
129 
134  inline DescribeExportTasksRequest& AddFilters(const ExportFilter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
135 
140  inline DescribeExportTasksRequest& AddFilters(ExportFilter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
141 
142 
150  inline int GetMaxResults() const{ return m_maxResults; }
151 
159  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
160 
168  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
169 
177  inline DescribeExportTasksRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
178 
179 
187  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
188 
196  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
197 
205  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
206 
214  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
215 
223  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
224 
232  inline DescribeExportTasksRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
233 
241  inline DescribeExportTasksRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
242 
250  inline DescribeExportTasksRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
251 
252  private:
253 
254  Aws::Vector<Aws::String> m_exportIds;
255  bool m_exportIdsHasBeenSet;
256 
257  Aws::Vector<ExportFilter> m_filters;
258  bool m_filtersHasBeenSet;
259 
260  int m_maxResults;
261  bool m_maxResultsHasBeenSet;
262 
263  Aws::String m_nextToken;
264  bool m_nextTokenHasBeenSet;
265  };
266 
267 } // namespace Model
268 } // namespace ApplicationDiscoveryService
269 } // namespace Aws
Aws::ApplicationDiscoveryService::Model::DescribeExportTasksRequest::WithNextToken
DescribeExportTasksRequest & WithNextToken(const Aws::String &value)
Definition: DescribeExportTasksRequest.h:232
Aws::ApplicationDiscoveryService::Model::DescribeExportTasksRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeExportTasksRequest.h:187
Aws::ApplicationDiscoveryService::Model::DescribeExportTasksRequest::WithExportIds
DescribeExportTasksRequest & WithExportIds(Aws::Vector< Aws::String > &&value)
Definition: DescribeExportTasksRequest.h:73
Aws::ApplicationDiscoveryService::Model::DescribeExportTasksRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeExportTasksRequest.h:205
Aws::ApplicationDiscoveryService::Model::DescribeExportTasksRequest
Definition: DescribeExportTasksRequest.h:24
Aws::ApplicationDiscoveryService::Model::DescribeExportTasksRequest::AddFilters
DescribeExportTasksRequest & AddFilters(ExportFilter &&value)
Definition: DescribeExportTasksRequest.h:140
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ApplicationDiscoveryService::Model::DescribeExportTasksRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeExportTasksRequest.h:214
Aws::ApplicationDiscoveryService::Model::DescribeExportTasksRequest::WithNextToken
DescribeExportTasksRequest & WithNextToken(Aws::String &&value)
Definition: DescribeExportTasksRequest.h:241
Aws::ApplicationDiscoveryService::Model::DescribeExportTasksRequest::SetMaxResults
void SetMaxResults(int value)
Definition: DescribeExportTasksRequest.h:168
Aws::ApplicationDiscoveryService::Model::DescribeExportTasksRequest::WithFilters
DescribeExportTasksRequest & WithFilters(Aws::Vector< ExportFilter > &&value)
Definition: DescribeExportTasksRequest.h:128
Aws::ApplicationDiscoveryService::Model::DescribeExportTasksRequest::AddExportIds
DescribeExportTasksRequest & AddExportIds(const Aws::String &value)
Definition: DescribeExportTasksRequest.h:79
Aws::ApplicationDiscoveryService::Model::DescribeExportTasksRequest::WithFilters
DescribeExportTasksRequest & WithFilters(const Aws::Vector< ExportFilter > &value)
Definition: DescribeExportTasksRequest.h:122
ApplicationDiscoveryService_EXPORTS.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::ApplicationDiscoveryService::Model::DescribeExportTasksRequest::SetFilters
void SetFilters(Aws::Vector< ExportFilter > &&value)
Definition: DescribeExportTasksRequest.h:116
Aws::ApplicationDiscoveryService::Model::DescribeExportTasksRequest::WithExportIds
DescribeExportTasksRequest & WithExportIds(const Aws::Vector< Aws::String > &value)
Definition: DescribeExportTasksRequest.h:67
Aws::ApplicationDiscoveryService::Model::DescribeExportTasksRequest::GetExportIds
const Aws::Vector< Aws::String > & GetExportIds() const
Definition: DescribeExportTasksRequest.h:43
Aws::ApplicationDiscoveryService::Model::DescribeExportTasksRequest::WithMaxResults
DescribeExportTasksRequest & WithMaxResults(int value)
Definition: DescribeExportTasksRequest.h:177
ExportFilter.h
Aws::ApplicationDiscoveryService::Model::DescribeExportTasksRequest::SetExportIds
void SetExportIds(Aws::Vector< Aws::String > &&value)
Definition: DescribeExportTasksRequest.h:61
Aws::ApplicationDiscoveryService::Model::DescribeExportTasksRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: DescribeExportTasksRequest.h:159
Aws::ApplicationDiscoveryService::Model::DescribeExportTasksRequest::WithNextToken
DescribeExportTasksRequest & WithNextToken(const char *value)
Definition: DescribeExportTasksRequest.h:250
Aws::ApplicationDiscoveryService::Model::DescribeExportTasksRequest::AddExportIds
DescribeExportTasksRequest & AddExportIds(Aws::String &&value)
Definition: DescribeExportTasksRequest.h:85
Aws::ApplicationDiscoveryService::Model::DescribeExportTasksRequest::GetFilters
const Aws::Vector< ExportFilter > & GetFilters() const
Definition: DescribeExportTasksRequest.h:98
Aws::ApplicationDiscoveryService::Model::DescribeExportTasksRequest::SetExportIds
void SetExportIds(const Aws::Vector< Aws::String > &value)
Definition: DescribeExportTasksRequest.h:55
Aws::ApplicationDiscoveryService::Model::DescribeExportTasksRequest::SetFilters
void SetFilters(const Aws::Vector< ExportFilter > &value)
Definition: DescribeExportTasksRequest.h:110
Aws::ApplicationDiscoveryService::Model::DescribeExportTasksRequest::AddExportIds
DescribeExportTasksRequest & AddExportIds(const char *value)
Definition: DescribeExportTasksRequest.h:91
Aws::ApplicationDiscoveryService::Model::DescribeExportTasksRequest::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeExportTasksRequest.h:223
AWSString.h
Aws::ApplicationDiscoveryService::Model::DescribeExportTasksRequest::AddFilters
DescribeExportTasksRequest & AddFilters(const ExportFilter &value)
Definition: DescribeExportTasksRequest.h:134
Aws::ApplicationDiscoveryService::Model::DescribeExportTasksRequest::ExportIdsHasBeenSet
bool ExportIdsHasBeenSet() const
Definition: DescribeExportTasksRequest.h:49
Aws::ApplicationDiscoveryService::Model::DescribeExportTasksRequest::GetMaxResults
int GetMaxResults() const
Definition: DescribeExportTasksRequest.h:150
Aws::ApplicationDiscoveryService::Model::DescribeExportTasksRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: DescribeExportTasksRequest.h:196
ApplicationDiscoveryServiceRequest.h
Aws::ApplicationDiscoveryService::ApplicationDiscoveryServiceRequest
Definition: ApplicationDiscoveryServiceRequest.h:17
Aws::ApplicationDiscoveryService::Model::ExportFilter
Definition: ExportFilter.h:36
Aws
Definition: AccessManagementClient.h:15
Aws::ApplicationDiscoveryService::Model::DescribeExportTasksRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ApplicationDiscoveryService::Model::DescribeExportTasksRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ApplicationDiscoveryService::Model::DescribeExportTasksRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: DescribeExportTasksRequest.h:104
Aws::ApplicationDiscoveryService::Model::DescribeExportTasksRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeExportTasksRequest.h:32
AWS_APPLICATIONDISCOVERYSERVICE_API
#define AWS_APPLICATIONDISCOVERYSERVICE_API
Definition: ApplicationDiscoveryService_EXPORTS.h:28
Aws::ApplicationDiscoveryService::Model::DescribeExportTasksRequest::DescribeExportTasksRequest
DescribeExportTasksRequest()