AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SearchStepsRequest.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 SearchStepsRequest();
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 "SearchSteps"; }
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 SearchStepsRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;}
48 inline SearchStepsRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;}
49 inline SearchStepsRequest& 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 SearchStepsRequest& WithQueueIds(const Aws::Vector<Aws::String>& value) { SetQueueIds(value); return *this;}
61 inline SearchStepsRequest& WithQueueIds(Aws::Vector<Aws::String>&& value) { SetQueueIds(std::move(value)); return *this;}
62 inline SearchStepsRequest& AddQueueIds(const Aws::String& value) { m_queueIdsHasBeenSet = true; m_queueIds.push_back(value); return *this; }
63 inline SearchStepsRequest& AddQueueIds(Aws::String&& value) { m_queueIdsHasBeenSet = true; m_queueIds.push_back(std::move(value)); return *this; }
64 inline SearchStepsRequest& 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 SearchStepsRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
77 inline SearchStepsRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
78 inline SearchStepsRequest& 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 SearchStepsRequest& AddSortExpressions(const SearchSortExpression& value) { m_sortExpressionsHasBeenSet = true; m_sortExpressions.push_back(value); return *this; }
106 inline SearchStepsRequest& 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 SearchStepsRequest& 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 SearchStepsRequest& 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
virtual const char * GetServiceRequestName() const override
SearchStepsRequest & WithJobId(const char *value)
SearchStepsRequest & WithSortExpressions(Aws::Vector< SearchSortExpression > &&value)
SearchStepsRequest & AddSortExpressions(const SearchSortExpression &value)
SearchStepsRequest & AddSortExpressions(SearchSortExpression &&value)
SearchStepsRequest & WithQueueIds(const Aws::Vector< Aws::String > &value)
void SetFilterExpressions(const SearchGroupedFilterExpressions &value)
SearchStepsRequest & WithJobId(Aws::String &&value)
void SetQueueIds(Aws::Vector< Aws::String > &&value)
SearchStepsRequest & WithFarmId(const char *value)
SearchStepsRequest & WithFilterExpressions(const SearchGroupedFilterExpressions &value)
SearchStepsRequest & WithFarmId(Aws::String &&value)
SearchStepsRequest & AddQueueIds(const char *value)
void SetJobId(const Aws::String &value)
SearchStepsRequest & WithFarmId(const Aws::String &value)
void SetSortExpressions(Aws::Vector< SearchSortExpression > &&value)
void SetSortExpressions(const Aws::Vector< SearchSortExpression > &value)
void SetFarmId(const Aws::String &value)
const Aws::Vector< SearchSortExpression > & GetSortExpressions() const
SearchStepsRequest & WithFilterExpressions(SearchGroupedFilterExpressions &&value)
SearchStepsRequest & WithJobId(const Aws::String &value)
void SetQueueIds(const Aws::Vector< Aws::String > &value)
void SetFilterExpressions(SearchGroupedFilterExpressions &&value)
SearchStepsRequest & WithSortExpressions(const Aws::Vector< SearchSortExpression > &value)
SearchStepsRequest & AddQueueIds(Aws::String &&value)
SearchStepsRequest & WithQueueIds(Aws::Vector< Aws::String > &&value)
SearchStepsRequest & WithPageSize(int value)
AWS_DEADLINE_API Aws::String SerializePayload() const override
const Aws::Vector< Aws::String > & GetQueueIds() const
const SearchGroupedFilterExpressions & GetFilterExpressions() const
SearchStepsRequest & AddQueueIds(const Aws::String &value)
SearchStepsRequest & WithItemOffset(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector