AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SearchWorkersRequest.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 SearchWorkersRequest();
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 "SearchWorkers"; }
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 SearchWorkersRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;}
48 inline SearchWorkersRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;}
49 inline SearchWorkersRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;}
51
53
56 inline const Aws::Vector<Aws::String>& GetFleetIds() const{ return m_fleetIds; }
57 inline bool FleetIdsHasBeenSet() const { return m_fleetIdsHasBeenSet; }
58 inline void SetFleetIds(const Aws::Vector<Aws::String>& value) { m_fleetIdsHasBeenSet = true; m_fleetIds = value; }
59 inline void SetFleetIds(Aws::Vector<Aws::String>&& value) { m_fleetIdsHasBeenSet = true; m_fleetIds = std::move(value); }
60 inline SearchWorkersRequest& WithFleetIds(const Aws::Vector<Aws::String>& value) { SetFleetIds(value); return *this;}
61 inline SearchWorkersRequest& WithFleetIds(Aws::Vector<Aws::String>&& value) { SetFleetIds(std::move(value)); return *this;}
62 inline SearchWorkersRequest& AddFleetIds(const Aws::String& value) { m_fleetIdsHasBeenSet = true; m_fleetIds.push_back(value); return *this; }
63 inline SearchWorkersRequest& AddFleetIds(Aws::String&& value) { m_fleetIdsHasBeenSet = true; m_fleetIds.push_back(std::move(value)); return *this; }
64 inline SearchWorkersRequest& AddFleetIds(const char* value) { m_fleetIdsHasBeenSet = true; m_fleetIds.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 SearchWorkersRequest& AddSortExpressions(const SearchSortExpression& value) { m_sortExpressionsHasBeenSet = true; m_sortExpressions.push_back(value); return *this; }
92 inline SearchWorkersRequest& 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 SearchWorkersRequest& 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 SearchWorkersRequest& 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_fleetIds;
120 bool m_fleetIdsHasBeenSet = 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
SearchWorkersRequest & WithItemOffset(int value)
SearchWorkersRequest & WithFarmId(const Aws::String &value)
SearchWorkersRequest & WithFilterExpressions(const SearchGroupedFilterExpressions &value)
void SetSortExpressions(const Aws::Vector< SearchSortExpression > &value)
void SetSortExpressions(Aws::Vector< SearchSortExpression > &&value)
const Aws::Vector< Aws::String > & GetFleetIds() const
SearchWorkersRequest & AddSortExpressions(SearchSortExpression &&value)
SearchWorkersRequest & AddFleetIds(Aws::String &&value)
void SetFleetIds(Aws::Vector< Aws::String > &&value)
AWS_DEADLINE_API Aws::String SerializePayload() const override
SearchWorkersRequest & WithFleetIds(const Aws::Vector< Aws::String > &value)
SearchWorkersRequest & WithSortExpressions(const Aws::Vector< SearchSortExpression > &value)
void SetFilterExpressions(SearchGroupedFilterExpressions &&value)
void SetFilterExpressions(const SearchGroupedFilterExpressions &value)
SearchWorkersRequest & WithSortExpressions(Aws::Vector< SearchSortExpression > &&value)
SearchWorkersRequest & WithPageSize(int value)
virtual const char * GetServiceRequestName() const override
SearchWorkersRequest & WithFleetIds(Aws::Vector< Aws::String > &&value)
const SearchGroupedFilterExpressions & GetFilterExpressions() const
const Aws::Vector< SearchSortExpression > & GetSortExpressions() const
void SetFleetIds(const Aws::Vector< Aws::String > &value)
SearchWorkersRequest & WithFarmId(const char *value)
SearchWorkersRequest & WithFilterExpressions(SearchGroupedFilterExpressions &&value)
SearchWorkersRequest & AddFleetIds(const char *value)
SearchWorkersRequest & AddSortExpressions(const SearchSortExpression &value)
SearchWorkersRequest & AddFleetIds(const Aws::String &value)
SearchWorkersRequest & WithFarmId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector