/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An error occurred when creating a recommendation.See Also:
* AWS
* API Reference
A recommendation is causing an error.
*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *A recommendation is causing an error.
*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *A recommendation is causing an error.
*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *A recommendation is causing an error.
*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *A recommendation is causing an error.
*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *A recommendation is causing an error.
*/ inline NotifyRecommendationsReceivedError& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *A recommendation is causing an error.
*/ inline NotifyRecommendationsReceivedError& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *A recommendation is causing an error.
*/ inline NotifyRecommendationsReceivedError& WithMessage(const char* value) { SetMessage(value); return *this;} /** *The identifier of the recommendation that is in error.
*/ inline const Aws::String& GetRecommendationId() const{ return m_recommendationId; } /** *The identifier of the recommendation that is in error.
*/ inline bool RecommendationIdHasBeenSet() const { return m_recommendationIdHasBeenSet; } /** *The identifier of the recommendation that is in error.
*/ inline void SetRecommendationId(const Aws::String& value) { m_recommendationIdHasBeenSet = true; m_recommendationId = value; } /** *The identifier of the recommendation that is in error.
*/ inline void SetRecommendationId(Aws::String&& value) { m_recommendationIdHasBeenSet = true; m_recommendationId = std::move(value); } /** *The identifier of the recommendation that is in error.
*/ inline void SetRecommendationId(const char* value) { m_recommendationIdHasBeenSet = true; m_recommendationId.assign(value); } /** *The identifier of the recommendation that is in error.
*/ inline NotifyRecommendationsReceivedError& WithRecommendationId(const Aws::String& value) { SetRecommendationId(value); return *this;} /** *The identifier of the recommendation that is in error.
*/ inline NotifyRecommendationsReceivedError& WithRecommendationId(Aws::String&& value) { SetRecommendationId(std::move(value)); return *this;} /** *The identifier of the recommendation that is in error.
*/ inline NotifyRecommendationsReceivedError& WithRecommendationId(const char* value) { SetRecommendationId(value); return *this;} private: Aws::String m_message; bool m_messageHasBeenSet = false; Aws::String m_recommendationId; bool m_recommendationIdHasBeenSet = false; }; } // namespace Model } // namespace ConnectWisdomService } // namespace Aws