AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetStorageProfileResult.h
1
6#pragma once
7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/deadline/model/StorageProfileOperatingSystemFamily.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/deadline/model/FileSystemLocation.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 deadline
28{
29namespace Model
30{
32 {
33 public:
34 AWS_DEADLINE_API GetStorageProfileResult() = default;
37
38
40
43 inline const Aws::String& GetStorageProfileId() const { return m_storageProfileId; }
44 template<typename StorageProfileIdT = Aws::String>
45 void SetStorageProfileId(StorageProfileIdT&& value) { m_storageProfileIdHasBeenSet = true; m_storageProfileId = std::forward<StorageProfileIdT>(value); }
46 template<typename StorageProfileIdT = Aws::String>
47 GetStorageProfileResult& WithStorageProfileId(StorageProfileIdT&& value) { SetStorageProfileId(std::forward<StorageProfileIdT>(value)); return *this;}
49
51
57 inline const Aws::String& GetDisplayName() const { return m_displayName; }
58 template<typename DisplayNameT = Aws::String>
59 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet = true; m_displayName = std::forward<DisplayNameT>(value); }
60 template<typename DisplayNameT = Aws::String>
61 GetStorageProfileResult& WithDisplayName(DisplayNameT&& value) { SetDisplayName(std::forward<DisplayNameT>(value)); return *this;}
63
65
68 inline StorageProfileOperatingSystemFamily GetOsFamily() const { return m_osFamily; }
69 inline void SetOsFamily(StorageProfileOperatingSystemFamily value) { m_osFamilyHasBeenSet = true; m_osFamily = value; }
72
74
77 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
78 template<typename CreatedAtT = Aws::Utils::DateTime>
79 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
80 template<typename CreatedAtT = Aws::Utils::DateTime>
81 GetStorageProfileResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
83
85
88 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
89 template<typename CreatedByT = Aws::String>
90 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
91 template<typename CreatedByT = Aws::String>
92 GetStorageProfileResult& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
94
96
99 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
100 template<typename UpdatedAtT = Aws::Utils::DateTime>
101 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
102 template<typename UpdatedAtT = Aws::Utils::DateTime>
103 GetStorageProfileResult& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
105
107
110 inline const Aws::String& GetUpdatedBy() const { return m_updatedBy; }
111 template<typename UpdatedByT = Aws::String>
112 void SetUpdatedBy(UpdatedByT&& value) { m_updatedByHasBeenSet = true; m_updatedBy = std::forward<UpdatedByT>(value); }
113 template<typename UpdatedByT = Aws::String>
114 GetStorageProfileResult& WithUpdatedBy(UpdatedByT&& value) { SetUpdatedBy(std::forward<UpdatedByT>(value)); return *this;}
116
118
121 inline const Aws::Vector<FileSystemLocation>& GetFileSystemLocations() const { return m_fileSystemLocations; }
122 template<typename FileSystemLocationsT = Aws::Vector<FileSystemLocation>>
123 void SetFileSystemLocations(FileSystemLocationsT&& value) { m_fileSystemLocationsHasBeenSet = true; m_fileSystemLocations = std::forward<FileSystemLocationsT>(value); }
124 template<typename FileSystemLocationsT = Aws::Vector<FileSystemLocation>>
125 GetStorageProfileResult& WithFileSystemLocations(FileSystemLocationsT&& value) { SetFileSystemLocations(std::forward<FileSystemLocationsT>(value)); return *this;}
126 template<typename FileSystemLocationsT = FileSystemLocation>
127 GetStorageProfileResult& AddFileSystemLocations(FileSystemLocationsT&& value) { m_fileSystemLocationsHasBeenSet = true; m_fileSystemLocations.emplace_back(std::forward<FileSystemLocationsT>(value)); return *this; }
129
131
132 inline const Aws::String& GetRequestId() const { return m_requestId; }
133 template<typename RequestIdT = Aws::String>
134 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
135 template<typename RequestIdT = Aws::String>
136 GetStorageProfileResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
138 private:
139
140 Aws::String m_storageProfileId;
141 bool m_storageProfileIdHasBeenSet = false;
142
143 Aws::String m_displayName;
144 bool m_displayNameHasBeenSet = false;
145
147 bool m_osFamilyHasBeenSet = false;
148
149 Aws::Utils::DateTime m_createdAt{};
150 bool m_createdAtHasBeenSet = false;
151
152 Aws::String m_createdBy;
153 bool m_createdByHasBeenSet = false;
154
155 Aws::Utils::DateTime m_updatedAt{};
156 bool m_updatedAtHasBeenSet = false;
157
158 Aws::String m_updatedBy;
159 bool m_updatedByHasBeenSet = false;
160
161 Aws::Vector<FileSystemLocation> m_fileSystemLocations;
162 bool m_fileSystemLocationsHasBeenSet = false;
163
164 Aws::String m_requestId;
165 bool m_requestIdHasBeenSet = false;
166 };
167
168} // namespace Model
169} // namespace deadline
170} // 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