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

The identifiers of recommendations that are causing errors.

*/ inline const Aws::Vector& GetErrors() const{ return m_errors; } /** *

The identifiers of recommendations that are causing errors.

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

The identifiers of recommendations that are causing errors.

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

The identifiers of recommendations that are causing errors.

*/ inline NotifyRecommendationsReceivedResult& WithErrors(const Aws::Vector& value) { SetErrors(value); return *this;} /** *

The identifiers of recommendations that are causing errors.

*/ inline NotifyRecommendationsReceivedResult& WithErrors(Aws::Vector&& value) { SetErrors(std::move(value)); return *this;} /** *

The identifiers of recommendations that are causing errors.

*/ inline NotifyRecommendationsReceivedResult& AddErrors(const NotifyRecommendationsReceivedError& value) { m_errors.push_back(value); return *this; } /** *

The identifiers of recommendations that are causing errors.

*/ inline NotifyRecommendationsReceivedResult& AddErrors(NotifyRecommendationsReceivedError&& value) { m_errors.push_back(std::move(value)); return *this; } /** *

The identifiers of the recommendations.

*/ inline const Aws::Vector& GetRecommendationIds() const{ return m_recommendationIds; } /** *

The identifiers of the recommendations.

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

The identifiers of the recommendations.

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

The identifiers of the recommendations.

*/ inline NotifyRecommendationsReceivedResult& WithRecommendationIds(const Aws::Vector& value) { SetRecommendationIds(value); return *this;} /** *

The identifiers of the recommendations.

*/ inline NotifyRecommendationsReceivedResult& WithRecommendationIds(Aws::Vector&& value) { SetRecommendationIds(std::move(value)); return *this;} /** *

The identifiers of the recommendations.

*/ inline NotifyRecommendationsReceivedResult& AddRecommendationIds(const Aws::String& value) { m_recommendationIds.push_back(value); return *this; } /** *

The identifiers of the recommendations.

*/ inline NotifyRecommendationsReceivedResult& AddRecommendationIds(Aws::String&& value) { m_recommendationIds.push_back(std::move(value)); return *this; } /** *

The identifiers of the recommendations.

*/ inline NotifyRecommendationsReceivedResult& AddRecommendationIds(const char* value) { m_recommendationIds.push_back(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 NotifyRecommendationsReceivedResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline NotifyRecommendationsReceivedResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline NotifyRecommendationsReceivedResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_errors; Aws::Vector m_recommendationIds; Aws::String m_requestId; }; } // namespace Model } // namespace ConnectWisdomService } // namespace Aws