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

An array of structures, where each structure displays the results of one * feature evaluation assignment to one user session.

*/ inline const Aws::Vector& GetResults() const{ return m_results; } /** *

An array of structures, where each structure displays the results of one * feature evaluation assignment to one user session.

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

An array of structures, where each structure displays the results of one * feature evaluation assignment to one user session.

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

An array of structures, where each structure displays the results of one * feature evaluation assignment to one user session.

*/ inline BatchEvaluateFeatureResult& WithResults(const Aws::Vector& value) { SetResults(value); return *this;} /** *

An array of structures, where each structure displays the results of one * feature evaluation assignment to one user session.

*/ inline BatchEvaluateFeatureResult& WithResults(Aws::Vector&& value) { SetResults(std::move(value)); return *this;} /** *

An array of structures, where each structure displays the results of one * feature evaluation assignment to one user session.

*/ inline BatchEvaluateFeatureResult& AddResults(const EvaluationResult& value) { m_results.push_back(value); return *this; } /** *

An array of structures, where each structure displays the results of one * feature evaluation assignment to one user session.

*/ inline BatchEvaluateFeatureResult& AddResults(EvaluationResult&& value) { m_results.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 BatchEvaluateFeatureResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline BatchEvaluateFeatureResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline BatchEvaluateFeatureResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_results; Aws::String m_requestId; }; } // namespace Model } // namespace CloudWatchEvidently } // namespace Aws