AWS SDK for C++

AWS SDK for C++ Version 1.11.783

Loading...
Searching...
No Matches
GetStorageProfileResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/deadline/Deadline_EXPORTS.h>
12#include <aws/deadline/model/FileSystemLocation.h>
13#include <aws/deadline/model/StorageProfileOperatingSystemFamily.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace deadline {
27namespace Model {
29 public:
30 AWS_DEADLINE_API GetStorageProfileResult() = default;
33
35
38 inline const Aws::String& GetStorageProfileId() const { return m_storageProfileId; }
39 template <typename StorageProfileIdT = Aws::String>
40 void SetStorageProfileId(StorageProfileIdT&& value) {
41 m_storageProfileIdHasBeenSet = true;
42 m_storageProfileId = std::forward<StorageProfileIdT>(value);
43 }
44 template <typename StorageProfileIdT = Aws::String>
45 GetStorageProfileResult& WithStorageProfileId(StorageProfileIdT&& value) {
46 SetStorageProfileId(std::forward<StorageProfileIdT>(value));
47 return *this;
48 }
50
52
58 inline const Aws::String& GetDisplayName() const { return m_displayName; }
59 template <typename DisplayNameT = Aws::String>
60 void SetDisplayName(DisplayNameT&& value) {
61 m_displayNameHasBeenSet = true;
62 m_displayName = std::forward<DisplayNameT>(value);
63 }
64 template <typename DisplayNameT = Aws::String>
66 SetDisplayName(std::forward<DisplayNameT>(value));
67 return *this;
68 }
70
72
75 inline StorageProfileOperatingSystemFamily GetOsFamily() const { return m_osFamily; }
77 m_osFamilyHasBeenSet = true;
78 m_osFamily = value;
79 }
81 SetOsFamily(value);
82 return *this;
83 }
85
87
90 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
91 template <typename CreatedAtT = Aws::Utils::DateTime>
92 void SetCreatedAt(CreatedAtT&& value) {
93 m_createdAtHasBeenSet = true;
94 m_createdAt = std::forward<CreatedAtT>(value);
95 }
96 template <typename CreatedAtT = Aws::Utils::DateTime>
98 SetCreatedAt(std::forward<CreatedAtT>(value));
99 return *this;
100 }
102
104
107 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
108 template <typename CreatedByT = Aws::String>
109 void SetCreatedBy(CreatedByT&& value) {
110 m_createdByHasBeenSet = true;
111 m_createdBy = std::forward<CreatedByT>(value);
112 }
113 template <typename CreatedByT = Aws::String>
115 SetCreatedBy(std::forward<CreatedByT>(value));
116 return *this;
117 }
119
121
124 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
125 template <typename UpdatedAtT = Aws::Utils::DateTime>
126 void SetUpdatedAt(UpdatedAtT&& value) {
127 m_updatedAtHasBeenSet = true;
128 m_updatedAt = std::forward<UpdatedAtT>(value);
129 }
130 template <typename UpdatedAtT = Aws::Utils::DateTime>
132 SetUpdatedAt(std::forward<UpdatedAtT>(value));
133 return *this;
134 }
136
138
141 inline const Aws::String& GetUpdatedBy() const { return m_updatedBy; }
142 template <typename UpdatedByT = Aws::String>
143 void SetUpdatedBy(UpdatedByT&& value) {
144 m_updatedByHasBeenSet = true;
145 m_updatedBy = std::forward<UpdatedByT>(value);
146 }
147 template <typename UpdatedByT = Aws::String>
149 SetUpdatedBy(std::forward<UpdatedByT>(value));
150 return *this;
151 }
153
155
158 inline const Aws::Vector<FileSystemLocation>& GetFileSystemLocations() const { return m_fileSystemLocations; }
159 template <typename FileSystemLocationsT = Aws::Vector<FileSystemLocation>>
160 void SetFileSystemLocations(FileSystemLocationsT&& value) {
161 m_fileSystemLocationsHasBeenSet = true;
162 m_fileSystemLocations = std::forward<FileSystemLocationsT>(value);
163 }
164 template <typename FileSystemLocationsT = Aws::Vector<FileSystemLocation>>
165 GetStorageProfileResult& WithFileSystemLocations(FileSystemLocationsT&& value) {
166 SetFileSystemLocations(std::forward<FileSystemLocationsT>(value));
167 return *this;
168 }
169 template <typename FileSystemLocationsT = FileSystemLocation>
170 GetStorageProfileResult& AddFileSystemLocations(FileSystemLocationsT&& value) {
171 m_fileSystemLocationsHasBeenSet = true;
172 m_fileSystemLocations.emplace_back(std::forward<FileSystemLocationsT>(value));
173 return *this;
174 }
176
178
179 inline const Aws::String& GetRequestId() const { return m_requestId; }
180 template <typename RequestIdT = Aws::String>
181 void SetRequestId(RequestIdT&& value) {
182 m_requestIdHasBeenSet = true;
183 m_requestId = std::forward<RequestIdT>(value);
184 }
185 template <typename RequestIdT = Aws::String>
187 SetRequestId(std::forward<RequestIdT>(value));
188 return *this;
189 }
191 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
192
193 private:
194 Aws::String m_storageProfileId;
195
196 Aws::String m_displayName;
197
199
200 Aws::Utils::DateTime m_createdAt{};
201
202 Aws::String m_createdBy;
203
204 Aws::Utils::DateTime m_updatedAt{};
205
206 Aws::String m_updatedBy;
207
208 Aws::Vector<FileSystemLocation> m_fileSystemLocations;
209
210 Aws::String m_requestId;
211 Aws::Http::HttpResponseCode m_HttpResponseCode;
212 bool m_storageProfileIdHasBeenSet = false;
213 bool m_displayNameHasBeenSet = false;
214 bool m_osFamilyHasBeenSet = false;
215 bool m_createdAtHasBeenSet = false;
216 bool m_createdByHasBeenSet = false;
217 bool m_updatedAtHasBeenSet = false;
218 bool m_updatedByHasBeenSet = false;
219 bool m_fileSystemLocationsHasBeenSet = false;
220 bool m_requestIdHasBeenSet = false;
221};
222
223} // namespace Model
224} // namespace deadline
225} // namespace Aws
AWS_DEADLINE_API GetStorageProfileResult()=default
GetStorageProfileResult & WithCreatedAt(CreatedAtT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::Utils::DateTime & GetUpdatedAt() const
GetStorageProfileResult & WithDisplayName(DisplayNameT &&value)
AWS_DEADLINE_API GetStorageProfileResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< FileSystemLocation > & GetFileSystemLocations() const
GetStorageProfileResult & WithUpdatedBy(UpdatedByT &&value)
GetStorageProfileResult & WithFileSystemLocations(FileSystemLocationsT &&value)
GetStorageProfileResult & WithOsFamily(StorageProfileOperatingSystemFamily value)
GetStorageProfileResult & WithCreatedBy(CreatedByT &&value)
void SetOsFamily(StorageProfileOperatingSystemFamily value)
StorageProfileOperatingSystemFamily GetOsFamily() const
GetStorageProfileResult & WithRequestId(RequestIdT &&value)
void SetFileSystemLocations(FileSystemLocationsT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_DEADLINE_API GetStorageProfileResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetStorageProfileResult & WithUpdatedAt(UpdatedAtT &&value)
GetStorageProfileResult & AddFileSystemLocations(FileSystemLocationsT &&value)
GetStorageProfileResult & WithStorageProfileId(StorageProfileIdT &&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