AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
StorageProfileSummary.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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace deadline
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_DEADLINE_API StorageProfileSummary() = default;
38 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetStorageProfileId() const { return m_storageProfileId; }
46 inline bool StorageProfileIdHasBeenSet() const { return m_storageProfileIdHasBeenSet; }
47 template<typename StorageProfileIdT = Aws::String>
48 void SetStorageProfileId(StorageProfileIdT&& value) { m_storageProfileIdHasBeenSet = true; m_storageProfileId = std::forward<StorageProfileIdT>(value); }
49 template<typename StorageProfileIdT = Aws::String>
50 StorageProfileSummary& WithStorageProfileId(StorageProfileIdT&& value) { SetStorageProfileId(std::forward<StorageProfileIdT>(value)); return *this;}
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) { m_displayNameHasBeenSet = true; m_displayName = std::forward<DisplayNameT>(value); }
64 template<typename DisplayNameT = Aws::String>
65 StorageProfileSummary& WithDisplayName(DisplayNameT&& value) { SetDisplayName(std::forward<DisplayNameT>(value)); return *this;}
67
69
72 inline StorageProfileOperatingSystemFamily GetOsFamily() const { return m_osFamily; }
73 inline bool OsFamilyHasBeenSet() const { return m_osFamilyHasBeenSet; }
74 inline void SetOsFamily(StorageProfileOperatingSystemFamily value) { m_osFamilyHasBeenSet = true; m_osFamily = value; }
77 private:
78
79 Aws::String m_storageProfileId;
80 bool m_storageProfileIdHasBeenSet = false;
81
82 Aws::String m_displayName;
83 bool m_displayNameHasBeenSet = false;
84
86 bool m_osFamilyHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace deadline
91} // 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