/** * 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 LexModelsV2 { namespace Model { class ListIntentPathsResult { public: AWS_LEXMODELSV2_API ListIntentPathsResult(); AWS_LEXMODELSV2_API ListIntentPathsResult(const Aws::AmazonWebServiceResult& result); AWS_LEXMODELSV2_API ListIntentPathsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A list of objects, each of which contains information about a node in the * intent path for which you requested metrics.

*/ inline const Aws::Vector& GetNodeSummaries() const{ return m_nodeSummaries; } /** *

A list of objects, each of which contains information about a node in the * intent path for which you requested metrics.

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

A list of objects, each of which contains information about a node in the * intent path for which you requested metrics.

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

A list of objects, each of which contains information about a node in the * intent path for which you requested metrics.

*/ inline ListIntentPathsResult& WithNodeSummaries(const Aws::Vector& value) { SetNodeSummaries(value); return *this;} /** *

A list of objects, each of which contains information about a node in the * intent path for which you requested metrics.

*/ inline ListIntentPathsResult& WithNodeSummaries(Aws::Vector&& value) { SetNodeSummaries(std::move(value)); return *this;} /** *

A list of objects, each of which contains information about a node in the * intent path for which you requested metrics.

*/ inline ListIntentPathsResult& AddNodeSummaries(const AnalyticsIntentNodeSummary& value) { m_nodeSummaries.push_back(value); return *this; } /** *

A list of objects, each of which contains information about a node in the * intent path for which you requested metrics.

*/ inline ListIntentPathsResult& AddNodeSummaries(AnalyticsIntentNodeSummary&& value) { m_nodeSummaries.push_back(std::move(value)); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline ListIntentPathsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListIntentPathsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListIntentPathsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_nodeSummaries; Aws::String m_requestId; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws