/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the standby WorkSpace that could not be created.See
* Also:
AWS
* API Reference
Information about the standby WorkSpace that could not be created.
*/ inline const StandbyWorkspace& GetStandbyWorkspaceRequest() const{ return m_standbyWorkspaceRequest; } /** *Information about the standby WorkSpace that could not be created.
*/ inline bool StandbyWorkspaceRequestHasBeenSet() const { return m_standbyWorkspaceRequestHasBeenSet; } /** *Information about the standby WorkSpace that could not be created.
*/ inline void SetStandbyWorkspaceRequest(const StandbyWorkspace& value) { m_standbyWorkspaceRequestHasBeenSet = true; m_standbyWorkspaceRequest = value; } /** *Information about the standby WorkSpace that could not be created.
*/ inline void SetStandbyWorkspaceRequest(StandbyWorkspace&& value) { m_standbyWorkspaceRequestHasBeenSet = true; m_standbyWorkspaceRequest = std::move(value); } /** *Information about the standby WorkSpace that could not be created.
*/ inline FailedCreateStandbyWorkspacesRequest& WithStandbyWorkspaceRequest(const StandbyWorkspace& value) { SetStandbyWorkspaceRequest(value); return *this;} /** *Information about the standby WorkSpace that could not be created.
*/ inline FailedCreateStandbyWorkspacesRequest& WithStandbyWorkspaceRequest(StandbyWorkspace&& value) { SetStandbyWorkspaceRequest(std::move(value)); return *this;} /** *The error code that is returned if the standby WorkSpace could not be * created.
*/ inline const Aws::String& GetErrorCode() const{ return m_errorCode; } /** *The error code that is returned if the standby WorkSpace could not be * created.
*/ inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; } /** *The error code that is returned if the standby WorkSpace could not be * created.
*/ inline void SetErrorCode(const Aws::String& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; } /** *The error code that is returned if the standby WorkSpace could not be * created.
*/ inline void SetErrorCode(Aws::String&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); } /** *The error code that is returned if the standby WorkSpace could not be * created.
*/ inline void SetErrorCode(const char* value) { m_errorCodeHasBeenSet = true; m_errorCode.assign(value); } /** *The error code that is returned if the standby WorkSpace could not be * created.
*/ inline FailedCreateStandbyWorkspacesRequest& WithErrorCode(const Aws::String& value) { SetErrorCode(value); return *this;} /** *The error code that is returned if the standby WorkSpace could not be * created.
*/ inline FailedCreateStandbyWorkspacesRequest& WithErrorCode(Aws::String&& value) { SetErrorCode(std::move(value)); return *this;} /** *The error code that is returned if the standby WorkSpace could not be * created.
*/ inline FailedCreateStandbyWorkspacesRequest& WithErrorCode(const char* value) { SetErrorCode(value); return *this;} /** *The text of the error message that is returned if the standby WorkSpace could * not be created.
*/ inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; } /** *The text of the error message that is returned if the standby WorkSpace could * not be created.
*/ inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; } /** *The text of the error message that is returned if the standby WorkSpace could * not be created.
*/ inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; } /** *The text of the error message that is returned if the standby WorkSpace could * not be created.
*/ inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); } /** *The text of the error message that is returned if the standby WorkSpace could * not be created.
*/ inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); } /** *The text of the error message that is returned if the standby WorkSpace could * not be created.
*/ inline FailedCreateStandbyWorkspacesRequest& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;} /** *The text of the error message that is returned if the standby WorkSpace could * not be created.
*/ inline FailedCreateStandbyWorkspacesRequest& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;} /** *The text of the error message that is returned if the standby WorkSpace could * not be created.
*/ inline FailedCreateStandbyWorkspacesRequest& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;} private: StandbyWorkspace m_standbyWorkspaceRequest; bool m_standbyWorkspaceRequestHasBeenSet = false; Aws::String m_errorCode; bool m_errorCodeHasBeenSet = false; Aws::String m_errorMessage; bool m_errorMessageHasBeenSet = false; }; } // namespace Model } // namespace WorkSpaces } // namespace Aws