/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace DevOpsGuru { namespace Model { /** *

Information about insight feedback received from a customer.

See * Also:

AWS * API Reference

*/ class InsightFeedback { public: AWS_DEVOPSGURU_API InsightFeedback(); AWS_DEVOPSGURU_API InsightFeedback(Aws::Utils::Json::JsonView jsonValue); AWS_DEVOPSGURU_API InsightFeedback& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The insight feedback ID.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

The insight feedback ID.

*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *

The insight feedback ID.

*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *

The insight feedback ID.

*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *

The insight feedback ID.

*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *

The insight feedback ID.

*/ inline InsightFeedback& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The insight feedback ID.

*/ inline InsightFeedback& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

The insight feedback ID.

*/ inline InsightFeedback& WithId(const char* value) { SetId(value); return *this;} /** *

The feedback provided by the customer.

*/ inline const InsightFeedbackOption& GetFeedback() const{ return m_feedback; } /** *

The feedback provided by the customer.

*/ inline bool FeedbackHasBeenSet() const { return m_feedbackHasBeenSet; } /** *

The feedback provided by the customer.

*/ inline void SetFeedback(const InsightFeedbackOption& value) { m_feedbackHasBeenSet = true; m_feedback = value; } /** *

The feedback provided by the customer.

*/ inline void SetFeedback(InsightFeedbackOption&& value) { m_feedbackHasBeenSet = true; m_feedback = std::move(value); } /** *

The feedback provided by the customer.

*/ inline InsightFeedback& WithFeedback(const InsightFeedbackOption& value) { SetFeedback(value); return *this;} /** *

The feedback provided by the customer.

*/ inline InsightFeedback& WithFeedback(InsightFeedbackOption&& value) { SetFeedback(std::move(value)); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; InsightFeedbackOption m_feedback; bool m_feedbackHasBeenSet = false; }; } // namespace Model } // namespace DevOpsGuru } // namespace Aws