AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateWorkspaceImageResult.h
1
6#pragma once
7#include <aws/workspaces/WorkSpaces_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/workspaces/model/OperatingSystem.h>
10#include <aws/workspaces/model/WorkspaceImageState.h>
11#include <aws/workspaces/model/WorkspaceImageRequiredTenancy.h>
12#include <aws/core/utils/DateTime.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace WorkSpaces
28{
29namespace Model
30{
32 {
33 public:
34 AWS_WORKSPACES_API CreateWorkspaceImageResult();
37
38
40
43 inline const Aws::String& GetImageId() const{ return m_imageId; }
44 inline void SetImageId(const Aws::String& value) { m_imageId = value; }
45 inline void SetImageId(Aws::String&& value) { m_imageId = std::move(value); }
46 inline void SetImageId(const char* value) { m_imageId.assign(value); }
47 inline CreateWorkspaceImageResult& WithImageId(const Aws::String& value) { SetImageId(value); return *this;}
48 inline CreateWorkspaceImageResult& WithImageId(Aws::String&& value) { SetImageId(std::move(value)); return *this;}
49 inline CreateWorkspaceImageResult& WithImageId(const char* value) { SetImageId(value); return *this;}
51
53
56 inline const Aws::String& GetName() const{ return m_name; }
57 inline void SetName(const Aws::String& value) { m_name = value; }
58 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
59 inline void SetName(const char* value) { m_name.assign(value); }
60 inline CreateWorkspaceImageResult& WithName(const Aws::String& value) { SetName(value); return *this;}
61 inline CreateWorkspaceImageResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
62 inline CreateWorkspaceImageResult& WithName(const char* value) { SetName(value); return *this;}
64
66
69 inline const Aws::String& GetDescription() const{ return m_description; }
70 inline void SetDescription(const Aws::String& value) { m_description = value; }
71 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
72 inline void SetDescription(const char* value) { m_description.assign(value); }
73 inline CreateWorkspaceImageResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
74 inline CreateWorkspaceImageResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
75 inline CreateWorkspaceImageResult& WithDescription(const char* value) { SetDescription(value); return *this;}
77
79
82 inline const OperatingSystem& GetOperatingSystem() const{ return m_operatingSystem; }
83 inline void SetOperatingSystem(const OperatingSystem& value) { m_operatingSystem = value; }
84 inline void SetOperatingSystem(OperatingSystem&& value) { m_operatingSystem = std::move(value); }
86 inline CreateWorkspaceImageResult& WithOperatingSystem(OperatingSystem&& value) { SetOperatingSystem(std::move(value)); return *this;}
88
90
93 inline const WorkspaceImageState& GetState() const{ return m_state; }
94 inline void SetState(const WorkspaceImageState& value) { m_state = value; }
95 inline void SetState(WorkspaceImageState&& value) { m_state = std::move(value); }
96 inline CreateWorkspaceImageResult& WithState(const WorkspaceImageState& value) { SetState(value); return *this;}
97 inline CreateWorkspaceImageResult& WithState(WorkspaceImageState&& value) { SetState(std::move(value)); return *this;}
99
101
108 inline const WorkspaceImageRequiredTenancy& GetRequiredTenancy() const{ return m_requiredTenancy; }
109 inline void SetRequiredTenancy(const WorkspaceImageRequiredTenancy& value) { m_requiredTenancy = value; }
110 inline void SetRequiredTenancy(WorkspaceImageRequiredTenancy&& value) { m_requiredTenancy = std::move(value); }
114
116
119 inline const Aws::Utils::DateTime& GetCreated() const{ return m_created; }
120 inline void SetCreated(const Aws::Utils::DateTime& value) { m_created = value; }
121 inline void SetCreated(Aws::Utils::DateTime&& value) { m_created = std::move(value); }
122 inline CreateWorkspaceImageResult& WithCreated(const Aws::Utils::DateTime& value) { SetCreated(value); return *this;}
123 inline CreateWorkspaceImageResult& WithCreated(Aws::Utils::DateTime&& value) { SetCreated(std::move(value)); return *this;}
125
127
130 inline const Aws::String& GetOwnerAccountId() const{ return m_ownerAccountId; }
131 inline void SetOwnerAccountId(const Aws::String& value) { m_ownerAccountId = value; }
132 inline void SetOwnerAccountId(Aws::String&& value) { m_ownerAccountId = std::move(value); }
133 inline void SetOwnerAccountId(const char* value) { m_ownerAccountId.assign(value); }
134 inline CreateWorkspaceImageResult& WithOwnerAccountId(const Aws::String& value) { SetOwnerAccountId(value); return *this;}
135 inline CreateWorkspaceImageResult& WithOwnerAccountId(Aws::String&& value) { SetOwnerAccountId(std::move(value)); return *this;}
136 inline CreateWorkspaceImageResult& WithOwnerAccountId(const char* value) { SetOwnerAccountId(value); return *this;}
138
140
141 inline const Aws::String& GetRequestId() const{ return m_requestId; }
142 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
143 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
144 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
145 inline CreateWorkspaceImageResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
146 inline CreateWorkspaceImageResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
147 inline CreateWorkspaceImageResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
149 private:
150
151 Aws::String m_imageId;
152
153 Aws::String m_name;
154
155 Aws::String m_description;
156
157 OperatingSystem m_operatingSystem;
158
159 WorkspaceImageState m_state;
160
161 WorkspaceImageRequiredTenancy m_requiredTenancy;
162
163 Aws::Utils::DateTime m_created;
164
165 Aws::String m_ownerAccountId;
166
167 Aws::String m_requestId;
168 };
169
170} // namespace Model
171} // namespace WorkSpaces
172} // namespace Aws
CreateWorkspaceImageResult & WithCreated(Aws::Utils::DateTime &&value)
CreateWorkspaceImageResult & WithImageId(Aws::String &&value)
CreateWorkspaceImageResult & WithCreated(const Aws::Utils::DateTime &value)
CreateWorkspaceImageResult & WithRequiredTenancy(const WorkspaceImageRequiredTenancy &value)
CreateWorkspaceImageResult & WithImageId(const char *value)
CreateWorkspaceImageResult & WithDescription(const char *value)
AWS_WORKSPACES_API CreateWorkspaceImageResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateWorkspaceImageResult & WithOwnerAccountId(const char *value)
CreateWorkspaceImageResult & WithName(Aws::String &&value)
CreateWorkspaceImageResult & WithRequiredTenancy(WorkspaceImageRequiredTenancy &&value)
AWS_WORKSPACES_API CreateWorkspaceImageResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const WorkspaceImageRequiredTenancy & GetRequiredTenancy() const
CreateWorkspaceImageResult & WithOwnerAccountId(Aws::String &&value)
CreateWorkspaceImageResult & WithName(const char *value)
CreateWorkspaceImageResult & WithOwnerAccountId(const Aws::String &value)
void SetRequiredTenancy(const WorkspaceImageRequiredTenancy &value)
CreateWorkspaceImageResult & WithDescription(const Aws::String &value)
CreateWorkspaceImageResult & WithRequestId(Aws::String &&value)
CreateWorkspaceImageResult & WithDescription(Aws::String &&value)
CreateWorkspaceImageResult & WithState(const WorkspaceImageState &value)
CreateWorkspaceImageResult & WithOperatingSystem(const OperatingSystem &value)
CreateWorkspaceImageResult & WithState(WorkspaceImageState &&value)
CreateWorkspaceImageResult & WithRequestId(const Aws::String &value)
void SetRequiredTenancy(WorkspaceImageRequiredTenancy &&value)
CreateWorkspaceImageResult & WithImageId(const Aws::String &value)
CreateWorkspaceImageResult & WithRequestId(const char *value)
CreateWorkspaceImageResult & WithName(const Aws::String &value)
CreateWorkspaceImageResult & WithOperatingSystem(OperatingSystem &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue