AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
PciId.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace EC2
22{
23namespace Model
24{
25
32 class PciId
33 {
34 public:
35 AWS_EC2_API PciId() = default;
36 AWS_EC2_API PciId(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_EC2_API PciId& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
47 inline const Aws::String& GetDeviceId() const { return m_deviceId; }
48 inline bool DeviceIdHasBeenSet() const { return m_deviceIdHasBeenSet; }
49 template<typename DeviceIdT = Aws::String>
50 void SetDeviceId(DeviceIdT&& value) { m_deviceIdHasBeenSet = true; m_deviceId = std::forward<DeviceIdT>(value); }
51 template<typename DeviceIdT = Aws::String>
52 PciId& WithDeviceId(DeviceIdT&& value) { SetDeviceId(std::forward<DeviceIdT>(value)); return *this;}
54
56
59 inline const Aws::String& GetVendorId() const { return m_vendorId; }
60 inline bool VendorIdHasBeenSet() const { return m_vendorIdHasBeenSet; }
61 template<typename VendorIdT = Aws::String>
62 void SetVendorId(VendorIdT&& value) { m_vendorIdHasBeenSet = true; m_vendorId = std::forward<VendorIdT>(value); }
63 template<typename VendorIdT = Aws::String>
64 PciId& WithVendorId(VendorIdT&& value) { SetVendorId(std::forward<VendorIdT>(value)); return *this;}
66
68
71 inline const Aws::String& GetSubsystemId() const { return m_subsystemId; }
72 inline bool SubsystemIdHasBeenSet() const { return m_subsystemIdHasBeenSet; }
73 template<typename SubsystemIdT = Aws::String>
74 void SetSubsystemId(SubsystemIdT&& value) { m_subsystemIdHasBeenSet = true; m_subsystemId = std::forward<SubsystemIdT>(value); }
75 template<typename SubsystemIdT = Aws::String>
76 PciId& WithSubsystemId(SubsystemIdT&& value) { SetSubsystemId(std::forward<SubsystemIdT>(value)); return *this;}
78
80
83 inline const Aws::String& GetSubsystemVendorId() const { return m_subsystemVendorId; }
84 inline bool SubsystemVendorIdHasBeenSet() const { return m_subsystemVendorIdHasBeenSet; }
85 template<typename SubsystemVendorIdT = Aws::String>
86 void SetSubsystemVendorId(SubsystemVendorIdT&& value) { m_subsystemVendorIdHasBeenSet = true; m_subsystemVendorId = std::forward<SubsystemVendorIdT>(value); }
87 template<typename SubsystemVendorIdT = Aws::String>
88 PciId& WithSubsystemVendorId(SubsystemVendorIdT&& value) { SetSubsystemVendorId(std::forward<SubsystemVendorIdT>(value)); return *this;}
90 private:
91
92 Aws::String m_deviceId;
93 bool m_deviceIdHasBeenSet = false;
94
95 Aws::String m_vendorId;
96 bool m_vendorIdHasBeenSet = false;
97
98 Aws::String m_subsystemId;
99 bool m_subsystemIdHasBeenSet = false;
100
101 Aws::String m_subsystemVendorId;
102 bool m_subsystemVendorIdHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace EC2
107} // namespace Aws
bool SubsystemVendorIdHasBeenSet() const
Definition PciId.h:84
void SetSubsystemId(SubsystemIdT &&value)
Definition PciId.h:74
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetVendorId(VendorIdT &&value)
Definition PciId.h:62
AWS_EC2_API PciId(const Aws::Utils::Xml::XmlNode &xmlNode)
PciId & WithSubsystemVendorId(SubsystemVendorIdT &&value)
Definition PciId.h:88
AWS_EC2_API PciId & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetSubsystemVendorId(SubsystemVendorIdT &&value)
Definition PciId.h:86
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool SubsystemIdHasBeenSet() const
Definition PciId.h:72
const Aws::String & GetDeviceId() const
Definition PciId.h:47
PciId & WithVendorId(VendorIdT &&value)
Definition PciId.h:64
PciId & WithSubsystemId(SubsystemIdT &&value)
Definition PciId.h:76
bool DeviceIdHasBeenSet() const
Definition PciId.h:48
AWS_EC2_API PciId()=default
const Aws::String & GetSubsystemId() const
Definition PciId.h:71
PciId & WithDeviceId(DeviceIdT &&value)
Definition PciId.h:52
const Aws::String & GetSubsystemVendorId() const
Definition PciId.h:83
bool VendorIdHasBeenSet() const
Definition PciId.h:60
void SetDeviceId(DeviceIdT &&value)
Definition PciId.h:50
const Aws::String & GetVendorId() const
Definition PciId.h:59
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream