AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateStandbyWorkspacesResult.h
1
6#pragma once
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/FailedCreateStandbyWorkspacesRequest.h>
11#include <aws/workspaces/model/PendingCreateStandbyWorkspacesRequest.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace WorkSpaces
27{
28namespace Model
29{
31 {
32 public:
33 AWS_WORKSPACES_API CreateStandbyWorkspacesResult();
36
37
39
42 inline const Aws::Vector<FailedCreateStandbyWorkspacesRequest>& GetFailedStandbyRequests() const{ return m_failedStandbyRequests; }
43 inline void SetFailedStandbyRequests(const Aws::Vector<FailedCreateStandbyWorkspacesRequest>& value) { m_failedStandbyRequests = value; }
44 inline void SetFailedStandbyRequests(Aws::Vector<FailedCreateStandbyWorkspacesRequest>&& value) { m_failedStandbyRequests = std::move(value); }
47 inline CreateStandbyWorkspacesResult& AddFailedStandbyRequests(const FailedCreateStandbyWorkspacesRequest& value) { m_failedStandbyRequests.push_back(value); return *this; }
48 inline CreateStandbyWorkspacesResult& AddFailedStandbyRequests(FailedCreateStandbyWorkspacesRequest&& value) { m_failedStandbyRequests.push_back(std::move(value)); return *this; }
50
52
55 inline const Aws::Vector<PendingCreateStandbyWorkspacesRequest>& GetPendingStandbyRequests() const{ return m_pendingStandbyRequests; }
56 inline void SetPendingStandbyRequests(const Aws::Vector<PendingCreateStandbyWorkspacesRequest>& value) { m_pendingStandbyRequests = value; }
57 inline void SetPendingStandbyRequests(Aws::Vector<PendingCreateStandbyWorkspacesRequest>&& value) { m_pendingStandbyRequests = std::move(value); }
60 inline CreateStandbyWorkspacesResult& AddPendingStandbyRequests(const PendingCreateStandbyWorkspacesRequest& value) { m_pendingStandbyRequests.push_back(value); return *this; }
61 inline CreateStandbyWorkspacesResult& AddPendingStandbyRequests(PendingCreateStandbyWorkspacesRequest&& value) { m_pendingStandbyRequests.push_back(std::move(value)); return *this; }
63
65
66 inline const Aws::String& GetRequestId() const{ return m_requestId; }
67 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
68 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
69 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
70 inline CreateStandbyWorkspacesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
71 inline CreateStandbyWorkspacesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
72 inline CreateStandbyWorkspacesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
74 private:
75
77
79
80 Aws::String m_requestId;
81 };
82
83} // namespace Model
84} // namespace WorkSpaces
85} // namespace Aws
void SetPendingStandbyRequests(Aws::Vector< PendingCreateStandbyWorkspacesRequest > &&value)
CreateStandbyWorkspacesResult & WithFailedStandbyRequests(const Aws::Vector< FailedCreateStandbyWorkspacesRequest > &value)
CreateStandbyWorkspacesResult & AddFailedStandbyRequests(FailedCreateStandbyWorkspacesRequest &&value)
AWS_WORKSPACES_API CreateStandbyWorkspacesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateStandbyWorkspacesResult & WithRequestId(Aws::String &&value)
const Aws::Vector< PendingCreateStandbyWorkspacesRequest > & GetPendingStandbyRequests() const
CreateStandbyWorkspacesResult & WithRequestId(const Aws::String &value)
CreateStandbyWorkspacesResult & WithPendingStandbyRequests(Aws::Vector< PendingCreateStandbyWorkspacesRequest > &&value)
CreateStandbyWorkspacesResult & AddPendingStandbyRequests(PendingCreateStandbyWorkspacesRequest &&value)
CreateStandbyWorkspacesResult & AddFailedStandbyRequests(const FailedCreateStandbyWorkspacesRequest &value)
const Aws::Vector< FailedCreateStandbyWorkspacesRequest > & GetFailedStandbyRequests() const
AWS_WORKSPACES_API CreateStandbyWorkspacesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetFailedStandbyRequests(const Aws::Vector< FailedCreateStandbyWorkspacesRequest > &value)
CreateStandbyWorkspacesResult & WithPendingStandbyRequests(const Aws::Vector< PendingCreateStandbyWorkspacesRequest > &value)
void SetFailedStandbyRequests(Aws::Vector< FailedCreateStandbyWorkspacesRequest > &&value)
CreateStandbyWorkspacesResult & WithRequestId(const char *value)
CreateStandbyWorkspacesResult & AddPendingStandbyRequests(const PendingCreateStandbyWorkspacesRequest &value)
void SetPendingStandbyRequests(const Aws::Vector< PendingCreateStandbyWorkspacesRequest > &value)
CreateStandbyWorkspacesResult & WithFailedStandbyRequests(Aws::Vector< FailedCreateStandbyWorkspacesRequest > &&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