AWS SDK for C++  1.8.129
AWS SDK for C++
DescribeImportTasksRequest.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 "DescribeImportTasks"; }
33 
34  Aws::String SerializePayload() const override;
35 
37 
38 
44  inline const Aws::Vector<ImportTaskFilter>& GetFilters() const{ return m_filters; }
45 
51  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
52 
58  inline void SetFilters(const Aws::Vector<ImportTaskFilter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
59 
65  inline void SetFilters(Aws::Vector<ImportTaskFilter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
66 
72  inline DescribeImportTasksRequest& WithFilters(const Aws::Vector<ImportTaskFilter>& value) { SetFilters(value); return *this;}
73 
79  inline DescribeImportTasksRequest& WithFilters(Aws::Vector<ImportTaskFilter>&& value) { SetFilters(std::move(value)); return *this;}
80 
86  inline DescribeImportTasksRequest& AddFilters(const ImportTaskFilter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
87 
93  inline DescribeImportTasksRequest& AddFilters(ImportTaskFilter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
94 
95 
100  inline int GetMaxResults() const{ return m_maxResults; }
101 
106  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
107 
112  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
113 
118  inline DescribeImportTasksRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
119 
120 
124  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
125 
129  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
130 
134  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
135 
139  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
140 
144  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
145 
149  inline DescribeImportTasksRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
150 
154  inline DescribeImportTasksRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
155 
159  inline DescribeImportTasksRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
160 
161  private:
162 
164  bool m_filtersHasBeenSet;
165 
166  int m_maxResults;
167  bool m_maxResultsHasBeenSet;
168 
169  Aws::String m_nextToken;
170  bool m_nextTokenHasBeenSet;
171  };
172 
173 } // namespace Model
174 } // namespace ApplicationDiscoveryService
175 } // namespace Aws
Aws::ApplicationDiscoveryService::Model::DescribeImportTasksRequest
Definition: DescribeImportTasksRequest.h:24
Aws::ApplicationDiscoveryService::Model::DescribeImportTasksRequest::GetMaxResults
int GetMaxResults() const
Definition: DescribeImportTasksRequest.h:100
Aws::ApplicationDiscoveryService::Model::DescribeImportTasksRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: DescribeImportTasksRequest.h:106
Aws::ApplicationDiscoveryService::Model::DescribeImportTasksRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: DescribeImportTasksRequest.h:129
Aws::ApplicationDiscoveryService::Model::DescribeImportTasksRequest::WithNextToken
DescribeImportTasksRequest & WithNextToken(Aws::String &&value)
Definition: DescribeImportTasksRequest.h:154
Aws::ApplicationDiscoveryService::Model::DescribeImportTasksRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ApplicationDiscoveryService::Model::DescribeImportTasksRequest::WithNextToken
DescribeImportTasksRequest & WithNextToken(const char *value)
Definition: DescribeImportTasksRequest.h:159
Aws::ApplicationDiscoveryService::Model::DescribeImportTasksRequest::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeImportTasksRequest.h:144
Aws::ApplicationDiscoveryService::Model::ImportTaskFilter
Definition: ImportTaskFilter.h:37
Aws::ApplicationDiscoveryService::Model::DescribeImportTasksRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeImportTasksRequest.h:134
ApplicationDiscoveryService_EXPORTS.h
Aws::ApplicationDiscoveryService::Model::DescribeImportTasksRequest::SetFilters
void SetFilters(Aws::Vector< ImportTaskFilter > &&value)
Definition: DescribeImportTasksRequest.h:65
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::ApplicationDiscoveryService::Model::DescribeImportTasksRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::ApplicationDiscoveryService::Model::DescribeImportTasksRequest::AddFilters
DescribeImportTasksRequest & AddFilters(ImportTaskFilter &&value)
Definition: DescribeImportTasksRequest.h:93
Aws::ApplicationDiscoveryService::Model::DescribeImportTasksRequest::GetFilters
const Aws::Vector< ImportTaskFilter > & GetFilters() const
Definition: DescribeImportTasksRequest.h:44
Aws::ApplicationDiscoveryService::Model::DescribeImportTasksRequest::WithNextToken
DescribeImportTasksRequest & WithNextToken(const Aws::String &value)
Definition: DescribeImportTasksRequest.h:149
Aws::ApplicationDiscoveryService::Model::DescribeImportTasksRequest::AddFilters
DescribeImportTasksRequest & AddFilters(const ImportTaskFilter &value)
Definition: DescribeImportTasksRequest.h:86
Aws::ApplicationDiscoveryService::Model::DescribeImportTasksRequest::SetFilters
void SetFilters(const Aws::Vector< ImportTaskFilter > &value)
Definition: DescribeImportTasksRequest.h:58
Aws::ApplicationDiscoveryService::Model::DescribeImportTasksRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeImportTasksRequest.h:139
Aws::ApplicationDiscoveryService::Model::DescribeImportTasksRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeImportTasksRequest.h:124
Aws::ApplicationDiscoveryService::Model::DescribeImportTasksRequest::SetMaxResults
void SetMaxResults(int value)
Definition: DescribeImportTasksRequest.h:112
AWSString.h
ApplicationDiscoveryServiceRequest.h
Aws::ApplicationDiscoveryService::ApplicationDiscoveryServiceRequest
Definition: ApplicationDiscoveryServiceRequest.h:17
Aws::ApplicationDiscoveryService::Model::DescribeImportTasksRequest::WithFilters
DescribeImportTasksRequest & WithFilters(const Aws::Vector< ImportTaskFilter > &value)
Definition: DescribeImportTasksRequest.h:72
Aws
Definition: AccessManagementClient.h:15
Aws::ApplicationDiscoveryService::Model::DescribeImportTasksRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeImportTasksRequest.h:32
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ImportTaskFilter.h
Aws::ApplicationDiscoveryService::Model::DescribeImportTasksRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: DescribeImportTasksRequest.h:51
Aws::ApplicationDiscoveryService::Model::DescribeImportTasksRequest::DescribeImportTasksRequest
DescribeImportTasksRequest()
Aws::ApplicationDiscoveryService::Model::DescribeImportTasksRequest::WithMaxResults
DescribeImportTasksRequest & WithMaxResults(int value)
Definition: DescribeImportTasksRequest.h:118
AWS_APPLICATIONDISCOVERYSERVICE_API
#define AWS_APPLICATIONDISCOVERYSERVICE_API
Definition: ApplicationDiscoveryService_EXPORTS.h:28
Aws::ApplicationDiscoveryService::Model::DescribeImportTasksRequest::WithFilters
DescribeImportTasksRequest & WithFilters(Aws::Vector< ImportTaskFilter > &&value)
Definition: DescribeImportTasksRequest.h:79