AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
GetStorageProfileResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/deadline/Deadline_EXPORTS.h>
11#include <aws/deadline/model/FileSystemLocation.h>
12#include <aws/deadline/model/StorageProfileOperatingSystemFamily.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace deadline {
26namespace Model {
28 public:
29 AWS_DEADLINE_API GetStorageProfileResult() = default;
32
34
37 inline const Aws::String& GetStorageProfileId() const { return m_storageProfileId; }
38 template <typename StorageProfileIdT = Aws::String>
39 void SetStorageProfileId(StorageProfileIdT&& value) {
40 m_storageProfileIdHasBeenSet = true;
41 m_storageProfileId = std::forward<StorageProfileIdT>(value);
42 }
43 template <typename StorageProfileIdT = Aws::String>
44 GetStorageProfileResult& WithStorageProfileId(StorageProfileIdT&& value) {
45 SetStorageProfileId(std::forward<StorageProfileIdT>(value));
46 return *this;
47 }
49
51
57 inline const Aws::String& GetDisplayName() const { return m_displayName; }
58 template <typename DisplayNameT = Aws::String>
59 void SetDisplayName(DisplayNameT&& value) {
60 m_displayNameHasBeenSet = true;
61 m_displayName = std::forward<DisplayNameT>(value);
62 }
63 template <typename DisplayNameT = Aws::String>
65 SetDisplayName(std::forward<DisplayNameT>(value));
66 return *this;
67 }
69
71
74 inline StorageProfileOperatingSystemFamily GetOsFamily() const { return m_osFamily; }
76 m_osFamilyHasBeenSet = true;
77 m_osFamily = value;
78 }
80 SetOsFamily(value);
81 return *this;
82 }
84
86
89 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
90 template <typename CreatedAtT = Aws::Utils::DateTime>
91 void SetCreatedAt(CreatedAtT&& value) {
92 m_createdAtHasBeenSet = true;
93 m_createdAt = std::forward<CreatedAtT>(value);
94 }
95 template <typename CreatedAtT = Aws::Utils::DateTime>
97 SetCreatedAt(std::forward<CreatedAtT>(value));
98 return *this;
99 }
101
103
106 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
107 template <typename CreatedByT = Aws::String>
108 void SetCreatedBy(CreatedByT&& value) {
109 m_createdByHasBeenSet = true;
110 m_createdBy = std::forward<CreatedByT>(value);
111 }
112 template <typename CreatedByT = Aws::String>
114 SetCreatedBy(std::forward<CreatedByT>(value));
115 return *this;
116 }
118
120
123 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
124 template <typename UpdatedAtT = Aws::Utils::DateTime>
125 void SetUpdatedAt(UpdatedAtT&& value) {
126 m_updatedAtHasBeenSet = true;
127 m_updatedAt = std::forward<UpdatedAtT>(value);
128 }
129 template <typename UpdatedAtT = Aws::Utils::DateTime>
131 SetUpdatedAt(std::forward<UpdatedAtT>(value));
132 return *this;
133 }
135
137
140 inline const Aws::String& GetUpdatedBy() const { return m_updatedBy; }
141 template <typename UpdatedByT = Aws::String>
142 void SetUpdatedBy(UpdatedByT&& value) {
143 m_updatedByHasBeenSet = true;
144 m_updatedBy = std::forward<UpdatedByT>(value);
145 }
146 template <typename UpdatedByT = Aws::String>
148 SetUpdatedBy(std::forward<UpdatedByT>(value));
149 return *this;
150 }
152
154
157 inline const Aws::Vector<FileSystemLocation>& GetFileSystemLocations() const { return m_fileSystemLocations; }
158 template <typename FileSystemLocationsT = Aws::Vector<FileSystemLocation>>
159 void SetFileSystemLocations(FileSystemLocationsT&& value) {
160 m_fileSystemLocationsHasBeenSet = true;
161 m_fileSystemLocations = std::forward<FileSystemLocationsT>(value);
162 }
163 template <typename FileSystemLocationsT = Aws::Vector<FileSystemLocation>>
164 GetStorageProfileResult& WithFileSystemLocations(FileSystemLocationsT&& value) {
165 SetFileSystemLocations(std::forward<FileSystemLocationsT>(value));
166 return *this;
167 }
168 template <typename FileSystemLocationsT = FileSystemLocation>
169 GetStorageProfileResult& AddFileSystemLocations(FileSystemLocationsT&& value) {
170 m_fileSystemLocationsHasBeenSet = true;
171 m_fileSystemLocations.emplace_back(std::forward<FileSystemLocationsT>(value));
172 return *this;
173 }
175
177
178 inline const Aws::String& GetRequestId() const { return m_requestId; }
179 template <typename RequestIdT = Aws::String>
180 void SetRequestId(RequestIdT&& value) {
181 m_requestIdHasBeenSet = true;
182 m_requestId = std::forward<RequestIdT>(value);
183 }
184 template <typename RequestIdT = Aws::String>
186 SetRequestId(std::forward<RequestIdT>(value));
187 return *this;
188 }
190 private:
191 Aws::String m_storageProfileId;
192 bool m_storageProfileIdHasBeenSet = false;
193
194 Aws::String m_displayName;
195 bool m_displayNameHasBeenSet = false;
196
198 bool m_osFamilyHasBeenSet = false;
199
200 Aws::Utils::DateTime m_createdAt{};
201 bool m_createdAtHasBeenSet = false;
202
203 Aws::String m_createdBy;
204 bool m_createdByHasBeenSet = false;
205
206 Aws::Utils::DateTime m_updatedAt{};
207 bool m_updatedAtHasBeenSet = false;
208
209 Aws::String m_updatedBy;
210 bool m_updatedByHasBeenSet = false;
211
212 Aws::Vector<FileSystemLocation> m_fileSystemLocations;
213 bool m_fileSystemLocationsHasBeenSet = false;
214
215 Aws::String m_requestId;
216 bool m_requestIdHasBeenSet = false;
217};
218
219} // namespace Model
220} // namespace deadline
221} // 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_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