AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeDataRepositoryTasksRequest.h
1
6#pragma once
7#include <aws/fsx/FSx_EXPORTS.h>
8#include <aws/fsx/FSxRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/fsx/model/DataRepositoryTaskFilter.h>
12#include <utility>
13
14namespace Aws
15{
16namespace FSx
17{
18namespace 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 "DescribeDataRepositoryTasks"; }
33
34 AWS_FSX_API Aws::String SerializePayload() const override;
35
37
38
40
44 inline const Aws::Vector<Aws::String>& GetTaskIds() const{ return m_taskIds; }
45 inline bool TaskIdsHasBeenSet() const { return m_taskIdsHasBeenSet; }
46 inline void SetTaskIds(const Aws::Vector<Aws::String>& value) { m_taskIdsHasBeenSet = true; m_taskIds = value; }
47 inline void SetTaskIds(Aws::Vector<Aws::String>&& value) { m_taskIdsHasBeenSet = true; m_taskIds = std::move(value); }
49 inline DescribeDataRepositoryTasksRequest& WithTaskIds(Aws::Vector<Aws::String>&& value) { SetTaskIds(std::move(value)); return *this;}
50 inline DescribeDataRepositoryTasksRequest& AddTaskIds(const Aws::String& value) { m_taskIdsHasBeenSet = true; m_taskIds.push_back(value); return *this; }
51 inline DescribeDataRepositoryTasksRequest& AddTaskIds(Aws::String&& value) { m_taskIdsHasBeenSet = true; m_taskIds.push_back(std::move(value)); return *this; }
52 inline DescribeDataRepositoryTasksRequest& AddTaskIds(const char* value) { m_taskIdsHasBeenSet = true; m_taskIds.push_back(value); return *this; }
54
56
61 inline const Aws::Vector<DataRepositoryTaskFilter>& GetFilters() const{ return m_filters; }
62 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
63 inline void SetFilters(const Aws::Vector<DataRepositoryTaskFilter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
64 inline void SetFilters(Aws::Vector<DataRepositoryTaskFilter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
67 inline DescribeDataRepositoryTasksRequest& AddFilters(const DataRepositoryTaskFilter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
68 inline DescribeDataRepositoryTasksRequest& AddFilters(DataRepositoryTaskFilter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
70
72
73 inline int GetMaxResults() const{ return m_maxResults; }
74 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
75 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
76 inline DescribeDataRepositoryTasksRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
78
80
81 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
82 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
83 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
84 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
85 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
86 inline DescribeDataRepositoryTasksRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
87 inline DescribeDataRepositoryTasksRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
88 inline DescribeDataRepositoryTasksRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
90 private:
91
93 bool m_taskIdsHasBeenSet = false;
94
96 bool m_filtersHasBeenSet = false;
97
98 int m_maxResults;
99 bool m_maxResultsHasBeenSet = false;
100
101 Aws::String m_nextToken;
102 bool m_nextTokenHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace FSx
107} // namespace Aws
DescribeDataRepositoryTasksRequest & AddTaskIds(Aws::String &&value)
void SetFilters(Aws::Vector< DataRepositoryTaskFilter > &&value)
DescribeDataRepositoryTasksRequest & WithTaskIds(Aws::Vector< Aws::String > &&value)
DescribeDataRepositoryTasksRequest & AddTaskIds(const Aws::String &value)
const Aws::Vector< DataRepositoryTaskFilter > & GetFilters() const
AWS_FSX_API Aws::String SerializePayload() const override
DescribeDataRepositoryTasksRequest & WithNextToken(const char *value)
DescribeDataRepositoryTasksRequest & WithFilters(Aws::Vector< DataRepositoryTaskFilter > &&value)
AWS_FSX_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeDataRepositoryTasksRequest & WithTaskIds(const Aws::Vector< Aws::String > &value)
DescribeDataRepositoryTasksRequest & WithNextToken(Aws::String &&value)
DescribeDataRepositoryTasksRequest & WithFilters(const Aws::Vector< DataRepositoryTaskFilter > &value)
DescribeDataRepositoryTasksRequest & WithMaxResults(int value)
DescribeDataRepositoryTasksRequest & AddFilters(const DataRepositoryTaskFilter &value)
DescribeDataRepositoryTasksRequest & AddFilters(DataRepositoryTaskFilter &&value)
DescribeDataRepositoryTasksRequest & AddTaskIds(const char *value)
void SetFilters(const Aws::Vector< DataRepositoryTaskFilter > &value)
DescribeDataRepositoryTasksRequest & WithNextToken(const 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