AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MigrateWorkspaceResult.h
1
6#pragma once
7#include <aws/workspaces/WorkSpaces_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace WorkSpaces
24{
25namespace Model
26{
28 {
29 public:
30 AWS_WORKSPACES_API MigrateWorkspaceResult();
33
34
36
39 inline const Aws::String& GetSourceWorkspaceId() const{ return m_sourceWorkspaceId; }
40 inline void SetSourceWorkspaceId(const Aws::String& value) { m_sourceWorkspaceId = value; }
41 inline void SetSourceWorkspaceId(Aws::String&& value) { m_sourceWorkspaceId = std::move(value); }
42 inline void SetSourceWorkspaceId(const char* value) { m_sourceWorkspaceId.assign(value); }
44 inline MigrateWorkspaceResult& WithSourceWorkspaceId(Aws::String&& value) { SetSourceWorkspaceId(std::move(value)); return *this;}
45 inline MigrateWorkspaceResult& WithSourceWorkspaceId(const char* value) { SetSourceWorkspaceId(value); return *this;}
47
49
54 inline const Aws::String& GetTargetWorkspaceId() const{ return m_targetWorkspaceId; }
55 inline void SetTargetWorkspaceId(const Aws::String& value) { m_targetWorkspaceId = value; }
56 inline void SetTargetWorkspaceId(Aws::String&& value) { m_targetWorkspaceId = std::move(value); }
57 inline void SetTargetWorkspaceId(const char* value) { m_targetWorkspaceId.assign(value); }
59 inline MigrateWorkspaceResult& WithTargetWorkspaceId(Aws::String&& value) { SetTargetWorkspaceId(std::move(value)); return *this;}
60 inline MigrateWorkspaceResult& WithTargetWorkspaceId(const char* value) { SetTargetWorkspaceId(value); return *this;}
62
64
65 inline const Aws::String& GetRequestId() const{ return m_requestId; }
66 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
67 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
68 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
69 inline MigrateWorkspaceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
70 inline MigrateWorkspaceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
71 inline MigrateWorkspaceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
73 private:
74
75 Aws::String m_sourceWorkspaceId;
76
77 Aws::String m_targetWorkspaceId;
78
79 Aws::String m_requestId;
80 };
81
82} // namespace Model
83} // namespace WorkSpaces
84} // namespace Aws
MigrateWorkspaceResult & WithSourceWorkspaceId(const Aws::String &value)
MigrateWorkspaceResult & WithSourceWorkspaceId(const char *value)
MigrateWorkspaceResult & WithRequestId(const Aws::String &value)
AWS_WORKSPACES_API MigrateWorkspaceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
MigrateWorkspaceResult & WithTargetWorkspaceId(const Aws::String &value)
MigrateWorkspaceResult & WithRequestId(const char *value)
MigrateWorkspaceResult & WithTargetWorkspaceId(const char *value)
MigrateWorkspaceResult & WithSourceWorkspaceId(Aws::String &&value)
MigrateWorkspaceResult & WithTargetWorkspaceId(Aws::String &&value)
MigrateWorkspaceResult & WithRequestId(Aws::String &&value)
AWS_WORKSPACES_API MigrateWorkspaceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue