AWS SDK for C++  1.9.108
AWS SDK for C++
FpgaDeviceInfo.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Xml
18 {
19  class XmlNode;
20 } // namespace Xml
21 } // namespace Utils
22 namespace EC2
23 {
24 namespace Model
25 {
26 
34  {
35  public:
39 
40  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41  void OutputToStream(Aws::OStream& oStream, const char* location) const;
42 
43 
47  inline const Aws::String& GetName() const{ return m_name; }
48 
52  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
53 
57  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
58 
62  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
63 
67  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
68 
72  inline FpgaDeviceInfo& WithName(const Aws::String& value) { SetName(value); return *this;}
73 
77  inline FpgaDeviceInfo& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
78 
82  inline FpgaDeviceInfo& WithName(const char* value) { SetName(value); return *this;}
83 
84 
88  inline const Aws::String& GetManufacturer() const{ return m_manufacturer; }
89 
93  inline bool ManufacturerHasBeenSet() const { return m_manufacturerHasBeenSet; }
94 
98  inline void SetManufacturer(const Aws::String& value) { m_manufacturerHasBeenSet = true; m_manufacturer = value; }
99 
103  inline void SetManufacturer(Aws::String&& value) { m_manufacturerHasBeenSet = true; m_manufacturer = std::move(value); }
104 
108  inline void SetManufacturer(const char* value) { m_manufacturerHasBeenSet = true; m_manufacturer.assign(value); }
109 
113  inline FpgaDeviceInfo& WithManufacturer(const Aws::String& value) { SetManufacturer(value); return *this;}
114 
118  inline FpgaDeviceInfo& WithManufacturer(Aws::String&& value) { SetManufacturer(std::move(value)); return *this;}
119 
123  inline FpgaDeviceInfo& WithManufacturer(const char* value) { SetManufacturer(value); return *this;}
124 
125 
129  inline int GetCount() const{ return m_count; }
130 
134  inline bool CountHasBeenSet() const { return m_countHasBeenSet; }
135 
139  inline void SetCount(int value) { m_countHasBeenSet = true; m_count = value; }
140 
144  inline FpgaDeviceInfo& WithCount(int value) { SetCount(value); return *this;}
145 
146 
150  inline const FpgaDeviceMemoryInfo& GetMemoryInfo() const{ return m_memoryInfo; }
151 
155  inline bool MemoryInfoHasBeenSet() const { return m_memoryInfoHasBeenSet; }
156 
160  inline void SetMemoryInfo(const FpgaDeviceMemoryInfo& value) { m_memoryInfoHasBeenSet = true; m_memoryInfo = value; }
161 
165  inline void SetMemoryInfo(FpgaDeviceMemoryInfo&& value) { m_memoryInfoHasBeenSet = true; m_memoryInfo = std::move(value); }
166 
170  inline FpgaDeviceInfo& WithMemoryInfo(const FpgaDeviceMemoryInfo& value) { SetMemoryInfo(value); return *this;}
171 
175  inline FpgaDeviceInfo& WithMemoryInfo(FpgaDeviceMemoryInfo&& value) { SetMemoryInfo(std::move(value)); return *this;}
176 
177  private:
178 
179  Aws::String m_name;
180  bool m_nameHasBeenSet;
181 
182  Aws::String m_manufacturer;
183  bool m_manufacturerHasBeenSet;
184 
185  int m_count;
186  bool m_countHasBeenSet;
187 
188  FpgaDeviceMemoryInfo m_memoryInfo;
189  bool m_memoryInfoHasBeenSet;
190  };
191 
192 } // namespace Model
193 } // namespace EC2
194 } // namespace Aws
Aws::EC2::Model::FpgaDeviceInfo::WithCount
FpgaDeviceInfo & WithCount(int value)
Definition: FpgaDeviceInfo.h:144
FpgaDeviceMemoryInfo.h
Aws::EC2::Model::FpgaDeviceInfo::ManufacturerHasBeenSet
bool ManufacturerHasBeenSet() const
Definition: FpgaDeviceInfo.h:93
Aws::EC2::Model::FpgaDeviceInfo::MemoryInfoHasBeenSet
bool MemoryInfoHasBeenSet() const
Definition: FpgaDeviceInfo.h:155
Aws::EC2::Model::FpgaDeviceInfo::SetName
void SetName(Aws::String &&value)
Definition: FpgaDeviceInfo.h:62
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::FpgaDeviceInfo::WithName
FpgaDeviceInfo & WithName(const Aws::String &value)
Definition: FpgaDeviceInfo.h:72
Aws::EC2::Model::FpgaDeviceInfo::SetCount
void SetCount(int value)
Definition: FpgaDeviceInfo.h:139
Aws::EC2::Model::FpgaDeviceInfo::FpgaDeviceInfo
FpgaDeviceInfo(const Aws::Utils::Xml::XmlNode &xmlNode)
AWSStreamFwd.h
Aws::EC2::Model::FpgaDeviceInfo::WithManufacturer
FpgaDeviceInfo & WithManufacturer(const Aws::String &value)
Definition: FpgaDeviceInfo.h:113
Aws::EC2::Model::FpgaDeviceInfo::WithName
FpgaDeviceInfo & WithName(const char *value)
Definition: FpgaDeviceInfo.h:82
Aws::EC2::Model::FpgaDeviceInfo::operator=
FpgaDeviceInfo & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::FpgaDeviceInfo::FpgaDeviceInfo
FpgaDeviceInfo()
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::FpgaDeviceInfo
Definition: FpgaDeviceInfo.h:34
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::FpgaDeviceInfo::NameHasBeenSet
bool NameHasBeenSet() const
Definition: FpgaDeviceInfo.h:52
Aws::EC2::Model::FpgaDeviceInfo::SetMemoryInfo
void SetMemoryInfo(const FpgaDeviceMemoryInfo &value)
Definition: FpgaDeviceInfo.h:160
Aws::EC2::Model::FpgaDeviceInfo::SetManufacturer
void SetManufacturer(Aws::String &&value)
Definition: FpgaDeviceInfo.h:103
Aws::EC2::Model::FpgaDeviceInfo::CountHasBeenSet
bool CountHasBeenSet() const
Definition: FpgaDeviceInfo.h:134
Aws::EC2::Model::FpgaDeviceInfo::SetManufacturer
void SetManufacturer(const char *value)
Definition: FpgaDeviceInfo.h:108
AWSString.h
Aws::EC2::Model::FpgaDeviceInfo::WithManufacturer
FpgaDeviceInfo & WithManufacturer(const char *value)
Definition: FpgaDeviceInfo.h:123
Aws::EC2::Model::FpgaDeviceMemoryInfo
Definition: FpgaDeviceMemoryInfo.h:31
Aws::EC2::Model::FpgaDeviceInfo::GetMemoryInfo
const FpgaDeviceMemoryInfo & GetMemoryInfo() const
Definition: FpgaDeviceInfo.h:150
Aws::EC2::Model::FpgaDeviceInfo::GetName
const Aws::String & GetName() const
Definition: FpgaDeviceInfo.h:47
Aws::EC2::Model::FpgaDeviceInfo::WithMemoryInfo
FpgaDeviceInfo & WithMemoryInfo(FpgaDeviceMemoryInfo &&value)
Definition: FpgaDeviceInfo.h:175
Aws::EC2::Model::FpgaDeviceInfo::SetName
void SetName(const Aws::String &value)
Definition: FpgaDeviceInfo.h:57
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::FpgaDeviceInfo::WithName
FpgaDeviceInfo & WithName(Aws::String &&value)
Definition: FpgaDeviceInfo.h:77
Aws::EC2::Model::FpgaDeviceInfo::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::EC2::Model::FpgaDeviceInfo::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
index
int index
Definition: cJSON.h:181
Aws::EC2::Model::FpgaDeviceInfo::SetName
void SetName(const char *value)
Definition: FpgaDeviceInfo.h:67
Aws::EC2::Model::FpgaDeviceInfo::WithMemoryInfo
FpgaDeviceInfo & WithMemoryInfo(const FpgaDeviceMemoryInfo &value)
Definition: FpgaDeviceInfo.h:170
Aws::EC2::Model::FpgaDeviceInfo::SetMemoryInfo
void SetMemoryInfo(FpgaDeviceMemoryInfo &&value)
Definition: FpgaDeviceInfo.h:165
Aws::EC2::Model::FpgaDeviceInfo::GetCount
int GetCount() const
Definition: FpgaDeviceInfo.h:129
Aws::EC2::Model::FpgaDeviceInfo::WithManufacturer
FpgaDeviceInfo & WithManufacturer(Aws::String &&value)
Definition: FpgaDeviceInfo.h:118
EC2_EXPORTS.h
Aws::EC2::Model::FpgaDeviceInfo::SetManufacturer
void SetManufacturer(const Aws::String &value)
Definition: FpgaDeviceInfo.h:98
Aws::EC2::Model::FpgaDeviceInfo::GetManufacturer
const Aws::String & GetManufacturer() const
Definition: FpgaDeviceInfo.h:88