AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SearchJobsRequest.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 SearchJobsRequest();
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 "SearchJobs"; }
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 SearchJobsRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;}
48 inline SearchJobsRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;}
49 inline SearchJobsRequest& 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 SearchJobsRequest& WithQueueIds(const Aws::Vector<Aws::String>& value) { SetQueueIds(value); return *this;}
61 inline SearchJobsRequest& WithQueueIds(Aws::Vector<Aws::String>&& value) { SetQueueIds(std::move(value)); return *this;}
62 inline SearchJobsRequest& AddQueueIds(const Aws::String& value) { m_queueIdsHasBeenSet = true; m_queueIds.push_back(value); return *this; }
63 inline SearchJobsRequest& AddQueueIds(Aws::String&& value) { m_queueIdsHasBeenSet = true; m_queueIds.push_back(std::move(value)); return *this; }
64 inline SearchJobsRequest& AddQueueIds(const char* value) { m_queueIdsHasBeenSet = true; m_queueIds.push_back(value); return *this; }
66
68
73 inline const SearchGroupedFilterExpressions& GetFilterExpressions() const{ return m_filterExpressions; }
74 inline bool FilterExpressionsHasBeenSet() const { return m_filterExpressionsHasBeenSet; }
75 inline void SetFilterExpressions(const SearchGroupedFilterExpressions& value) { m_filterExpressionsHasBeenSet = true; m_filterExpressions = value; }
76 inline void SetFilterExpressions(SearchGroupedFilterExpressions&& value) { m_filterExpressionsHasBeenSet = true; m_filterExpressions = std::move(value); }
80
82
85 inline const Aws::Vector<SearchSortExpression>& GetSortExpressions() const{ return m_sortExpressions; }
86 inline bool SortExpressionsHasBeenSet() const { return m_sortExpressionsHasBeenSet; }
87 inline void SetSortExpressions(const Aws::Vector<SearchSortExpression>& value) { m_sortExpressionsHasBeenSet = true; m_sortExpressions = value; }
88 inline void SetSortExpressions(Aws::Vector<SearchSortExpression>&& value) { m_sortExpressionsHasBeenSet = true; m_sortExpressions = std::move(value); }
91 inline SearchJobsRequest& AddSortExpressions(const SearchSortExpression& value) { m_sortExpressionsHasBeenSet = true; m_sortExpressions.push_back(value); return *this; }
92 inline SearchJobsRequest& AddSortExpressions(SearchSortExpression&& value) { m_sortExpressionsHasBeenSet = true; m_sortExpressions.push_back(std::move(value)); return *this; }
94
96
99 inline int GetItemOffset() const{ return m_itemOffset; }
100 inline bool ItemOffsetHasBeenSet() const { return m_itemOffsetHasBeenSet; }
101 inline void SetItemOffset(int value) { m_itemOffsetHasBeenSet = true; m_itemOffset = value; }
102 inline SearchJobsRequest& WithItemOffset(int value) { SetItemOffset(value); return *this;}
104
106
109 inline int GetPageSize() const{ return m_pageSize; }
110 inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
111 inline void SetPageSize(int value) { m_pageSizeHasBeenSet = true; m_pageSize = value; }
112 inline SearchJobsRequest& WithPageSize(int value) { SetPageSize(value); return *this;}
114 private:
115
116 Aws::String m_farmId;
117 bool m_farmIdHasBeenSet = false;
118
119 Aws::Vector<Aws::String> m_queueIds;
120 bool m_queueIdsHasBeenSet = false;
121
122 SearchGroupedFilterExpressions m_filterExpressions;
123 bool m_filterExpressionsHasBeenSet = false;
124
125 Aws::Vector<SearchSortExpression> m_sortExpressions;
126 bool m_sortExpressionsHasBeenSet = false;
127
128 int m_itemOffset;
129 bool m_itemOffsetHasBeenSet = false;
130
131 int m_pageSize;
132 bool m_pageSizeHasBeenSet = false;
133 };
134
135} // namespace Model
136} // namespace deadline
137} // namespace Aws
const SearchGroupedFilterExpressions & GetFilterExpressions() const
virtual const char * GetServiceRequestName() const override
SearchJobsRequest & WithQueueIds(Aws::Vector< Aws::String > &&value)
SearchJobsRequest & AddQueueIds(const Aws::String &value)
void SetFilterExpressions(SearchGroupedFilterExpressions &&value)
SearchJobsRequest & AddQueueIds(Aws::String &&value)
const Aws::Vector< Aws::String > & GetQueueIds() const
SearchJobsRequest & AddSortExpressions(SearchSortExpression &&value)
const Aws::Vector< SearchSortExpression > & GetSortExpressions() const
void SetQueueIds(const Aws::Vector< Aws::String > &value)
SearchJobsRequest & WithSortExpressions(Aws::Vector< SearchSortExpression > &&value)
void SetSortExpressions(Aws::Vector< SearchSortExpression > &&value)
SearchJobsRequest & WithItemOffset(int value)
SearchJobsRequest & WithQueueIds(const Aws::Vector< Aws::String > &value)
SearchJobsRequest & WithFilterExpressions(SearchGroupedFilterExpressions &&value)
void SetQueueIds(Aws::Vector< Aws::String > &&value)
SearchJobsRequest & WithFarmId(const Aws::String &value)
void SetFarmId(const Aws::String &value)
SearchJobsRequest & WithFarmId(Aws::String &&value)
SearchJobsRequest & WithFilterExpressions(const SearchGroupedFilterExpressions &value)
SearchJobsRequest & AddSortExpressions(const SearchSortExpression &value)
AWS_DEADLINE_API Aws::String SerializePayload() const override
SearchJobsRequest & WithPageSize(int value)
void SetSortExpressions(const Aws::Vector< SearchSortExpression > &value)
const Aws::String & GetFarmId() const
void SetFilterExpressions(const SearchGroupedFilterExpressions &value)
SearchJobsRequest & AddQueueIds(const char *value)
SearchJobsRequest & WithFarmId(const char *value)
SearchJobsRequest & WithSortExpressions(const Aws::Vector< SearchSortExpression > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector