AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
DescribeExportTasksRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/discovery/ApplicationDiscoveryServiceRequest.h>
10#include <aws/discovery/ApplicationDiscoveryService_EXPORTS.h>
11#include <aws/discovery/model/ExportFilter.h>
12
13#include <utility>
14
15namespace Aws {
16namespace ApplicationDiscoveryService {
17namespace Model {
18
22 public:
23 AWS_APPLICATIONDISCOVERYSERVICE_API DescribeExportTasksRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "DescribeExportTasks"; }
30
31 AWS_APPLICATIONDISCOVERYSERVICE_API Aws::String SerializePayload() const override;
32
33 AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
34
36
40 inline const Aws::Vector<Aws::String>& GetExportIds() const { return m_exportIds; }
41 inline bool ExportIdsHasBeenSet() const { return m_exportIdsHasBeenSet; }
42 template <typename ExportIdsT = Aws::Vector<Aws::String>>
43 void SetExportIds(ExportIdsT&& value) {
44 m_exportIdsHasBeenSet = true;
45 m_exportIds = std::forward<ExportIdsT>(value);
46 }
47 template <typename ExportIdsT = Aws::Vector<Aws::String>>
49 SetExportIds(std::forward<ExportIdsT>(value));
50 return *this;
51 }
52 template <typename ExportIdsT = Aws::String>
54 m_exportIdsHasBeenSet = true;
55 m_exportIds.emplace_back(std::forward<ExportIdsT>(value));
56 return *this;
57 }
59
61
65 inline const Aws::Vector<ExportFilter>& GetFilters() const { return m_filters; }
66 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
67 template <typename FiltersT = Aws::Vector<ExportFilter>>
68 void SetFilters(FiltersT&& value) {
69 m_filtersHasBeenSet = true;
70 m_filters = std::forward<FiltersT>(value);
71 }
72 template <typename FiltersT = Aws::Vector<ExportFilter>>
74 SetFilters(std::forward<FiltersT>(value));
75 return *this;
76 }
77 template <typename FiltersT = ExportFilter>
79 m_filtersHasBeenSet = true;
80 m_filters.emplace_back(std::forward<FiltersT>(value));
81 return *this;
82 }
84
86
93 inline int GetMaxResults() const { return m_maxResults; }
94 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
95 inline void SetMaxResults(int value) {
96 m_maxResultsHasBeenSet = true;
97 m_maxResults = value;
98 }
100 SetMaxResults(value);
101 return *this;
102 }
104
106
113 inline const Aws::String& GetNextToken() const { return m_nextToken; }
114 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
115 template <typename NextTokenT = Aws::String>
116 void SetNextToken(NextTokenT&& value) {
117 m_nextTokenHasBeenSet = true;
118 m_nextToken = std::forward<NextTokenT>(value);
119 }
120 template <typename NextTokenT = Aws::String>
122 SetNextToken(std::forward<NextTokenT>(value));
123 return *this;
124 }
126 private:
127 Aws::Vector<Aws::String> m_exportIds;
128
130
131 int m_maxResults{0};
132
133 Aws::String m_nextToken;
134 bool m_exportIdsHasBeenSet = false;
135 bool m_filtersHasBeenSet = false;
136 bool m_maxResultsHasBeenSet = false;
137 bool m_nextTokenHasBeenSet = false;
138};
139
140} // namespace Model
141} // namespace ApplicationDiscoveryService
142} // namespace Aws
AWS_APPLICATIONDISCOVERYSERVICE_API DescribeExportTasksRequest()=default
AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
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