/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace IoTThingsGraph { namespace Model { class AWS_IOTTHINGSGRAPH_API SearchFlowTemplatesResult { public: SearchFlowTemplatesResult(); SearchFlowTemplatesResult(const Aws::AmazonWebServiceResult& result); SearchFlowTemplatesResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

An array of objects that contain summary information about each workflow in * the result set.

*/ inline const Aws::Vector& GetSummaries() const{ return m_summaries; } /** *

An array of objects that contain summary information about each workflow in * the result set.

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

An array of objects that contain summary information about each workflow in * the result set.

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

An array of objects that contain summary information about each workflow in * the result set.

*/ inline SearchFlowTemplatesResult& WithSummaries(const Aws::Vector& value) { SetSummaries(value); return *this;} /** *

An array of objects that contain summary information about each workflow in * the result set.

*/ inline SearchFlowTemplatesResult& WithSummaries(Aws::Vector&& value) { SetSummaries(std::move(value)); return *this;} /** *

An array of objects that contain summary information about each workflow in * the result set.

*/ inline SearchFlowTemplatesResult& AddSummaries(const FlowTemplateSummary& value) { m_summaries.push_back(value); return *this; } /** *

An array of objects that contain summary information about each workflow in * the result set.

*/ inline SearchFlowTemplatesResult& AddSummaries(FlowTemplateSummary&& value) { m_summaries.push_back(std::move(value)); return *this; } /** *

The string to specify as nextToken when you request the next * page of results.

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

The string to specify as nextToken when you request the next * page of results.

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

The string to specify as nextToken when you request the next * page of results.

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

The string to specify as nextToken when you request the next * page of results.

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

The string to specify as nextToken when you request the next * page of results.

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

The string to specify as nextToken when you request the next * page of results.

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

The string to specify as nextToken when you request the next * page of results.

*/ inline SearchFlowTemplatesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::Vector m_summaries; Aws::String m_nextToken; }; } // namespace Model } // namespace IoTThingsGraph } // namespace Aws