AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeExportTasksRequest.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/memory/stl/AWSString.h>
11#include <aws/discovery/model/ExportFilter.h>
12#include <utility>
13
14namespace Aws
15{
16namespace ApplicationDiscoveryService
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_APPLICATIONDISCOVERYSERVICE_API DescribeExportTasksRequest();
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_APPLICATIONDISCOVERYSERVICE_API Aws::String SerializePayload() const override;
35
36 AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
44 inline const Aws::Vector<Aws::String>& GetExportIds() const{ return m_exportIds; }
45 inline bool ExportIdsHasBeenSet() const { return m_exportIdsHasBeenSet; }
46 inline void SetExportIds(const Aws::Vector<Aws::String>& value) { m_exportIdsHasBeenSet = true; m_exportIds = value; }
47 inline void SetExportIds(Aws::Vector<Aws::String>&& value) { m_exportIdsHasBeenSet = true; m_exportIds = std::move(value); }
49 inline DescribeExportTasksRequest& WithExportIds(Aws::Vector<Aws::String>&& value) { SetExportIds(std::move(value)); return *this;}
50 inline DescribeExportTasksRequest& AddExportIds(const Aws::String& value) { m_exportIdsHasBeenSet = true; m_exportIds.push_back(value); return *this; }
51 inline DescribeExportTasksRequest& AddExportIds(Aws::String&& value) { m_exportIdsHasBeenSet = true; m_exportIds.push_back(std::move(value)); return *this; }
52 inline DescribeExportTasksRequest& AddExportIds(const char* value) { m_exportIdsHasBeenSet = true; m_exportIds.push_back(value); return *this; }
54
56
60 inline const Aws::Vector<ExportFilter>& GetFilters() const{ return m_filters; }
61 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
62 inline void SetFilters(const Aws::Vector<ExportFilter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
63 inline void SetFilters(Aws::Vector<ExportFilter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
64 inline DescribeExportTasksRequest& WithFilters(const Aws::Vector<ExportFilter>& value) { SetFilters(value); return *this;}
65 inline DescribeExportTasksRequest& WithFilters(Aws::Vector<ExportFilter>&& value) { SetFilters(std::move(value)); return *this;}
66 inline DescribeExportTasksRequest& AddFilters(const ExportFilter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
67 inline DescribeExportTasksRequest& AddFilters(ExportFilter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
69
71
78 inline int GetMaxResults() const{ return m_maxResults; }
79 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
80 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
81 inline DescribeExportTasksRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
83
85
92 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
93 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
94 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
95 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
96 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
97 inline DescribeExportTasksRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
98 inline DescribeExportTasksRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
99 inline DescribeExportTasksRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
101 private:
102
103 Aws::Vector<Aws::String> m_exportIds;
104 bool m_exportIdsHasBeenSet = false;
105
107 bool m_filtersHasBeenSet = false;
108
109 int m_maxResults;
110 bool m_maxResultsHasBeenSet = false;
111
112 Aws::String m_nextToken;
113 bool m_nextTokenHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace ApplicationDiscoveryService
118} // namespace Aws
AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeExportTasksRequest & WithFilters(const Aws::Vector< ExportFilter > &value)
DescribeExportTasksRequest & AddExportIds(const Aws::String &value)
DescribeExportTasksRequest & WithFilters(Aws::Vector< ExportFilter > &&value)
AWS_APPLICATIONDISCOVERYSERVICE_API Aws::String SerializePayload() const override
DescribeExportTasksRequest & AddFilters(const ExportFilter &value)
AWS_APPLICATIONDISCOVERYSERVICE_API DescribeExportTasksRequest()
DescribeExportTasksRequest & WithExportIds(const Aws::Vector< Aws::String > &value)
DescribeExportTasksRequest & WithNextToken(const Aws::String &value)
DescribeExportTasksRequest & WithExportIds(Aws::Vector< Aws::String > &&value)
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