/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace DataPipeline { namespace Model { /** *

Contains the output of QueryObjects.

See Also:

AWS * API Reference

*/ class AWS_DATAPIPELINE_API QueryObjectsResult { public: QueryObjectsResult(); QueryObjectsResult(const Aws::AmazonWebServiceResult& result); QueryObjectsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The identifiers that match the query selectors.

*/ inline const Aws::Vector& GetIds() const{ return m_ids; } /** *

The identifiers that match the query selectors.

*/ inline void SetIds(const Aws::Vector& value) { m_ids = value; } /** *

The identifiers that match the query selectors.

*/ inline void SetIds(Aws::Vector&& value) { m_ids = std::move(value); } /** *

The identifiers that match the query selectors.

*/ inline QueryObjectsResult& WithIds(const Aws::Vector& value) { SetIds(value); return *this;} /** *

The identifiers that match the query selectors.

*/ inline QueryObjectsResult& WithIds(Aws::Vector&& value) { SetIds(std::move(value)); return *this;} /** *

The identifiers that match the query selectors.

*/ inline QueryObjectsResult& AddIds(const Aws::String& value) { m_ids.push_back(value); return *this; } /** *

The identifiers that match the query selectors.

*/ inline QueryObjectsResult& AddIds(Aws::String&& value) { m_ids.push_back(std::move(value)); return *this; } /** *

The identifiers that match the query selectors.

*/ inline QueryObjectsResult& AddIds(const char* value) { m_ids.push_back(value); return *this; } /** *

The starting point for the next page of results. To view the next page of * results, call QueryObjects again with this marker value. If the * value is null, there are no more results.

*/ inline const Aws::String& GetMarker() const{ return m_marker; } /** *

The starting point for the next page of results. To view the next page of * results, call QueryObjects again with this marker value. If the * value is null, there are no more results.

*/ inline void SetMarker(const Aws::String& value) { m_marker = value; } /** *

The starting point for the next page of results. To view the next page of * results, call QueryObjects again with this marker value. If the * value is null, there are no more results.

*/ inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); } /** *

The starting point for the next page of results. To view the next page of * results, call QueryObjects again with this marker value. If the * value is null, there are no more results.

*/ inline void SetMarker(const char* value) { m_marker.assign(value); } /** *

The starting point for the next page of results. To view the next page of * results, call QueryObjects again with this marker value. If the * value is null, there are no more results.

*/ inline QueryObjectsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;} /** *

The starting point for the next page of results. To view the next page of * results, call QueryObjects again with this marker value. If the * value is null, there are no more results.

*/ inline QueryObjectsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;} /** *

The starting point for the next page of results. To view the next page of * results, call QueryObjects again with this marker value. If the * value is null, there are no more results.

*/ inline QueryObjectsResult& WithMarker(const char* value) { SetMarker(value); return *this;} /** *

Indicates whether there are more results that can be obtained by a subsequent * call.

*/ inline bool GetHasMoreResults() const{ return m_hasMoreResults; } /** *

Indicates whether there are more results that can be obtained by a subsequent * call.

*/ inline void SetHasMoreResults(bool value) { m_hasMoreResults = value; } /** *

Indicates whether there are more results that can be obtained by a subsequent * call.

*/ inline QueryObjectsResult& WithHasMoreResults(bool value) { SetHasMoreResults(value); return *this;} private: Aws::Vector m_ids; Aws::String m_marker; bool m_hasMoreResults; }; } // namespace Model } // namespace DataPipeline } // namespace Aws