/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the output of a StopDeployment
operation.
* See Also:
AWS
* API Reference
The status of the stop deployment operation:
Pending: The * stop operation is pending.
Succeeded: The stop operation was * successful.
The status of the stop deployment operation:
Pending: The * stop operation is pending.
Succeeded: The stop operation was * successful.
The status of the stop deployment operation:
Pending: The * stop operation is pending.
Succeeded: The stop operation was * successful.
The status of the stop deployment operation:
Pending: The * stop operation is pending.
Succeeded: The stop operation was * successful.
The status of the stop deployment operation:
Pending: The * stop operation is pending.
Succeeded: The stop operation was * successful.
An accompanying status message.
*/ inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; } /** *An accompanying status message.
*/ inline void SetStatusMessage(const Aws::String& value) { m_statusMessage = value; } /** *An accompanying status message.
*/ inline void SetStatusMessage(Aws::String&& value) { m_statusMessage = std::move(value); } /** *An accompanying status message.
*/ inline void SetStatusMessage(const char* value) { m_statusMessage.assign(value); } /** *An accompanying status message.
*/ inline StopDeploymentResult& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;} /** *An accompanying status message.
*/ inline StopDeploymentResult& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;} /** *An accompanying status message.
*/ inline StopDeploymentResult& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline StopDeploymentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline StopDeploymentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline StopDeploymentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: StopStatus m_status; Aws::String m_statusMessage; Aws::String m_requestId; }; } // namespace Model } // namespace CodeDeploy } // namespace Aws