AWS SDK for C++  1.9.70
AWS SDK for C++
PciId.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace EC2
22 {
23 namespace Model
24 {
25 
33  {
34  public:
35  PciId();
38 
39  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40  void OutputToStream(Aws::OStream& oStream, const char* location) const;
41 
42 
46  inline const Aws::String& GetDeviceId() const{ return m_deviceId; }
47 
51  inline bool DeviceIdHasBeenSet() const { return m_deviceIdHasBeenSet; }
52 
56  inline void SetDeviceId(const Aws::String& value) { m_deviceIdHasBeenSet = true; m_deviceId = value; }
57 
61  inline void SetDeviceId(Aws::String&& value) { m_deviceIdHasBeenSet = true; m_deviceId = std::move(value); }
62 
66  inline void SetDeviceId(const char* value) { m_deviceIdHasBeenSet = true; m_deviceId.assign(value); }
67 
71  inline PciId& WithDeviceId(const Aws::String& value) { SetDeviceId(value); return *this;}
72 
76  inline PciId& WithDeviceId(Aws::String&& value) { SetDeviceId(std::move(value)); return *this;}
77 
81  inline PciId& WithDeviceId(const char* value) { SetDeviceId(value); return *this;}
82 
83 
87  inline const Aws::String& GetVendorId() const{ return m_vendorId; }
88 
92  inline bool VendorIdHasBeenSet() const { return m_vendorIdHasBeenSet; }
93 
97  inline void SetVendorId(const Aws::String& value) { m_vendorIdHasBeenSet = true; m_vendorId = value; }
98 
102  inline void SetVendorId(Aws::String&& value) { m_vendorIdHasBeenSet = true; m_vendorId = std::move(value); }
103 
107  inline void SetVendorId(const char* value) { m_vendorIdHasBeenSet = true; m_vendorId.assign(value); }
108 
112  inline PciId& WithVendorId(const Aws::String& value) { SetVendorId(value); return *this;}
113 
117  inline PciId& WithVendorId(Aws::String&& value) { SetVendorId(std::move(value)); return *this;}
118 
122  inline PciId& WithVendorId(const char* value) { SetVendorId(value); return *this;}
123 
124 
128  inline const Aws::String& GetSubsystemId() const{ return m_subsystemId; }
129 
133  inline bool SubsystemIdHasBeenSet() const { return m_subsystemIdHasBeenSet; }
134 
138  inline void SetSubsystemId(const Aws::String& value) { m_subsystemIdHasBeenSet = true; m_subsystemId = value; }
139 
143  inline void SetSubsystemId(Aws::String&& value) { m_subsystemIdHasBeenSet = true; m_subsystemId = std::move(value); }
144 
148  inline void SetSubsystemId(const char* value) { m_subsystemIdHasBeenSet = true; m_subsystemId.assign(value); }
149 
153  inline PciId& WithSubsystemId(const Aws::String& value) { SetSubsystemId(value); return *this;}
154 
158  inline PciId& WithSubsystemId(Aws::String&& value) { SetSubsystemId(std::move(value)); return *this;}
159 
163  inline PciId& WithSubsystemId(const char* value) { SetSubsystemId(value); return *this;}
164 
165 
169  inline const Aws::String& GetSubsystemVendorId() const{ return m_subsystemVendorId; }
170 
174  inline bool SubsystemVendorIdHasBeenSet() const { return m_subsystemVendorIdHasBeenSet; }
175 
179  inline void SetSubsystemVendorId(const Aws::String& value) { m_subsystemVendorIdHasBeenSet = true; m_subsystemVendorId = value; }
180 
184  inline void SetSubsystemVendorId(Aws::String&& value) { m_subsystemVendorIdHasBeenSet = true; m_subsystemVendorId = std::move(value); }
185 
189  inline void SetSubsystemVendorId(const char* value) { m_subsystemVendorIdHasBeenSet = true; m_subsystemVendorId.assign(value); }
190 
194  inline PciId& WithSubsystemVendorId(const Aws::String& value) { SetSubsystemVendorId(value); return *this;}
195 
199  inline PciId& WithSubsystemVendorId(Aws::String&& value) { SetSubsystemVendorId(std::move(value)); return *this;}
200 
204  inline PciId& WithSubsystemVendorId(const char* value) { SetSubsystemVendorId(value); return *this;}
205 
206  private:
207 
208  Aws::String m_deviceId;
209  bool m_deviceIdHasBeenSet;
210 
211  Aws::String m_vendorId;
212  bool m_vendorIdHasBeenSet;
213 
214  Aws::String m_subsystemId;
215  bool m_subsystemIdHasBeenSet;
216 
217  Aws::String m_subsystemVendorId;
218  bool m_subsystemVendorIdHasBeenSet;
219  };
220 
221 } // namespace Model
222 } // namespace EC2
223 } // namespace Aws
Aws::EC2::Model::PciId::WithSubsystemVendorId
PciId & WithSubsystemVendorId(const Aws::String &value)
Definition: PciId.h:194
Aws::EC2::Model::PciId::WithDeviceId
PciId & WithDeviceId(const Aws::String &value)
Definition: PciId.h:71
Aws::EC2::Model::PciId::WithVendorId
PciId & WithVendorId(const char *value)
Definition: PciId.h:122
Aws::EC2::Model::PciId::WithVendorId
PciId & WithVendorId(const Aws::String &value)
Definition: PciId.h:112
Aws::EC2::Model::PciId::WithVendorId
PciId & WithVendorId(Aws::String &&value)
Definition: PciId.h:117
Aws::EC2::Model::PciId::SetSubsystemId
void SetSubsystemId(const char *value)
Definition: PciId.h:148
Aws::EC2::Model::PciId
Definition: PciId.h:33
Aws::EC2::Model::PciId::WithSubsystemVendorId
PciId & WithSubsystemVendorId(const char *value)
Definition: PciId.h:204
Aws::EC2::Model::PciId::SetVendorId
void SetVendorId(Aws::String &&value)
Definition: PciId.h:102
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
AWSStreamFwd.h
Aws::EC2::Model::PciId::GetVendorId
const Aws::String & GetVendorId() const
Definition: PciId.h:87
Aws::EC2::Model::PciId::GetSubsystemId
const Aws::String & GetSubsystemId() const
Definition: PciId.h:128
Aws::EC2::Model::PciId::WithSubsystemId
PciId & WithSubsystemId(const char *value)
Definition: PciId.h:163
Aws::EC2::Model::PciId::SetSubsystemVendorId
void SetSubsystemVendorId(Aws::String &&value)
Definition: PciId.h:184
Aws::EC2::Model::PciId::WithSubsystemId
PciId & WithSubsystemId(Aws::String &&value)
Definition: PciId.h:158
Aws::EC2::Model::PciId::DeviceIdHasBeenSet
bool DeviceIdHasBeenSet() const
Definition: PciId.h:51
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::PciId::PciId
PciId(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::PciId::SubsystemVendorIdHasBeenSet
bool SubsystemVendorIdHasBeenSet() const
Definition: PciId.h:174
Aws::EC2::Model::PciId::SetVendorId
void SetVendorId(const Aws::String &value)
Definition: PciId.h:97
Aws::EC2::Model::PciId::GetDeviceId
const Aws::String & GetDeviceId() const
Definition: PciId.h:46
Aws::EC2::Model::PciId::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
AWSString.h
Aws::EC2::Model::PciId::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::EC2::Model::PciId::operator=
PciId & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::PciId::SetDeviceId
void SetDeviceId(const Aws::String &value)
Definition: PciId.h:56
Aws::EC2::Model::PciId::GetSubsystemVendorId
const Aws::String & GetSubsystemVendorId() const
Definition: PciId.h:169
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::PciId::SetSubsystemId
void SetSubsystemId(Aws::String &&value)
Definition: PciId.h:143
Aws::EC2::Model::PciId::SubsystemIdHasBeenSet
bool SubsystemIdHasBeenSet() const
Definition: PciId.h:133
Aws::EC2::Model::PciId::SetDeviceId
void SetDeviceId(const char *value)
Definition: PciId.h:66
Aws::EC2::Model::PciId::WithSubsystemVendorId
PciId & WithSubsystemVendorId(Aws::String &&value)
Definition: PciId.h:199
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::PciId::WithDeviceId
PciId & WithDeviceId(const char *value)
Definition: PciId.h:81
Aws::EC2::Model::PciId::SetSubsystemId
void SetSubsystemId(const Aws::String &value)
Definition: PciId.h:138
index
int index
Definition: cJSON.h:181
Aws::EC2::Model::PciId::SetDeviceId
void SetDeviceId(Aws::String &&value)
Definition: PciId.h:61
Aws::EC2::Model::PciId::WithDeviceId
PciId & WithDeviceId(Aws::String &&value)
Definition: PciId.h:76
Aws::EC2::Model::PciId::WithSubsystemId
PciId & WithSubsystemId(const Aws::String &value)
Definition: PciId.h:153
Aws::EC2::Model::PciId::PciId
PciId()
Aws::EC2::Model::PciId::SetSubsystemVendorId
void SetSubsystemVendorId(const char *value)
Definition: PciId.h:189
Aws::EC2::Model::PciId::SetVendorId
void SetVendorId(const char *value)
Definition: PciId.h:107
EC2_EXPORTS.h
Aws::EC2::Model::PciId::VendorIdHasBeenSet
bool VendorIdHasBeenSet() const
Definition: PciId.h:92
Aws::EC2::Model::PciId::SetSubsystemVendorId
void SetSubsystemVendorId(const Aws::String &value)
Definition: PciId.h:179