/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace WorkSpaces { namespace Model { class CreateStandbyWorkspacesResult { public: AWS_WORKSPACES_API CreateStandbyWorkspacesResult(); AWS_WORKSPACES_API CreateStandbyWorkspacesResult(const Aws::AmazonWebServiceResult& result); AWS_WORKSPACES_API CreateStandbyWorkspacesResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Information about the standby WorkSpace that could not be created.

*/ inline const Aws::Vector& GetFailedStandbyRequests() const{ return m_failedStandbyRequests; } /** *

Information about the standby WorkSpace that could not be created.

*/ inline void SetFailedStandbyRequests(const Aws::Vector& value) { m_failedStandbyRequests = value; } /** *

Information about the standby WorkSpace that could not be created.

*/ inline void SetFailedStandbyRequests(Aws::Vector&& value) { m_failedStandbyRequests = std::move(value); } /** *

Information about the standby WorkSpace that could not be created.

*/ inline CreateStandbyWorkspacesResult& WithFailedStandbyRequests(const Aws::Vector& value) { SetFailedStandbyRequests(value); return *this;} /** *

Information about the standby WorkSpace that could not be created.

*/ inline CreateStandbyWorkspacesResult& WithFailedStandbyRequests(Aws::Vector&& value) { SetFailedStandbyRequests(std::move(value)); return *this;} /** *

Information about the standby WorkSpace that could not be created.

*/ inline CreateStandbyWorkspacesResult& AddFailedStandbyRequests(const FailedCreateStandbyWorkspacesRequest& value) { m_failedStandbyRequests.push_back(value); return *this; } /** *

Information about the standby WorkSpace that could not be created.

*/ inline CreateStandbyWorkspacesResult& AddFailedStandbyRequests(FailedCreateStandbyWorkspacesRequest&& value) { m_failedStandbyRequests.push_back(std::move(value)); return *this; } /** *

Information about the standby WorkSpace that was created.

*/ inline const Aws::Vector& GetPendingStandbyRequests() const{ return m_pendingStandbyRequests; } /** *

Information about the standby WorkSpace that was created.

*/ inline void SetPendingStandbyRequests(const Aws::Vector& value) { m_pendingStandbyRequests = value; } /** *

Information about the standby WorkSpace that was created.

*/ inline void SetPendingStandbyRequests(Aws::Vector&& value) { m_pendingStandbyRequests = std::move(value); } /** *

Information about the standby WorkSpace that was created.

*/ inline CreateStandbyWorkspacesResult& WithPendingStandbyRequests(const Aws::Vector& value) { SetPendingStandbyRequests(value); return *this;} /** *

Information about the standby WorkSpace that was created.

*/ inline CreateStandbyWorkspacesResult& WithPendingStandbyRequests(Aws::Vector&& value) { SetPendingStandbyRequests(std::move(value)); return *this;} /** *

Information about the standby WorkSpace that was created.

*/ inline CreateStandbyWorkspacesResult& AddPendingStandbyRequests(const PendingCreateStandbyWorkspacesRequest& value) { m_pendingStandbyRequests.push_back(value); return *this; } /** *

Information about the standby WorkSpace that was created.

*/ inline CreateStandbyWorkspacesResult& AddPendingStandbyRequests(PendingCreateStandbyWorkspacesRequest&& value) { m_pendingStandbyRequests.push_back(std::move(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 CreateStandbyWorkspacesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateStandbyWorkspacesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateStandbyWorkspacesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_failedStandbyRequests; Aws::Vector m_pendingStandbyRequests; Aws::String m_requestId; }; } // namespace Model } // namespace WorkSpaces } // namespace Aws