AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
49 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
50 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
51 inline UpdateStorageProfileRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
52 inline UpdateStorageProfileRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
53 inline UpdateStorageProfileRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
55
57
60 inline const Aws::String& GetFarmId() const{ return m_farmId; }
61 inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; }
62 inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; }
63 inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); }
64 inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); }
65 inline UpdateStorageProfileRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;}
66 inline UpdateStorageProfileRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;}
67 inline UpdateStorageProfileRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;}
69
71
74 inline const Aws::String& GetStorageProfileId() const{ return m_storageProfileId; }
75 inline bool StorageProfileIdHasBeenSet() const { return m_storageProfileIdHasBeenSet; }
76 inline void SetStorageProfileId(const Aws::String& value) { m_storageProfileIdHasBeenSet = true; m_storageProfileId = value; }
77 inline void SetStorageProfileId(Aws::String&& value) { m_storageProfileIdHasBeenSet = true; m_storageProfileId = std::move(value); }
78 inline void SetStorageProfileId(const char* value) { m_storageProfileIdHasBeenSet = true; m_storageProfileId.assign(value); }
80 inline UpdateStorageProfileRequest& WithStorageProfileId(Aws::String&& value) { SetStorageProfileId(std::move(value)); return *this;}
81 inline UpdateStorageProfileRequest& WithStorageProfileId(const char* value) { SetStorageProfileId(value); return *this;}
83
85
91 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
92 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
93 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
94 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
95 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
96 inline UpdateStorageProfileRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
97 inline UpdateStorageProfileRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
98 inline UpdateStorageProfileRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
100
102
105 inline const StorageProfileOperatingSystemFamily& GetOsFamily() const{ return m_osFamily; }
106 inline bool OsFamilyHasBeenSet() const { return m_osFamilyHasBeenSet; }
107 inline void SetOsFamily(const StorageProfileOperatingSystemFamily& value) { m_osFamilyHasBeenSet = true; m_osFamily = value; }
108 inline void SetOsFamily(StorageProfileOperatingSystemFamily&& value) { m_osFamilyHasBeenSet = true; m_osFamily = std::move(value); }
112
114
117 inline const Aws::Vector<FileSystemLocation>& GetFileSystemLocationsToAdd() const{ return m_fileSystemLocationsToAdd; }
118 inline bool FileSystemLocationsToAddHasBeenSet() const { return m_fileSystemLocationsToAddHasBeenSet; }
119 inline void SetFileSystemLocationsToAdd(const Aws::Vector<FileSystemLocation>& value) { m_fileSystemLocationsToAddHasBeenSet = true; m_fileSystemLocationsToAdd = value; }
120 inline void SetFileSystemLocationsToAdd(Aws::Vector<FileSystemLocation>&& value) { m_fileSystemLocationsToAddHasBeenSet = true; m_fileSystemLocationsToAdd = std::move(value); }
123 inline UpdateStorageProfileRequest& AddFileSystemLocationsToAdd(const FileSystemLocation& value) { m_fileSystemLocationsToAddHasBeenSet = true; m_fileSystemLocationsToAdd.push_back(value); return *this; }
124 inline UpdateStorageProfileRequest& AddFileSystemLocationsToAdd(FileSystemLocation&& value) { m_fileSystemLocationsToAddHasBeenSet = true; m_fileSystemLocationsToAdd.push_back(std::move(value)); return *this; }
126
128
131 inline const Aws::Vector<FileSystemLocation>& GetFileSystemLocationsToRemove() const{ return m_fileSystemLocationsToRemove; }
132 inline bool FileSystemLocationsToRemoveHasBeenSet() const { return m_fileSystemLocationsToRemoveHasBeenSet; }
133 inline void SetFileSystemLocationsToRemove(const Aws::Vector<FileSystemLocation>& value) { m_fileSystemLocationsToRemoveHasBeenSet = true; m_fileSystemLocationsToRemove = value; }
134 inline void SetFileSystemLocationsToRemove(Aws::Vector<FileSystemLocation>&& value) { m_fileSystemLocationsToRemoveHasBeenSet = true; m_fileSystemLocationsToRemove = std::move(value); }
137 inline UpdateStorageProfileRequest& AddFileSystemLocationsToRemove(const FileSystemLocation& value) { m_fileSystemLocationsToRemoveHasBeenSet = true; m_fileSystemLocationsToRemove.push_back(value); return *this; }
138 inline UpdateStorageProfileRequest& AddFileSystemLocationsToRemove(FileSystemLocation&& value) { m_fileSystemLocationsToRemoveHasBeenSet = true; m_fileSystemLocationsToRemove.push_back(std::move(value)); return *this; }
140 private:
141
142 Aws::String m_clientToken;
143 bool m_clientTokenHasBeenSet = false;
144
145 Aws::String m_farmId;
146 bool m_farmIdHasBeenSet = false;
147
148 Aws::String m_storageProfileId;
149 bool m_storageProfileIdHasBeenSet = false;
150
151 Aws::String m_displayName;
152 bool m_displayNameHasBeenSet = false;
153
155 bool m_osFamilyHasBeenSet = false;
156
157 Aws::Vector<FileSystemLocation> m_fileSystemLocationsToAdd;
158 bool m_fileSystemLocationsToAddHasBeenSet = false;
159
160 Aws::Vector<FileSystemLocation> m_fileSystemLocationsToRemove;
161 bool m_fileSystemLocationsToRemoveHasBeenSet = false;
162 };
163
164} // namespace Model
165} // namespace deadline
166} // namespace Aws
virtual const char * GetServiceRequestName() const override
UpdateStorageProfileRequest & AddFileSystemLocationsToAdd(const FileSystemLocation &value)
UpdateStorageProfileRequest & AddFileSystemLocationsToRemove(FileSystemLocation &&value)
UpdateStorageProfileRequest & WithFileSystemLocationsToAdd(const Aws::Vector< FileSystemLocation > &value)
void SetOsFamily(const StorageProfileOperatingSystemFamily &value)
UpdateStorageProfileRequest & WithClientToken(Aws::String &&value)
UpdateStorageProfileRequest & WithStorageProfileId(const char *value)
UpdateStorageProfileRequest & WithDisplayName(const Aws::String &value)
UpdateStorageProfileRequest & AddFileSystemLocationsToAdd(FileSystemLocation &&value)
UpdateStorageProfileRequest & WithClientToken(const Aws::String &value)
UpdateStorageProfileRequest & WithStorageProfileId(Aws::String &&value)
const Aws::Vector< FileSystemLocation > & GetFileSystemLocationsToRemove() const
UpdateStorageProfileRequest & WithOsFamily(StorageProfileOperatingSystemFamily &&value)
const Aws::Vector< FileSystemLocation > & GetFileSystemLocationsToAdd() const
void SetFileSystemLocationsToAdd(Aws::Vector< FileSystemLocation > &&value)
UpdateStorageProfileRequest & AddFileSystemLocationsToRemove(const FileSystemLocation &value)
void SetOsFamily(StorageProfileOperatingSystemFamily &&value)
UpdateStorageProfileRequest & WithDisplayName(Aws::String &&value)
UpdateStorageProfileRequest & WithOsFamily(const StorageProfileOperatingSystemFamily &value)
UpdateStorageProfileRequest & WithFarmId(const char *value)
AWS_DEADLINE_API Aws::String SerializePayload() const override
UpdateStorageProfileRequest & WithFileSystemLocationsToRemove(Aws::Vector< FileSystemLocation > &&value)
UpdateStorageProfileRequest & WithFileSystemLocationsToAdd(Aws::Vector< FileSystemLocation > &&value)
void SetFileSystemLocationsToRemove(Aws::Vector< FileSystemLocation > &&value)
const StorageProfileOperatingSystemFamily & GetOsFamily() const
UpdateStorageProfileRequest & WithFileSystemLocationsToRemove(const Aws::Vector< FileSystemLocation > &value)
void SetFileSystemLocationsToRemove(const Aws::Vector< FileSystemLocation > &value)
void SetFileSystemLocationsToAdd(const Aws::Vector< FileSystemLocation > &value)
UpdateStorageProfileRequest & WithClientToken(const char *value)
AWS_DEADLINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateStorageProfileRequest & WithFarmId(const Aws::String &value)
UpdateStorageProfileRequest & WithFarmId(Aws::String &&value)
UpdateStorageProfileRequest & WithDisplayName(const char *value)
UpdateStorageProfileRequest & WithStorageProfileId(const Aws::String &value)
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