AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
StorageProfileSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/deadline/Deadline_EXPORTS.h>
9#include <aws/deadline/model/StorageProfileOperatingSystemFamily.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace deadline {
21namespace Model {
22
29 public:
30 AWS_DEADLINE_API StorageProfileSummary() = default;
33 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetStorageProfileId() const { return m_storageProfileId; }
40 inline bool StorageProfileIdHasBeenSet() const { return m_storageProfileIdHasBeenSet; }
41 template <typename StorageProfileIdT = Aws::String>
42 void SetStorageProfileId(StorageProfileIdT&& value) {
43 m_storageProfileIdHasBeenSet = true;
44 m_storageProfileId = std::forward<StorageProfileIdT>(value);
45 }
46 template <typename StorageProfileIdT = Aws::String>
47 StorageProfileSummary& WithStorageProfileId(StorageProfileIdT&& value) {
48 SetStorageProfileId(std::forward<StorageProfileIdT>(value));
49 return *this;
50 }
52
54
60 inline const Aws::String& GetDisplayName() const { return m_displayName; }
61 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
62 template <typename DisplayNameT = Aws::String>
63 void SetDisplayName(DisplayNameT&& value) {
64 m_displayNameHasBeenSet = true;
65 m_displayName = std::forward<DisplayNameT>(value);
66 }
67 template <typename DisplayNameT = Aws::String>
68 StorageProfileSummary& WithDisplayName(DisplayNameT&& value) {
69 SetDisplayName(std::forward<DisplayNameT>(value));
70 return *this;
71 }
73
75
78 inline StorageProfileOperatingSystemFamily GetOsFamily() const { return m_osFamily; }
79 inline bool OsFamilyHasBeenSet() const { return m_osFamilyHasBeenSet; }
81 m_osFamilyHasBeenSet = true;
82 m_osFamily = value;
83 }
85 SetOsFamily(value);
86 return *this;
87 }
89 private:
90 Aws::String m_storageProfileId;
91
92 Aws::String m_displayName;
93
95 bool m_storageProfileIdHasBeenSet = false;
96 bool m_displayNameHasBeenSet = false;
97 bool m_osFamilyHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace deadline
102} // namespace Aws
StorageProfileSummary & WithDisplayName(DisplayNameT &&value)
AWS_DEADLINE_API StorageProfileSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStorageProfileId(StorageProfileIdT &&value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOsFamily(StorageProfileOperatingSystemFamily value)
StorageProfileSummary & WithOsFamily(StorageProfileOperatingSystemFamily value)
StorageProfileOperatingSystemFamily GetOsFamily() const
StorageProfileSummary & WithStorageProfileId(StorageProfileIdT &&value)
AWS_DEADLINE_API StorageProfileSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_DEADLINE_API StorageProfileSummary()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue