AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateStorageProfileRequest.h
1
6#pragma once
7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/deadline/DeadlineRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/deadline/model/StorageProfileOperatingSystemFamily.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/deadline/model/FileSystemLocation.h>
13#include <utility>
14#include <aws/core/utils/UUID.h>
15
16namespace Aws
17{
18namespace deadline
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_DEADLINE_API UpdateStorageProfileRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "UpdateStorageProfile"; }
35
36 AWS_DEADLINE_API Aws::String SerializePayload() const override;
37
39
40
42
46 inline const Aws::String& GetClientToken() const { return m_clientToken; }
47 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
48 template<typename ClientTokenT = Aws::String>
49 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
50 template<typename ClientTokenT = Aws::String>
51 UpdateStorageProfileRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
53
55
58 inline const Aws::String& GetFarmId() const { return m_farmId; }
59 inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; }
60 template<typename FarmIdT = Aws::String>
61 void SetFarmId(FarmIdT&& value) { m_farmIdHasBeenSet = true; m_farmId = std::forward<FarmIdT>(value); }
62 template<typename FarmIdT = Aws::String>
63 UpdateStorageProfileRequest& WithFarmId(FarmIdT&& value) { SetFarmId(std::forward<FarmIdT>(value)); return *this;}
65
67
70 inline const Aws::String& GetStorageProfileId() const { return m_storageProfileId; }
71 inline bool StorageProfileIdHasBeenSet() const { return m_storageProfileIdHasBeenSet; }
72 template<typename StorageProfileIdT = Aws::String>
73 void SetStorageProfileId(StorageProfileIdT&& value) { m_storageProfileIdHasBeenSet = true; m_storageProfileId = std::forward<StorageProfileIdT>(value); }
74 template<typename StorageProfileIdT = Aws::String>
75 UpdateStorageProfileRequest& WithStorageProfileId(StorageProfileIdT&& value) { SetStorageProfileId(std::forward<StorageProfileIdT>(value)); return *this;}
77
79
85 inline const Aws::String& GetDisplayName() const { return m_displayName; }
86 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
87 template<typename DisplayNameT = Aws::String>
88 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet = true; m_displayName = std::forward<DisplayNameT>(value); }
89 template<typename DisplayNameT = Aws::String>
90 UpdateStorageProfileRequest& WithDisplayName(DisplayNameT&& value) { SetDisplayName(std::forward<DisplayNameT>(value)); return *this;}
92
94
97 inline StorageProfileOperatingSystemFamily GetOsFamily() const { return m_osFamily; }
98 inline bool OsFamilyHasBeenSet() const { return m_osFamilyHasBeenSet; }
99 inline void SetOsFamily(StorageProfileOperatingSystemFamily value) { m_osFamilyHasBeenSet = true; m_osFamily = value; }
102
104
107 inline const Aws::Vector<FileSystemLocation>& GetFileSystemLocationsToAdd() const { return m_fileSystemLocationsToAdd; }
108 inline bool FileSystemLocationsToAddHasBeenSet() const { return m_fileSystemLocationsToAddHasBeenSet; }
109 template<typename FileSystemLocationsToAddT = Aws::Vector<FileSystemLocation>>
110 void SetFileSystemLocationsToAdd(FileSystemLocationsToAddT&& value) { m_fileSystemLocationsToAddHasBeenSet = true; m_fileSystemLocationsToAdd = std::forward<FileSystemLocationsToAddT>(value); }
111 template<typename FileSystemLocationsToAddT = Aws::Vector<FileSystemLocation>>
112 UpdateStorageProfileRequest& WithFileSystemLocationsToAdd(FileSystemLocationsToAddT&& value) { SetFileSystemLocationsToAdd(std::forward<FileSystemLocationsToAddT>(value)); return *this;}
113 template<typename FileSystemLocationsToAddT = FileSystemLocation>
114 UpdateStorageProfileRequest& AddFileSystemLocationsToAdd(FileSystemLocationsToAddT&& value) { m_fileSystemLocationsToAddHasBeenSet = true; m_fileSystemLocationsToAdd.emplace_back(std::forward<FileSystemLocationsToAddT>(value)); return *this; }
116
118
121 inline const Aws::Vector<FileSystemLocation>& GetFileSystemLocationsToRemove() const { return m_fileSystemLocationsToRemove; }
122 inline bool FileSystemLocationsToRemoveHasBeenSet() const { return m_fileSystemLocationsToRemoveHasBeenSet; }
123 template<typename FileSystemLocationsToRemoveT = Aws::Vector<FileSystemLocation>>
124 void SetFileSystemLocationsToRemove(FileSystemLocationsToRemoveT&& value) { m_fileSystemLocationsToRemoveHasBeenSet = true; m_fileSystemLocationsToRemove = std::forward<FileSystemLocationsToRemoveT>(value); }
125 template<typename FileSystemLocationsToRemoveT = Aws::Vector<FileSystemLocation>>
126 UpdateStorageProfileRequest& WithFileSystemLocationsToRemove(FileSystemLocationsToRemoveT&& value) { SetFileSystemLocationsToRemove(std::forward<FileSystemLocationsToRemoveT>(value)); return *this;}
127 template<typename FileSystemLocationsToRemoveT = FileSystemLocation>
128 UpdateStorageProfileRequest& AddFileSystemLocationsToRemove(FileSystemLocationsToRemoveT&& value) { m_fileSystemLocationsToRemoveHasBeenSet = true; m_fileSystemLocationsToRemove.emplace_back(std::forward<FileSystemLocationsToRemoveT>(value)); return *this; }
130 private:
131
133 bool m_clientTokenHasBeenSet = true;
134
135 Aws::String m_farmId;
136 bool m_farmIdHasBeenSet = false;
137
138 Aws::String m_storageProfileId;
139 bool m_storageProfileIdHasBeenSet = false;
140
141 Aws::String m_displayName;
142 bool m_displayNameHasBeenSet = false;
143
145 bool m_osFamilyHasBeenSet = false;
146
147 Aws::Vector<FileSystemLocation> m_fileSystemLocationsToAdd;
148 bool m_fileSystemLocationsToAddHasBeenSet = false;
149
150 Aws::Vector<FileSystemLocation> m_fileSystemLocationsToRemove;
151 bool m_fileSystemLocationsToRemoveHasBeenSet = false;
152 };
153
154} // namespace Model
155} // namespace deadline
156} // namespace Aws
static Aws::Utils::UUID PseudoRandomUUID()
UpdateStorageProfileRequest & WithFileSystemLocationsToRemove(FileSystemLocationsToRemoveT &&value)
virtual const char * GetServiceRequestName() const override
UpdateStorageProfileRequest & WithStorageProfileId(StorageProfileIdT &&value)
void SetFileSystemLocationsToRemove(FileSystemLocationsToRemoveT &&value)
void SetOsFamily(StorageProfileOperatingSystemFamily value)
StorageProfileOperatingSystemFamily GetOsFamily() const
const Aws::Vector< FileSystemLocation > & GetFileSystemLocationsToRemove() const
const Aws::Vector< FileSystemLocation > & GetFileSystemLocationsToAdd() const
UpdateStorageProfileRequest & AddFileSystemLocationsToAdd(FileSystemLocationsToAddT &&value)
UpdateStorageProfileRequest & AddFileSystemLocationsToRemove(FileSystemLocationsToRemoveT &&value)
UpdateStorageProfileRequest & WithClientToken(ClientTokenT &&value)
AWS_DEADLINE_API Aws::String SerializePayload() const override
UpdateStorageProfileRequest & WithFileSystemLocationsToAdd(FileSystemLocationsToAddT &&value)
AWS_DEADLINE_API UpdateStorageProfileRequest()=default
UpdateStorageProfileRequest & WithDisplayName(DisplayNameT &&value)
UpdateStorageProfileRequest & WithFarmId(FarmIdT &&value)
void SetFileSystemLocationsToAdd(FileSystemLocationsToAddT &&value)
UpdateStorageProfileRequest & WithOsFamily(StorageProfileOperatingSystemFamily value)
AWS_DEADLINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector