AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
PciId.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace EC2 {
20namespace Model {
21
28class PciId {
29 public:
30 AWS_EC2_API PciId() = default;
31 AWS_EC2_API PciId(const Aws::Utils::Xml::XmlNode& xmlNode);
32 AWS_EC2_API PciId& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
33
34 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
35 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
36
38
41 inline const Aws::String& GetDeviceId() const { return m_deviceId; }
42 inline bool DeviceIdHasBeenSet() const { return m_deviceIdHasBeenSet; }
43 template <typename DeviceIdT = Aws::String>
44 void SetDeviceId(DeviceIdT&& value) {
45 m_deviceIdHasBeenSet = true;
46 m_deviceId = std::forward<DeviceIdT>(value);
47 }
48 template <typename DeviceIdT = Aws::String>
49 PciId& WithDeviceId(DeviceIdT&& value) {
50 SetDeviceId(std::forward<DeviceIdT>(value));
51 return *this;
52 }
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) {
63 m_vendorIdHasBeenSet = true;
64 m_vendorId = std::forward<VendorIdT>(value);
65 }
66 template <typename VendorIdT = Aws::String>
67 PciId& WithVendorId(VendorIdT&& value) {
68 SetVendorId(std::forward<VendorIdT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetSubsystemId() const { return m_subsystemId; }
78 inline bool SubsystemIdHasBeenSet() const { return m_subsystemIdHasBeenSet; }
79 template <typename SubsystemIdT = Aws::String>
80 void SetSubsystemId(SubsystemIdT&& value) {
81 m_subsystemIdHasBeenSet = true;
82 m_subsystemId = std::forward<SubsystemIdT>(value);
83 }
84 template <typename SubsystemIdT = Aws::String>
85 PciId& WithSubsystemId(SubsystemIdT&& value) {
86 SetSubsystemId(std::forward<SubsystemIdT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetSubsystemVendorId() const { return m_subsystemVendorId; }
96 inline bool SubsystemVendorIdHasBeenSet() const { return m_subsystemVendorIdHasBeenSet; }
97 template <typename SubsystemVendorIdT = Aws::String>
98 void SetSubsystemVendorId(SubsystemVendorIdT&& value) {
99 m_subsystemVendorIdHasBeenSet = true;
100 m_subsystemVendorId = std::forward<SubsystemVendorIdT>(value);
101 }
102 template <typename SubsystemVendorIdT = Aws::String>
103 PciId& WithSubsystemVendorId(SubsystemVendorIdT&& value) {
104 SetSubsystemVendorId(std::forward<SubsystemVendorIdT>(value));
105 return *this;
106 }
108 private:
109 Aws::String m_deviceId;
110
111 Aws::String m_vendorId;
112
113 Aws::String m_subsystemId;
114
115 Aws::String m_subsystemVendorId;
116 bool m_deviceIdHasBeenSet = false;
117 bool m_vendorIdHasBeenSet = false;
118 bool m_subsystemIdHasBeenSet = false;
119 bool m_subsystemVendorIdHasBeenSet = false;
120};
121
122} // namespace Model
123} // namespace EC2
124} // namespace Aws
bool SubsystemVendorIdHasBeenSet() const
Definition PciId.h:96
void SetSubsystemId(SubsystemIdT &&value)
Definition PciId.h:80
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:103
AWS_EC2_API PciId & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetSubsystemVendorId(SubsystemVendorIdT &&value)
Definition PciId.h:98
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool SubsystemIdHasBeenSet() const
Definition PciId.h:78
const Aws::String & GetDeviceId() const
Definition PciId.h:41
PciId & WithVendorId(VendorIdT &&value)
Definition PciId.h:67
PciId & WithSubsystemId(SubsystemIdT &&value)
Definition PciId.h:85
bool DeviceIdHasBeenSet() const
Definition PciId.h:42
AWS_EC2_API PciId()=default
const Aws::String & GetSubsystemId() const
Definition PciId.h:77
PciId & WithDeviceId(DeviceIdT &&value)
Definition PciId.h:49
const Aws::String & GetSubsystemVendorId() const
Definition PciId.h:95
bool VendorIdHasBeenSet() const
Definition PciId.h:60
void SetDeviceId(DeviceIdT &&value)
Definition PciId.h:44
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