AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDeviceId(const Aws::String& value) { m_deviceIdHasBeenSet = true; m_deviceId = value; }
50 inline void SetDeviceId(Aws::String&& value) { m_deviceIdHasBeenSet = true; m_deviceId = std::move(value); }
51 inline void SetDeviceId(const char* value) { m_deviceIdHasBeenSet = true; m_deviceId.assign(value); }
52 inline PciId& WithDeviceId(const Aws::String& value) { SetDeviceId(value); return *this;}
53 inline PciId& WithDeviceId(Aws::String&& value) { SetDeviceId(std::move(value)); return *this;}
54 inline PciId& WithDeviceId(const char* value) { SetDeviceId(value); return *this;}
56
58
61 inline const Aws::String& GetVendorId() const{ return m_vendorId; }
62 inline bool VendorIdHasBeenSet() const { return m_vendorIdHasBeenSet; }
63 inline void SetVendorId(const Aws::String& value) { m_vendorIdHasBeenSet = true; m_vendorId = value; }
64 inline void SetVendorId(Aws::String&& value) { m_vendorIdHasBeenSet = true; m_vendorId = std::move(value); }
65 inline void SetVendorId(const char* value) { m_vendorIdHasBeenSet = true; m_vendorId.assign(value); }
66 inline PciId& WithVendorId(const Aws::String& value) { SetVendorId(value); return *this;}
67 inline PciId& WithVendorId(Aws::String&& value) { SetVendorId(std::move(value)); return *this;}
68 inline PciId& WithVendorId(const char* value) { SetVendorId(value); return *this;}
70
72
75 inline const Aws::String& GetSubsystemId() const{ return m_subsystemId; }
76 inline bool SubsystemIdHasBeenSet() const { return m_subsystemIdHasBeenSet; }
77 inline void SetSubsystemId(const Aws::String& value) { m_subsystemIdHasBeenSet = true; m_subsystemId = value; }
78 inline void SetSubsystemId(Aws::String&& value) { m_subsystemIdHasBeenSet = true; m_subsystemId = std::move(value); }
79 inline void SetSubsystemId(const char* value) { m_subsystemIdHasBeenSet = true; m_subsystemId.assign(value); }
80 inline PciId& WithSubsystemId(const Aws::String& value) { SetSubsystemId(value); return *this;}
81 inline PciId& WithSubsystemId(Aws::String&& value) { SetSubsystemId(std::move(value)); return *this;}
82 inline PciId& WithSubsystemId(const char* value) { SetSubsystemId(value); return *this;}
84
86
89 inline const Aws::String& GetSubsystemVendorId() const{ return m_subsystemVendorId; }
90 inline bool SubsystemVendorIdHasBeenSet() const { return m_subsystemVendorIdHasBeenSet; }
91 inline void SetSubsystemVendorId(const Aws::String& value) { m_subsystemVendorIdHasBeenSet = true; m_subsystemVendorId = value; }
92 inline void SetSubsystemVendorId(Aws::String&& value) { m_subsystemVendorIdHasBeenSet = true; m_subsystemVendorId = std::move(value); }
93 inline void SetSubsystemVendorId(const char* value) { m_subsystemVendorIdHasBeenSet = true; m_subsystemVendorId.assign(value); }
94 inline PciId& WithSubsystemVendorId(const Aws::String& value) { SetSubsystemVendorId(value); return *this;}
95 inline PciId& WithSubsystemVendorId(Aws::String&& value) { SetSubsystemVendorId(std::move(value)); return *this;}
96 inline PciId& WithSubsystemVendorId(const char* value) { SetSubsystemVendorId(value); return *this;}
98 private:
99
100 Aws::String m_deviceId;
101 bool m_deviceIdHasBeenSet = false;
102
103 Aws::String m_vendorId;
104 bool m_vendorIdHasBeenSet = false;
105
106 Aws::String m_subsystemId;
107 bool m_subsystemIdHasBeenSet = false;
108
109 Aws::String m_subsystemVendorId;
110 bool m_subsystemVendorIdHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace EC2
115} // namespace Aws
bool SubsystemVendorIdHasBeenSet() const
Definition PciId.h:90
void SetSubsystemVendorId(Aws::String &&value)
Definition PciId.h:92
void SetVendorId(const Aws::String &value)
Definition PciId.h:63
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API PciId(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetSubsystemId(Aws::String &&value)
Definition PciId.h:78
PciId & WithSubsystemVendorId(const char *value)
Definition PciId.h:96
void SetSubsystemVendorId(const Aws::String &value)
Definition PciId.h:91
void SetDeviceId(const char *value)
Definition PciId.h:51
PciId & WithVendorId(Aws::String &&value)
Definition PciId.h:67
PciId & WithVendorId(const char *value)
Definition PciId.h:68
PciId & WithSubsystemVendorId(Aws::String &&value)
Definition PciId.h:95
AWS_EC2_API PciId & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
PciId & WithSubsystemId(Aws::String &&value)
Definition PciId.h:81
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
PciId & WithSubsystemVendorId(const Aws::String &value)
Definition PciId.h:94
PciId & WithVendorId(const Aws::String &value)
Definition PciId.h:66
PciId & WithDeviceId(const Aws::String &value)
Definition PciId.h:52
bool SubsystemIdHasBeenSet() const
Definition PciId.h:76
const Aws::String & GetDeviceId() const
Definition PciId.h:47
void SetSubsystemId(const char *value)
Definition PciId.h:79
void SetDeviceId(Aws::String &&value)
Definition PciId.h:50
PciId & WithSubsystemId(const char *value)
Definition PciId.h:82
bool DeviceIdHasBeenSet() const
Definition PciId.h:48
void SetDeviceId(const Aws::String &value)
Definition PciId.h:49
const Aws::String & GetSubsystemId() const
Definition PciId.h:75
PciId & WithDeviceId(Aws::String &&value)
Definition PciId.h:53
const Aws::String & GetSubsystemVendorId() const
Definition PciId.h:89
PciId & WithSubsystemId(const Aws::String &value)
Definition PciId.h:80
void SetSubsystemId(const Aws::String &value)
Definition PciId.h:77
void SetVendorId(const char *value)
Definition PciId.h:65
bool VendorIdHasBeenSet() const
Definition PciId.h:62
void SetVendorId(Aws::String &&value)
Definition PciId.h:64
PciId & WithDeviceId(const char *value)
Definition PciId.h:54
void SetSubsystemVendorId(const char *value)
Definition PciId.h:93
const Aws::String & GetVendorId() const
Definition PciId.h:61
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream