/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Http { class URI; } //namespace Http namespace MedicalImaging { namespace Model { /** */ class SearchImageSetsRequest : public MedicalImagingRequest { public: AWS_MEDICALIMAGING_API SearchImageSetsRequest(); // 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 "SearchImageSets"; } AWS_MEDICALIMAGING_API Aws::String SerializePayload() const override; AWS_MEDICALIMAGING_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The identifier of the data store where the image sets reside.

*/ inline const Aws::String& GetDatastoreId() const{ return m_datastoreId; } /** *

The identifier of the data store where the image sets reside.

*/ inline bool DatastoreIdHasBeenSet() const { return m_datastoreIdHasBeenSet; } /** *

The identifier of the data store where the image sets reside.

*/ inline void SetDatastoreId(const Aws::String& value) { m_datastoreIdHasBeenSet = true; m_datastoreId = value; } /** *

The identifier of the data store where the image sets reside.

*/ inline void SetDatastoreId(Aws::String&& value) { m_datastoreIdHasBeenSet = true; m_datastoreId = std::move(value); } /** *

The identifier of the data store where the image sets reside.

*/ inline void SetDatastoreId(const char* value) { m_datastoreIdHasBeenSet = true; m_datastoreId.assign(value); } /** *

The identifier of the data store where the image sets reside.

*/ inline SearchImageSetsRequest& WithDatastoreId(const Aws::String& value) { SetDatastoreId(value); return *this;} /** *

The identifier of the data store where the image sets reside.

*/ inline SearchImageSetsRequest& WithDatastoreId(Aws::String&& value) { SetDatastoreId(std::move(value)); return *this;} /** *

The identifier of the data store where the image sets reside.

*/ inline SearchImageSetsRequest& WithDatastoreId(const char* value) { SetDatastoreId(value); return *this;} /** *

The search criteria that filters by applying a maximum of 1 item to * SearchByAttribute.

*/ inline const SearchCriteria& GetSearchCriteria() const{ return m_searchCriteria; } /** *

The search criteria that filters by applying a maximum of 1 item to * SearchByAttribute.

*/ inline bool SearchCriteriaHasBeenSet() const { return m_searchCriteriaHasBeenSet; } /** *

The search criteria that filters by applying a maximum of 1 item to * SearchByAttribute.

*/ inline void SetSearchCriteria(const SearchCriteria& value) { m_searchCriteriaHasBeenSet = true; m_searchCriteria = value; } /** *

The search criteria that filters by applying a maximum of 1 item to * SearchByAttribute.

*/ inline void SetSearchCriteria(SearchCriteria&& value) { m_searchCriteriaHasBeenSet = true; m_searchCriteria = std::move(value); } /** *

The search criteria that filters by applying a maximum of 1 item to * SearchByAttribute.

*/ inline SearchImageSetsRequest& WithSearchCriteria(const SearchCriteria& value) { SetSearchCriteria(value); return *this;} /** *

The search criteria that filters by applying a maximum of 1 item to * SearchByAttribute.

*/ inline SearchImageSetsRequest& WithSearchCriteria(SearchCriteria&& value) { SetSearchCriteria(std::move(value)); return *this;} /** *

The maximum number of results that can be returned in a search.

*/ inline int GetMaxResults() const{ return m_maxResults; } /** *

The maximum number of results that can be returned in a search.

*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *

The maximum number of results that can be returned in a search.

*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *

The maximum number of results that can be returned in a search.

*/ inline SearchImageSetsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} /** *

The token used for pagination of results returned in the response. Use the * token returned from the previous request to continue results where the previous * request ended.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

The token used for pagination of results returned in the response. Use the * token returned from the previous request to continue results where the previous * request ended.

*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *

The token used for pagination of results returned in the response. Use the * token returned from the previous request to continue results where the previous * request ended.

*/ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } /** *

The token used for pagination of results returned in the response. Use the * token returned from the previous request to continue results where the previous * request ended.

*/ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } /** *

The token used for pagination of results returned in the response. Use the * token returned from the previous request to continue results where the previous * request ended.

*/ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } /** *

The token used for pagination of results returned in the response. Use the * token returned from the previous request to continue results where the previous * request ended.

*/ inline SearchImageSetsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

The token used for pagination of results returned in the response. Use the * token returned from the previous request to continue results where the previous * request ended.

*/ inline SearchImageSetsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

The token used for pagination of results returned in the response. Use the * token returned from the previous request to continue results where the previous * request ended.

*/ inline SearchImageSetsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::String m_datastoreId; bool m_datastoreIdHasBeenSet = false; SearchCriteria m_searchCriteria; bool m_searchCriteriaHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; }; } // namespace Model } // namespace MedicalImaging } // namespace Aws