7#include <aws/workspaces/WorkSpaces_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/workspaces/model/FailedCreateWorkspaceRequest.h>
11#include <aws/workspaces/model/Workspace.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
73 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
CreateWorkspacesResult & WithFailedRequests(const Aws::Vector< FailedCreateWorkspaceRequest > &value)
void SetFailedRequests(Aws::Vector< FailedCreateWorkspaceRequest > &&value)
CreateWorkspacesResult & WithFailedRequests(Aws::Vector< FailedCreateWorkspaceRequest > &&value)
void SetPendingRequests(const Aws::Vector< Workspace > &value)
AWS_WORKSPACES_API CreateWorkspacesResult()
void SetFailedRequests(const Aws::Vector< FailedCreateWorkspaceRequest > &value)
AWS_WORKSPACES_API CreateWorkspacesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateWorkspacesResult & WithPendingRequests(Aws::Vector< Workspace > &&value)
void SetRequestId(const Aws::String &value)
void SetRequestId(Aws::String &&value)
CreateWorkspacesResult & WithRequestId(const char *value)
AWS_WORKSPACES_API CreateWorkspacesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< FailedCreateWorkspaceRequest > & GetFailedRequests() const
CreateWorkspacesResult & AddFailedRequests(FailedCreateWorkspaceRequest &&value)
const Aws::String & GetRequestId() const
CreateWorkspacesResult & WithPendingRequests(const Aws::Vector< Workspace > &value)
CreateWorkspacesResult & WithRequestId(const Aws::String &value)
const Aws::Vector< Workspace > & GetPendingRequests() const
CreateWorkspacesResult & AddFailedRequests(const FailedCreateWorkspaceRequest &value)
void SetRequestId(const char *value)
CreateWorkspacesResult & AddPendingRequests(Workspace &&value)
void SetPendingRequests(Aws::Vector< Workspace > &&value)
CreateWorkspacesResult & WithRequestId(Aws::String &&value)
CreateWorkspacesResult & AddPendingRequests(const Workspace &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue