/** * 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 HealthLake { namespace Model { /** */ class ListFHIRDatastoresRequest : public HealthLakeRequest { public: AWS_HEALTHLAKE_API ListFHIRDatastoresRequest(); // 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 "ListFHIRDatastores"; } AWS_HEALTHLAKE_API Aws::String SerializePayload() const override; AWS_HEALTHLAKE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

Lists all filters associated with a FHIR data store request.

*/ inline const DatastoreFilter& GetFilter() const{ return m_filter; } /** *

Lists all filters associated with a FHIR data store request.

*/ inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; } /** *

Lists all filters associated with a FHIR data store request.

*/ inline void SetFilter(const DatastoreFilter& value) { m_filterHasBeenSet = true; m_filter = value; } /** *

Lists all filters associated with a FHIR data store request.

*/ inline void SetFilter(DatastoreFilter&& value) { m_filterHasBeenSet = true; m_filter = std::move(value); } /** *

Lists all filters associated with a FHIR data store request.

*/ inline ListFHIRDatastoresRequest& WithFilter(const DatastoreFilter& value) { SetFilter(value); return *this;} /** *

Lists all filters associated with a FHIR data store request.

*/ inline ListFHIRDatastoresRequest& WithFilter(DatastoreFilter&& value) { SetFilter(std::move(value)); return *this;} /** *

Fetches the next page of data stores when results are paginated.

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

Fetches the next page of data stores when results are paginated.

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

Fetches the next page of data stores when results are paginated.

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

Fetches the next page of data stores when results are paginated.

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

Fetches the next page of data stores when results are paginated.

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

Fetches the next page of data stores when results are paginated.

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

Fetches the next page of data stores when results are paginated.

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

Fetches the next page of data stores when results are paginated.

*/ inline ListFHIRDatastoresRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

The maximum number of data stores returned in a single page of a * ListFHIRDatastoresRequest call.

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

The maximum number of data stores returned in a single page of a * ListFHIRDatastoresRequest call.

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

The maximum number of data stores returned in a single page of a * ListFHIRDatastoresRequest call.

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

The maximum number of data stores returned in a single page of a * ListFHIRDatastoresRequest call.

*/ inline ListFHIRDatastoresRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} private: DatastoreFilter m_filter; bool m_filterHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; }; } // namespace Model } // namespace HealthLake } // namespace Aws