AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SearchTasksRequest.h
1
6#pragma once
7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/deadline/DeadlineRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/deadline/model/SearchGroupedFilterExpressions.h>
12#include <aws/deadline/model/SearchSortExpression.h>
13#include <utility>
14
15namespace Aws
16{
17namespace deadline
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_DEADLINE_API SearchTasksRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "SearchTasks"; }
34
35 AWS_DEADLINE_API Aws::String SerializePayload() const override;
36
37
39
42 inline const Aws::String& GetFarmId() const{ return m_farmId; }
43 inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; }
44 inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; }
45 inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); }
46 inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); }
47 inline SearchTasksRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;}
48 inline SearchTasksRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;}
49 inline SearchTasksRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;}
51
53
56 inline const Aws::Vector<Aws::String>& GetQueueIds() const{ return m_queueIds; }
57 inline bool QueueIdsHasBeenSet() const { return m_queueIdsHasBeenSet; }
58 inline void SetQueueIds(const Aws::Vector<Aws::String>& value) { m_queueIdsHasBeenSet = true; m_queueIds = value; }
59 inline void SetQueueIds(Aws::Vector<Aws::String>&& value) { m_queueIdsHasBeenSet = true; m_queueIds = std::move(value); }
60 inline SearchTasksRequest& WithQueueIds(const Aws::Vector<Aws::String>& value) { SetQueueIds(value); return *this;}
61 inline SearchTasksRequest& WithQueueIds(Aws::Vector<Aws::String>&& value) { SetQueueIds(std::move(value)); return *this;}
62 inline SearchTasksRequest& AddQueueIds(const Aws::String& value) { m_queueIdsHasBeenSet = true; m_queueIds.push_back(value); return *this; }
63 inline SearchTasksRequest& AddQueueIds(Aws::String&& value) { m_queueIdsHasBeenSet = true; m_queueIds.push_back(std::move(value)); return *this; }
64 inline SearchTasksRequest& AddQueueIds(const char* value) { m_queueIdsHasBeenSet = true; m_queueIds.push_back(value); return *this; }
66
68
71 inline const Aws::String& GetJobId() const{ return m_jobId; }
72 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
73 inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
74 inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
75 inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
76 inline SearchTasksRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
77 inline SearchTasksRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
78 inline SearchTasksRequest& WithJobId(const char* value) { SetJobId(value); return *this;}
80
82
87 inline const SearchGroupedFilterExpressions& GetFilterExpressions() const{ return m_filterExpressions; }
88 inline bool FilterExpressionsHasBeenSet() const { return m_filterExpressionsHasBeenSet; }
89 inline void SetFilterExpressions(const SearchGroupedFilterExpressions& value) { m_filterExpressionsHasBeenSet = true; m_filterExpressions = value; }
90 inline void SetFilterExpressions(SearchGroupedFilterExpressions&& value) { m_filterExpressionsHasBeenSet = true; m_filterExpressions = std::move(value); }
94
96
99 inline const Aws::Vector<SearchSortExpression>& GetSortExpressions() const{ return m_sortExpressions; }
100 inline bool SortExpressionsHasBeenSet() const { return m_sortExpressionsHasBeenSet; }
101 inline void SetSortExpressions(const Aws::Vector<SearchSortExpression>& value) { m_sortExpressionsHasBeenSet = true; m_sortExpressions = value; }
102 inline void SetSortExpressions(Aws::Vector<SearchSortExpression>&& value) { m_sortExpressionsHasBeenSet = true; m_sortExpressions = std::move(value); }
105 inline SearchTasksRequest& AddSortExpressions(const SearchSortExpression& value) { m_sortExpressionsHasBeenSet = true; m_sortExpressions.push_back(value); return *this; }
106 inline SearchTasksRequest& AddSortExpressions(SearchSortExpression&& value) { m_sortExpressionsHasBeenSet = true; m_sortExpressions.push_back(std::move(value)); return *this; }
108
110
113 inline int GetItemOffset() const{ return m_itemOffset; }
114 inline bool ItemOffsetHasBeenSet() const { return m_itemOffsetHasBeenSet; }
115 inline void SetItemOffset(int value) { m_itemOffsetHasBeenSet = true; m_itemOffset = value; }
116 inline SearchTasksRequest& WithItemOffset(int value) { SetItemOffset(value); return *this;}
118
120
123 inline int GetPageSize() const{ return m_pageSize; }
124 inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
125 inline void SetPageSize(int value) { m_pageSizeHasBeenSet = true; m_pageSize = value; }
126 inline SearchTasksRequest& WithPageSize(int value) { SetPageSize(value); return *this;}
128 private:
129
130 Aws::String m_farmId;
131 bool m_farmIdHasBeenSet = false;
132
133 Aws::Vector<Aws::String> m_queueIds;
134 bool m_queueIdsHasBeenSet = false;
135
136 Aws::String m_jobId;
137 bool m_jobIdHasBeenSet = false;
138
139 SearchGroupedFilterExpressions m_filterExpressions;
140 bool m_filterExpressionsHasBeenSet = false;
141
142 Aws::Vector<SearchSortExpression> m_sortExpressions;
143 bool m_sortExpressionsHasBeenSet = false;
144
145 int m_itemOffset;
146 bool m_itemOffsetHasBeenSet = false;
147
148 int m_pageSize;
149 bool m_pageSizeHasBeenSet = false;
150 };
151
152} // namespace Model
153} // namespace deadline
154} // namespace Aws
SearchTasksRequest & AddQueueIds(Aws::String &&value)
SearchTasksRequest & WithSortExpressions(Aws::Vector< SearchSortExpression > &&value)
virtual const char * GetServiceRequestName() const override
SearchTasksRequest & WithFarmId(const Aws::String &value)
void SetSortExpressions(const Aws::Vector< SearchSortExpression > &value)
SearchTasksRequest & WithFilterExpressions(const SearchGroupedFilterExpressions &value)
SearchTasksRequest & WithQueueIds(Aws::Vector< Aws::String > &&value)
SearchTasksRequest & WithPageSize(int value)
const SearchGroupedFilterExpressions & GetFilterExpressions() const
void SetFilterExpressions(SearchGroupedFilterExpressions &&value)
void SetQueueIds(const Aws::Vector< Aws::String > &value)
SearchTasksRequest & AddSortExpressions(const SearchSortExpression &value)
SearchTasksRequest & WithQueueIds(const Aws::Vector< Aws::String > &value)
SearchTasksRequest & WithFilterExpressions(SearchGroupedFilterExpressions &&value)
SearchTasksRequest & WithFarmId(const char *value)
SearchTasksRequest & WithSortExpressions(const Aws::Vector< SearchSortExpression > &value)
SearchTasksRequest & AddQueueIds(const char *value)
void SetJobId(const Aws::String &value)
void SetFilterExpressions(const SearchGroupedFilterExpressions &value)
SearchTasksRequest & WithItemOffset(int value)
SearchTasksRequest & WithJobId(Aws::String &&value)
AWS_DEADLINE_API Aws::String SerializePayload() const override
void SetFarmId(const Aws::String &value)
SearchTasksRequest & WithFarmId(Aws::String &&value)
const Aws::Vector< SearchSortExpression > & GetSortExpressions() const
void SetSortExpressions(Aws::Vector< SearchSortExpression > &&value)
SearchTasksRequest & AddQueueIds(const Aws::String &value)
void SetQueueIds(Aws::Vector< Aws::String > &&value)
SearchTasksRequest & AddSortExpressions(SearchSortExpression &&value)
const Aws::Vector< Aws::String > & GetQueueIds() const
SearchTasksRequest & WithJobId(const char *value)
SearchTasksRequest & WithJobId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector