AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateStorageProfileRequest.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 CreateStorageProfileRequest();
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 "CreateStorageProfile"; }
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 CreateStorageProfileRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
52 inline CreateStorageProfileRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
53 inline CreateStorageProfileRequest& 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 CreateStorageProfileRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;}
66 inline CreateStorageProfileRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;}
67 inline CreateStorageProfileRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;}
69
71
77 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
78 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
79 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
80 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
81 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
82 inline CreateStorageProfileRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
83 inline CreateStorageProfileRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
84 inline CreateStorageProfileRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
86
88
91 inline const StorageProfileOperatingSystemFamily& GetOsFamily() const{ return m_osFamily; }
92 inline bool OsFamilyHasBeenSet() const { return m_osFamilyHasBeenSet; }
93 inline void SetOsFamily(const StorageProfileOperatingSystemFamily& value) { m_osFamilyHasBeenSet = true; m_osFamily = value; }
94 inline void SetOsFamily(StorageProfileOperatingSystemFamily&& value) { m_osFamilyHasBeenSet = true; m_osFamily = std::move(value); }
98
100
103 inline const Aws::Vector<FileSystemLocation>& GetFileSystemLocations() const{ return m_fileSystemLocations; }
104 inline bool FileSystemLocationsHasBeenSet() const { return m_fileSystemLocationsHasBeenSet; }
105 inline void SetFileSystemLocations(const Aws::Vector<FileSystemLocation>& value) { m_fileSystemLocationsHasBeenSet = true; m_fileSystemLocations = value; }
106 inline void SetFileSystemLocations(Aws::Vector<FileSystemLocation>&& value) { m_fileSystemLocationsHasBeenSet = true; m_fileSystemLocations = std::move(value); }
109 inline CreateStorageProfileRequest& AddFileSystemLocations(const FileSystemLocation& value) { m_fileSystemLocationsHasBeenSet = true; m_fileSystemLocations.push_back(value); return *this; }
110 inline CreateStorageProfileRequest& AddFileSystemLocations(FileSystemLocation&& value) { m_fileSystemLocationsHasBeenSet = true; m_fileSystemLocations.push_back(std::move(value)); return *this; }
112 private:
113
114 Aws::String m_clientToken;
115 bool m_clientTokenHasBeenSet = false;
116
117 Aws::String m_farmId;
118 bool m_farmIdHasBeenSet = false;
119
120 Aws::String m_displayName;
121 bool m_displayNameHasBeenSet = false;
122
124 bool m_osFamilyHasBeenSet = false;
125
126 Aws::Vector<FileSystemLocation> m_fileSystemLocations;
127 bool m_fileSystemLocationsHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace deadline
132} // namespace Aws
AWS_DEADLINE_API Aws::String SerializePayload() const override
CreateStorageProfileRequest & WithDisplayName(const char *value)
const Aws::Vector< FileSystemLocation > & GetFileSystemLocations() const
void SetFileSystemLocations(Aws::Vector< FileSystemLocation > &&value)
CreateStorageProfileRequest & WithFileSystemLocations(Aws::Vector< FileSystemLocation > &&value)
void SetOsFamily(StorageProfileOperatingSystemFamily &&value)
CreateStorageProfileRequest & WithClientToken(const char *value)
CreateStorageProfileRequest & WithFarmId(const Aws::String &value)
AWS_DEADLINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateStorageProfileRequest & WithFileSystemLocations(const Aws::Vector< FileSystemLocation > &value)
virtual const char * GetServiceRequestName() const override
CreateStorageProfileRequest & WithDisplayName(Aws::String &&value)
void SetFileSystemLocations(const Aws::Vector< FileSystemLocation > &value)
CreateStorageProfileRequest & WithOsFamily(const StorageProfileOperatingSystemFamily &value)
const StorageProfileOperatingSystemFamily & GetOsFamily() const
CreateStorageProfileRequest & WithClientToken(Aws::String &&value)
CreateStorageProfileRequest & WithOsFamily(StorageProfileOperatingSystemFamily &&value)
CreateStorageProfileRequest & AddFileSystemLocations(const FileSystemLocation &value)
CreateStorageProfileRequest & AddFileSystemLocations(FileSystemLocation &&value)
CreateStorageProfileRequest & WithFarmId(const char *value)
CreateStorageProfileRequest & WithClientToken(const Aws::String &value)
CreateStorageProfileRequest & WithDisplayName(const Aws::String &value)
CreateStorageProfileRequest & WithFarmId(Aws::String &&value)
void SetOsFamily(const StorageProfileOperatingSystemFamily &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