/** * 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 MQ { namespace Model { /** *

Action required for a broker.

See Also:

AWS * API Reference

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

The code you can use to find instructions on the action required to resolve * your broker issue.

*/ inline const Aws::String& GetActionRequiredCode() const{ return m_actionRequiredCode; } /** *

The code you can use to find instructions on the action required to resolve * your broker issue.

*/ inline bool ActionRequiredCodeHasBeenSet() const { return m_actionRequiredCodeHasBeenSet; } /** *

The code you can use to find instructions on the action required to resolve * your broker issue.

*/ inline void SetActionRequiredCode(const Aws::String& value) { m_actionRequiredCodeHasBeenSet = true; m_actionRequiredCode = value; } /** *

The code you can use to find instructions on the action required to resolve * your broker issue.

*/ inline void SetActionRequiredCode(Aws::String&& value) { m_actionRequiredCodeHasBeenSet = true; m_actionRequiredCode = std::move(value); } /** *

The code you can use to find instructions on the action required to resolve * your broker issue.

*/ inline void SetActionRequiredCode(const char* value) { m_actionRequiredCodeHasBeenSet = true; m_actionRequiredCode.assign(value); } /** *

The code you can use to find instructions on the action required to resolve * your broker issue.

*/ inline ActionRequired& WithActionRequiredCode(const Aws::String& value) { SetActionRequiredCode(value); return *this;} /** *

The code you can use to find instructions on the action required to resolve * your broker issue.

*/ inline ActionRequired& WithActionRequiredCode(Aws::String&& value) { SetActionRequiredCode(std::move(value)); return *this;} /** *

The code you can use to find instructions on the action required to resolve * your broker issue.

*/ inline ActionRequired& WithActionRequiredCode(const char* value) { SetActionRequiredCode(value); return *this;} /** *

Information about the action required to resolve your broker issue.

*/ inline const Aws::String& GetActionRequiredInfo() const{ return m_actionRequiredInfo; } /** *

Information about the action required to resolve your broker issue.

*/ inline bool ActionRequiredInfoHasBeenSet() const { return m_actionRequiredInfoHasBeenSet; } /** *

Information about the action required to resolve your broker issue.

*/ inline void SetActionRequiredInfo(const Aws::String& value) { m_actionRequiredInfoHasBeenSet = true; m_actionRequiredInfo = value; } /** *

Information about the action required to resolve your broker issue.

*/ inline void SetActionRequiredInfo(Aws::String&& value) { m_actionRequiredInfoHasBeenSet = true; m_actionRequiredInfo = std::move(value); } /** *

Information about the action required to resolve your broker issue.

*/ inline void SetActionRequiredInfo(const char* value) { m_actionRequiredInfoHasBeenSet = true; m_actionRequiredInfo.assign(value); } /** *

Information about the action required to resolve your broker issue.

*/ inline ActionRequired& WithActionRequiredInfo(const Aws::String& value) { SetActionRequiredInfo(value); return *this;} /** *

Information about the action required to resolve your broker issue.

*/ inline ActionRequired& WithActionRequiredInfo(Aws::String&& value) { SetActionRequiredInfo(std::move(value)); return *this;} /** *

Information about the action required to resolve your broker issue.

*/ inline ActionRequired& WithActionRequiredInfo(const char* value) { SetActionRequiredInfo(value); return *this;} private: Aws::String m_actionRequiredCode; bool m_actionRequiredCodeHasBeenSet = false; Aws::String m_actionRequiredInfo; bool m_actionRequiredInfoHasBeenSet = false; }; } // namespace Model } // namespace MQ } // namespace Aws