AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
37
38
40
43 inline const Aws::String& GetStorageProfileId() const{ return m_storageProfileId; }
44 inline void SetStorageProfileId(const Aws::String& value) { m_storageProfileId = value; }
45 inline void SetStorageProfileId(Aws::String&& value) { m_storageProfileId = std::move(value); }
46 inline void SetStorageProfileId(const char* value) { m_storageProfileId.assign(value); }
47 inline GetStorageProfileResult& WithStorageProfileId(const Aws::String& value) { SetStorageProfileId(value); return *this;}
48 inline GetStorageProfileResult& WithStorageProfileId(Aws::String&& value) { SetStorageProfileId(std::move(value)); return *this;}
49 inline GetStorageProfileResult& WithStorageProfileId(const char* value) { SetStorageProfileId(value); return *this;}
51
53
59 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
60 inline void SetDisplayName(const Aws::String& value) { m_displayName = value; }
61 inline void SetDisplayName(Aws::String&& value) { m_displayName = std::move(value); }
62 inline void SetDisplayName(const char* value) { m_displayName.assign(value); }
63 inline GetStorageProfileResult& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
64 inline GetStorageProfileResult& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
65 inline GetStorageProfileResult& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
67
69
72 inline const StorageProfileOperatingSystemFamily& GetOsFamily() const{ return m_osFamily; }
73 inline void SetOsFamily(const StorageProfileOperatingSystemFamily& value) { m_osFamily = value; }
74 inline void SetOsFamily(StorageProfileOperatingSystemFamily&& value) { m_osFamily = std::move(value); }
76 inline GetStorageProfileResult& WithOsFamily(StorageProfileOperatingSystemFamily&& value) { SetOsFamily(std::move(value)); return *this;}
78
80
83 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
84 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
85 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
86 inline GetStorageProfileResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
87 inline GetStorageProfileResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
89
91
94 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
95 inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; }
96 inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); }
97 inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); }
98 inline GetStorageProfileResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
99 inline GetStorageProfileResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
100 inline GetStorageProfileResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
102
104
107 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
108 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; }
109 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); }
110 inline GetStorageProfileResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
111 inline GetStorageProfileResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
113
115
118 inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; }
119 inline void SetUpdatedBy(const Aws::String& value) { m_updatedBy = value; }
120 inline void SetUpdatedBy(Aws::String&& value) { m_updatedBy = std::move(value); }
121 inline void SetUpdatedBy(const char* value) { m_updatedBy.assign(value); }
122 inline GetStorageProfileResult& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;}
123 inline GetStorageProfileResult& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;}
124 inline GetStorageProfileResult& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;}
126
128
131 inline const Aws::Vector<FileSystemLocation>& GetFileSystemLocations() const{ return m_fileSystemLocations; }
132 inline void SetFileSystemLocations(const Aws::Vector<FileSystemLocation>& value) { m_fileSystemLocations = value; }
133 inline void SetFileSystemLocations(Aws::Vector<FileSystemLocation>&& value) { m_fileSystemLocations = std::move(value); }
136 inline GetStorageProfileResult& AddFileSystemLocations(const FileSystemLocation& value) { m_fileSystemLocations.push_back(value); return *this; }
137 inline GetStorageProfileResult& AddFileSystemLocations(FileSystemLocation&& value) { m_fileSystemLocations.push_back(std::move(value)); return *this; }
139
141
142 inline const Aws::String& GetRequestId() const{ return m_requestId; }
143 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
144 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
145 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
146 inline GetStorageProfileResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
147 inline GetStorageProfileResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
148 inline GetStorageProfileResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
150 private:
151
152 Aws::String m_storageProfileId;
153
154 Aws::String m_displayName;
155
157
158 Aws::Utils::DateTime m_createdAt;
159
160 Aws::String m_createdBy;
161
162 Aws::Utils::DateTime m_updatedAt;
163
164 Aws::String m_updatedBy;
165
166 Aws::Vector<FileSystemLocation> m_fileSystemLocations;
167
168 Aws::String m_requestId;
169 };
170
171} // namespace Model
172} // namespace deadline
173} // namespace Aws
GetStorageProfileResult & WithDisplayName(const Aws::String &value)
const StorageProfileOperatingSystemFamily & GetOsFamily() const
GetStorageProfileResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
GetStorageProfileResult & WithFileSystemLocations(const Aws::Vector< FileSystemLocation > &value)
GetStorageProfileResult & WithCreatedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
GetStorageProfileResult & WithStorageProfileId(const char *value)
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetFileSystemLocations(Aws::Vector< FileSystemLocation > &&value)
GetStorageProfileResult & WithOsFamily(StorageProfileOperatingSystemFamily &&value)
AWS_DEADLINE_API GetStorageProfileResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< FileSystemLocation > & GetFileSystemLocations() const
GetStorageProfileResult & WithOsFamily(const StorageProfileOperatingSystemFamily &value)
GetStorageProfileResult & WithStorageProfileId(Aws::String &&value)
GetStorageProfileResult & WithUpdatedBy(const char *value)
GetStorageProfileResult & WithRequestId(const Aws::String &value)
GetStorageProfileResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
GetStorageProfileResult & AddFileSystemLocations(FileSystemLocation &&value)
GetStorageProfileResult & WithUpdatedBy(const Aws::String &value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
GetStorageProfileResult & WithStorageProfileId(const Aws::String &value)
GetStorageProfileResult & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetOsFamily(const StorageProfileOperatingSystemFamily &value)
GetStorageProfileResult & WithFileSystemLocations(Aws::Vector< FileSystemLocation > &&value)
GetStorageProfileResult & WithRequestId(const char *value)
GetStorageProfileResult & WithUpdatedBy(Aws::String &&value)
GetStorageProfileResult & AddFileSystemLocations(const FileSystemLocation &value)
GetStorageProfileResult & WithRequestId(Aws::String &&value)
GetStorageProfileResult & WithDisplayName(const char *value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
AWS_DEADLINE_API GetStorageProfileResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetStorageProfileResult & WithCreatedBy(Aws::String &&value)
void SetFileSystemLocations(const Aws::Vector< FileSystemLocation > &value)
GetStorageProfileResult & WithCreatedBy(const char *value)
GetStorageProfileResult & WithCreatedBy(const Aws::String &value)
void SetOsFamily(StorageProfileOperatingSystemFamily &&value)
GetStorageProfileResult & WithDisplayName(Aws::String &&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