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

The result of the deployment.

See Also:

AWS * API Reference

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

Details about the deployment result.

*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *

Details about the deployment result.

*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *

Details about the deployment result.

*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *

Details about the deployment result.

*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *

Details about the deployment result.

*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *

Details about the deployment result.

*/ inline DeploymentResult& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *

Details about the deployment result.

*/ inline DeploymentResult& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *

Details about the deployment result.

*/ inline DeploymentResult& WithMessage(const char* value) { SetMessage(value); return *this;} /** *

The type of deployment result.

*/ inline const ResultCode& GetResultCode() const{ return m_resultCode; } /** *

The type of deployment result.

*/ inline bool ResultCodeHasBeenSet() const { return m_resultCodeHasBeenSet; } /** *

The type of deployment result.

*/ inline void SetResultCode(const ResultCode& value) { m_resultCodeHasBeenSet = true; m_resultCode = value; } /** *

The type of deployment result.

*/ inline void SetResultCode(ResultCode&& value) { m_resultCodeHasBeenSet = true; m_resultCode = std::move(value); } /** *

The type of deployment result.

*/ inline DeploymentResult& WithResultCode(const ResultCode& value) { SetResultCode(value); return *this;} /** *

The type of deployment result.

*/ inline DeploymentResult& WithResultCode(ResultCode&& value) { SetResultCode(std::move(value)); return *this;} private: Aws::String m_message; bool m_messageHasBeenSet = false; ResultCode m_resultCode; bool m_resultCodeHasBeenSet = false; }; } // namespace Model } // namespace GameSparks } // namespace Aws