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

The choice content.

See Also:

AWS * API Reference

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

The display text for the choice content.

*/ inline const Aws::String& GetDisplayText() const{ return m_displayText; } /** *

The display text for the choice content.

*/ inline bool DisplayTextHasBeenSet() const { return m_displayTextHasBeenSet; } /** *

The display text for the choice content.

*/ inline void SetDisplayText(const Aws::String& value) { m_displayTextHasBeenSet = true; m_displayText = value; } /** *

The display text for the choice content.

*/ inline void SetDisplayText(Aws::String&& value) { m_displayTextHasBeenSet = true; m_displayText = std::move(value); } /** *

The display text for the choice content.

*/ inline void SetDisplayText(const char* value) { m_displayTextHasBeenSet = true; m_displayText.assign(value); } /** *

The display text for the choice content.

*/ inline ChoiceContent& WithDisplayText(const Aws::String& value) { SetDisplayText(value); return *this;} /** *

The display text for the choice content.

*/ inline ChoiceContent& WithDisplayText(Aws::String&& value) { SetDisplayText(std::move(value)); return *this;} /** *

The display text for the choice content.

*/ inline ChoiceContent& WithDisplayText(const char* value) { SetDisplayText(value); return *this;} /** *

The URL for the choice content.

*/ inline const Aws::String& GetUrl() const{ return m_url; } /** *

The URL for the choice content.

*/ inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; } /** *

The URL for the choice content.

*/ inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; } /** *

The URL for the choice content.

*/ inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = std::move(value); } /** *

The URL for the choice content.

*/ inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); } /** *

The URL for the choice content.

*/ inline ChoiceContent& WithUrl(const Aws::String& value) { SetUrl(value); return *this;} /** *

The URL for the choice content.

*/ inline ChoiceContent& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;} /** *

The URL for the choice content.

*/ inline ChoiceContent& WithUrl(const char* value) { SetUrl(value); return *this;} private: Aws::String m_displayText; bool m_displayTextHasBeenSet = false; Aws::String m_url; bool m_urlHasBeenSet = false; }; } // namespace Model } // namespace WellArchitected } // namespace Aws