AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VTLDevice.h
1
6#pragma once
7#include <aws/storagegateway/StorageGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/storagegateway/model/DeviceiSCSIAttributes.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 StorageGateway
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_STORAGEGATEWAY_API VTLDevice();
37 AWS_STORAGEGATEWAY_API VTLDevice(Aws::Utils::Json::JsonView jsonValue);
38 AWS_STORAGEGATEWAY_API VTLDevice& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_STORAGEGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetVTLDeviceARN() const{ return m_vTLDeviceARN; }
48 inline bool VTLDeviceARNHasBeenSet() const { return m_vTLDeviceARNHasBeenSet; }
49 inline void SetVTLDeviceARN(const Aws::String& value) { m_vTLDeviceARNHasBeenSet = true; m_vTLDeviceARN = value; }
50 inline void SetVTLDeviceARN(Aws::String&& value) { m_vTLDeviceARNHasBeenSet = true; m_vTLDeviceARN = std::move(value); }
51 inline void SetVTLDeviceARN(const char* value) { m_vTLDeviceARNHasBeenSet = true; m_vTLDeviceARN.assign(value); }
52 inline VTLDevice& WithVTLDeviceARN(const Aws::String& value) { SetVTLDeviceARN(value); return *this;}
53 inline VTLDevice& WithVTLDeviceARN(Aws::String&& value) { SetVTLDeviceARN(std::move(value)); return *this;}
54 inline VTLDevice& WithVTLDeviceARN(const char* value) { SetVTLDeviceARN(value); return *this;}
56
58
61 inline const Aws::String& GetVTLDeviceType() const{ return m_vTLDeviceType; }
62 inline bool VTLDeviceTypeHasBeenSet() const { return m_vTLDeviceTypeHasBeenSet; }
63 inline void SetVTLDeviceType(const Aws::String& value) { m_vTLDeviceTypeHasBeenSet = true; m_vTLDeviceType = value; }
64 inline void SetVTLDeviceType(Aws::String&& value) { m_vTLDeviceTypeHasBeenSet = true; m_vTLDeviceType = std::move(value); }
65 inline void SetVTLDeviceType(const char* value) { m_vTLDeviceTypeHasBeenSet = true; m_vTLDeviceType.assign(value); }
66 inline VTLDevice& WithVTLDeviceType(const Aws::String& value) { SetVTLDeviceType(value); return *this;}
67 inline VTLDevice& WithVTLDeviceType(Aws::String&& value) { SetVTLDeviceType(std::move(value)); return *this;}
68 inline VTLDevice& WithVTLDeviceType(const char* value) { SetVTLDeviceType(value); return *this;}
70
72
75 inline const Aws::String& GetVTLDeviceVendor() const{ return m_vTLDeviceVendor; }
76 inline bool VTLDeviceVendorHasBeenSet() const { return m_vTLDeviceVendorHasBeenSet; }
77 inline void SetVTLDeviceVendor(const Aws::String& value) { m_vTLDeviceVendorHasBeenSet = true; m_vTLDeviceVendor = value; }
78 inline void SetVTLDeviceVendor(Aws::String&& value) { m_vTLDeviceVendorHasBeenSet = true; m_vTLDeviceVendor = std::move(value); }
79 inline void SetVTLDeviceVendor(const char* value) { m_vTLDeviceVendorHasBeenSet = true; m_vTLDeviceVendor.assign(value); }
80 inline VTLDevice& WithVTLDeviceVendor(const Aws::String& value) { SetVTLDeviceVendor(value); return *this;}
81 inline VTLDevice& WithVTLDeviceVendor(Aws::String&& value) { SetVTLDeviceVendor(std::move(value)); return *this;}
82 inline VTLDevice& WithVTLDeviceVendor(const char* value) { SetVTLDeviceVendor(value); return *this;}
84
86
89 inline const Aws::String& GetVTLDeviceProductIdentifier() const{ return m_vTLDeviceProductIdentifier; }
90 inline bool VTLDeviceProductIdentifierHasBeenSet() const { return m_vTLDeviceProductIdentifierHasBeenSet; }
91 inline void SetVTLDeviceProductIdentifier(const Aws::String& value) { m_vTLDeviceProductIdentifierHasBeenSet = true; m_vTLDeviceProductIdentifier = value; }
92 inline void SetVTLDeviceProductIdentifier(Aws::String&& value) { m_vTLDeviceProductIdentifierHasBeenSet = true; m_vTLDeviceProductIdentifier = std::move(value); }
93 inline void SetVTLDeviceProductIdentifier(const char* value) { m_vTLDeviceProductIdentifierHasBeenSet = true; m_vTLDeviceProductIdentifier.assign(value); }
95 inline VTLDevice& WithVTLDeviceProductIdentifier(Aws::String&& value) { SetVTLDeviceProductIdentifier(std::move(value)); return *this;}
96 inline VTLDevice& WithVTLDeviceProductIdentifier(const char* value) { SetVTLDeviceProductIdentifier(value); return *this;}
98
100
103 inline const DeviceiSCSIAttributes& GetDeviceiSCSIAttributes() const{ return m_deviceiSCSIAttributes; }
104 inline bool DeviceiSCSIAttributesHasBeenSet() const { return m_deviceiSCSIAttributesHasBeenSet; }
105 inline void SetDeviceiSCSIAttributes(const DeviceiSCSIAttributes& value) { m_deviceiSCSIAttributesHasBeenSet = true; m_deviceiSCSIAttributes = value; }
106 inline void SetDeviceiSCSIAttributes(DeviceiSCSIAttributes&& value) { m_deviceiSCSIAttributesHasBeenSet = true; m_deviceiSCSIAttributes = std::move(value); }
108 inline VTLDevice& WithDeviceiSCSIAttributes(DeviceiSCSIAttributes&& value) { SetDeviceiSCSIAttributes(std::move(value)); return *this;}
110 private:
111
112 Aws::String m_vTLDeviceARN;
113 bool m_vTLDeviceARNHasBeenSet = false;
114
115 Aws::String m_vTLDeviceType;
116 bool m_vTLDeviceTypeHasBeenSet = false;
117
118 Aws::String m_vTLDeviceVendor;
119 bool m_vTLDeviceVendorHasBeenSet = false;
120
121 Aws::String m_vTLDeviceProductIdentifier;
122 bool m_vTLDeviceProductIdentifierHasBeenSet = false;
123
124 DeviceiSCSIAttributes m_deviceiSCSIAttributes;
125 bool m_deviceiSCSIAttributesHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace StorageGateway
130} // namespace Aws
VTLDevice & WithVTLDeviceProductIdentifier(const Aws::String &value)
Definition VTLDevice.h:94
void SetDeviceiSCSIAttributes(DeviceiSCSIAttributes &&value)
Definition VTLDevice.h:106
AWS_STORAGEGATEWAY_API VTLDevice & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetVTLDeviceVendor(const Aws::String &value)
Definition VTLDevice.h:77
VTLDevice & WithVTLDeviceProductIdentifier(Aws::String &&value)
Definition VTLDevice.h:95
VTLDevice & WithVTLDeviceARN(const Aws::String &value)
Definition VTLDevice.h:52
VTLDevice & WithVTLDeviceARN(Aws::String &&value)
Definition VTLDevice.h:53
AWS_STORAGEGATEWAY_API VTLDevice(Aws::Utils::Json::JsonView jsonValue)
void SetVTLDeviceProductIdentifier(Aws::String &&value)
Definition VTLDevice.h:92
VTLDevice & WithVTLDeviceProductIdentifier(const char *value)
Definition VTLDevice.h:96
void SetVTLDeviceARN(const Aws::String &value)
Definition VTLDevice.h:49
void SetVTLDeviceARN(const char *value)
Definition VTLDevice.h:51
VTLDevice & WithVTLDeviceARN(const char *value)
Definition VTLDevice.h:54
void SetVTLDeviceType(const char *value)
Definition VTLDevice.h:65
void SetVTLDeviceVendor(Aws::String &&value)
Definition VTLDevice.h:78
void SetVTLDeviceType(const Aws::String &value)
Definition VTLDevice.h:63
VTLDevice & WithVTLDeviceType(const Aws::String &value)
Definition VTLDevice.h:66
VTLDevice & WithVTLDeviceType(const char *value)
Definition VTLDevice.h:68
void SetVTLDeviceVendor(const char *value)
Definition VTLDevice.h:79
bool VTLDeviceProductIdentifierHasBeenSet() const
Definition VTLDevice.h:90
VTLDevice & WithVTLDeviceVendor(const char *value)
Definition VTLDevice.h:82
const Aws::String & GetVTLDeviceVendor() const
Definition VTLDevice.h:75
void SetVTLDeviceProductIdentifier(const Aws::String &value)
Definition VTLDevice.h:91
AWS_STORAGEGATEWAY_API VTLDevice()
VTLDevice & WithDeviceiSCSIAttributes(DeviceiSCSIAttributes &&value)
Definition VTLDevice.h:108
const Aws::String & GetVTLDeviceARN() const
Definition VTLDevice.h:47
const DeviceiSCSIAttributes & GetDeviceiSCSIAttributes() const
Definition VTLDevice.h:103
VTLDevice & WithDeviceiSCSIAttributes(const DeviceiSCSIAttributes &value)
Definition VTLDevice.h:107
VTLDevice & WithVTLDeviceVendor(const Aws::String &value)
Definition VTLDevice.h:80
void SetVTLDeviceProductIdentifier(const char *value)
Definition VTLDevice.h:93
AWS_STORAGEGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetVTLDeviceType() const
Definition VTLDevice.h:61
void SetVTLDeviceType(Aws::String &&value)
Definition VTLDevice.h:64
void SetVTLDeviceARN(Aws::String &&value)
Definition VTLDevice.h:50
void SetDeviceiSCSIAttributes(const DeviceiSCSIAttributes &value)
Definition VTLDevice.h:105
const Aws::String & GetVTLDeviceProductIdentifier() const
Definition VTLDevice.h:89
VTLDevice & WithVTLDeviceType(Aws::String &&value)
Definition VTLDevice.h:67
VTLDevice & WithVTLDeviceVendor(Aws::String &&value)
Definition VTLDevice.h:81
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue