170 lines
6.1 KiB
C++
170 lines
6.1 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/braket/Braket_EXPORTS.h>
|
|
#include <aws/braket/BraketRequest.h>
|
|
#include <aws/core/utils/memory/stl/AWSVector.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <aws/braket/model/SearchQuantumTasksFilter.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Braket
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
*/
|
|
class AWS_BRAKET_API SearchQuantumTasksRequest : public BraketRequest
|
|
{
|
|
public:
|
|
SearchQuantumTasksRequest();
|
|
|
|
// Service request name is the Operation name which will send this request out,
|
|
// each operation should has unique request name, so that we can get operation's name from this request.
|
|
// Note: this is not true for response, multiple operations may have the same response name,
|
|
// so we can not get operation's name from response.
|
|
inline virtual const char* GetServiceRequestName() const override { return "SearchQuantumTasks"; }
|
|
|
|
Aws::String SerializePayload() const override;
|
|
|
|
|
|
/**
|
|
* <p>Array of <code>SearchQuantumTasksFilter</code> objects.</p>
|
|
*/
|
|
inline const Aws::Vector<SearchQuantumTasksFilter>& GetFilters() const{ return m_filters; }
|
|
|
|
/**
|
|
* <p>Array of <code>SearchQuantumTasksFilter</code> objects.</p>
|
|
*/
|
|
inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
|
|
|
|
/**
|
|
* <p>Array of <code>SearchQuantumTasksFilter</code> objects.</p>
|
|
*/
|
|
inline void SetFilters(const Aws::Vector<SearchQuantumTasksFilter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
|
|
|
|
/**
|
|
* <p>Array of <code>SearchQuantumTasksFilter</code> objects.</p>
|
|
*/
|
|
inline void SetFilters(Aws::Vector<SearchQuantumTasksFilter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
|
|
|
|
/**
|
|
* <p>Array of <code>SearchQuantumTasksFilter</code> objects.</p>
|
|
*/
|
|
inline SearchQuantumTasksRequest& WithFilters(const Aws::Vector<SearchQuantumTasksFilter>& value) { SetFilters(value); return *this;}
|
|
|
|
/**
|
|
* <p>Array of <code>SearchQuantumTasksFilter</code> objects.</p>
|
|
*/
|
|
inline SearchQuantumTasksRequest& WithFilters(Aws::Vector<SearchQuantumTasksFilter>&& value) { SetFilters(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>Array of <code>SearchQuantumTasksFilter</code> objects.</p>
|
|
*/
|
|
inline SearchQuantumTasksRequest& AddFilters(const SearchQuantumTasksFilter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
|
|
|
|
/**
|
|
* <p>Array of <code>SearchQuantumTasksFilter</code> objects.</p>
|
|
*/
|
|
inline SearchQuantumTasksRequest& AddFilters(SearchQuantumTasksFilter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
|
|
|
|
|
|
/**
|
|
* <p>Maximum number of results to return in the response.</p>
|
|
*/
|
|
inline int GetMaxResults() const{ return m_maxResults; }
|
|
|
|
/**
|
|
* <p>Maximum number of results to return in the response.</p>
|
|
*/
|
|
inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
|
|
|
|
/**
|
|
* <p>Maximum number of results to return in the response.</p>
|
|
*/
|
|
inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
|
|
|
|
/**
|
|
* <p>Maximum number of results to return in the response.</p>
|
|
*/
|
|
inline SearchQuantumTasksRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>A token used for pagination of results returned in the response. Use the
|
|
* token returned from the previous request continue results where the previous
|
|
* request ended.</p>
|
|
*/
|
|
inline const Aws::String& GetNextToken() const{ return m_nextToken; }
|
|
|
|
/**
|
|
* <p>A token used for pagination of results returned in the response. Use the
|
|
* token returned from the previous request continue results where the previous
|
|
* request ended.</p>
|
|
*/
|
|
inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
|
|
|
|
/**
|
|
* <p>A token used for pagination of results returned in the response. Use the
|
|
* token returned from the previous request continue results where the previous
|
|
* request ended.</p>
|
|
*/
|
|
inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
|
|
|
|
/**
|
|
* <p>A token used for pagination of results returned in the response. Use the
|
|
* token returned from the previous request continue results where the previous
|
|
* request ended.</p>
|
|
*/
|
|
inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
|
|
|
|
/**
|
|
* <p>A token used for pagination of results returned in the response. Use the
|
|
* token returned from the previous request continue results where the previous
|
|
* request ended.</p>
|
|
*/
|
|
inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
|
|
|
|
/**
|
|
* <p>A token used for pagination of results returned in the response. Use the
|
|
* token returned from the previous request continue results where the previous
|
|
* request ended.</p>
|
|
*/
|
|
inline SearchQuantumTasksRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
|
|
|
|
/**
|
|
* <p>A token used for pagination of results returned in the response. Use the
|
|
* token returned from the previous request continue results where the previous
|
|
* request ended.</p>
|
|
*/
|
|
inline SearchQuantumTasksRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>A token used for pagination of results returned in the response. Use the
|
|
* token returned from the previous request continue results where the previous
|
|
* request ended.</p>
|
|
*/
|
|
inline SearchQuantumTasksRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::Vector<SearchQuantumTasksFilter> m_filters;
|
|
bool m_filtersHasBeenSet;
|
|
|
|
int m_maxResults;
|
|
bool m_maxResultsHasBeenSet;
|
|
|
|
Aws::String m_nextToken;
|
|
bool m_nextTokenHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace Braket
|
|
} // namespace Aws
|