AWS SDK for C++  1.9.67
AWS SDK for C++
NetworkCardInfo.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:
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 int GetNetworkCardIndex() const{ return m_networkCardIndex; }
47 
51  inline bool NetworkCardIndexHasBeenSet() const { return m_networkCardIndexHasBeenSet; }
52 
56  inline void SetNetworkCardIndex(int value) { m_networkCardIndexHasBeenSet = true; m_networkCardIndex = value; }
57 
61  inline NetworkCardInfo& WithNetworkCardIndex(int value) { SetNetworkCardIndex(value); return *this;}
62 
63 
67  inline const Aws::String& GetNetworkPerformance() const{ return m_networkPerformance; }
68 
72  inline bool NetworkPerformanceHasBeenSet() const { return m_networkPerformanceHasBeenSet; }
73 
77  inline void SetNetworkPerformance(const Aws::String& value) { m_networkPerformanceHasBeenSet = true; m_networkPerformance = value; }
78 
82  inline void SetNetworkPerformance(Aws::String&& value) { m_networkPerformanceHasBeenSet = true; m_networkPerformance = std::move(value); }
83 
87  inline void SetNetworkPerformance(const char* value) { m_networkPerformanceHasBeenSet = true; m_networkPerformance.assign(value); }
88 
92  inline NetworkCardInfo& WithNetworkPerformance(const Aws::String& value) { SetNetworkPerformance(value); return *this;}
93 
97  inline NetworkCardInfo& WithNetworkPerformance(Aws::String&& value) { SetNetworkPerformance(std::move(value)); return *this;}
98 
102  inline NetworkCardInfo& WithNetworkPerformance(const char* value) { SetNetworkPerformance(value); return *this;}
103 
104 
108  inline int GetMaximumNetworkInterfaces() const{ return m_maximumNetworkInterfaces; }
109 
113  inline bool MaximumNetworkInterfacesHasBeenSet() const { return m_maximumNetworkInterfacesHasBeenSet; }
114 
118  inline void SetMaximumNetworkInterfaces(int value) { m_maximumNetworkInterfacesHasBeenSet = true; m_maximumNetworkInterfaces = value; }
119 
123  inline NetworkCardInfo& WithMaximumNetworkInterfaces(int value) { SetMaximumNetworkInterfaces(value); return *this;}
124 
125  private:
126 
127  int m_networkCardIndex;
128  bool m_networkCardIndexHasBeenSet;
129 
130  Aws::String m_networkPerformance;
131  bool m_networkPerformanceHasBeenSet;
132 
133  int m_maximumNetworkInterfaces;
134  bool m_maximumNetworkInterfacesHasBeenSet;
135  };
136 
137 } // namespace Model
138 } // namespace EC2
139 } // namespace Aws
Aws::EC2::Model::NetworkCardInfo::WithNetworkCardIndex
NetworkCardInfo & WithNetworkCardIndex(int value)
Definition: NetworkCardInfo.h:61
Aws::EC2::Model::NetworkCardInfo::NetworkCardInfo
NetworkCardInfo()
Aws::EC2::Model::NetworkCardInfo::NetworkCardInfo
NetworkCardInfo(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::NetworkCardInfo::MaximumNetworkInterfacesHasBeenSet
bool MaximumNetworkInterfacesHasBeenSet() const
Definition: NetworkCardInfo.h:113
Aws::EC2::Model::NetworkCardInfo::WithNetworkPerformance
NetworkCardInfo & WithNetworkPerformance(const char *value)
Definition: NetworkCardInfo.h:102
Aws::EC2::Model::NetworkCardInfo::SetNetworkPerformance
void SetNetworkPerformance(const Aws::String &value)
Definition: NetworkCardInfo.h:77
Aws::EC2::Model::NetworkCardInfo::NetworkCardIndexHasBeenSet
bool NetworkCardIndexHasBeenSet() const
Definition: NetworkCardInfo.h:51
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::NetworkCardInfo
Definition: NetworkCardInfo.h:33
Aws::EC2::Model::NetworkCardInfo::WithNetworkPerformance
NetworkCardInfo & WithNetworkPerformance(const Aws::String &value)
Definition: NetworkCardInfo.h:92
AWSStreamFwd.h
Aws::EC2::Model::NetworkCardInfo::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::EC2::Model::NetworkCardInfo::GetNetworkPerformance
const Aws::String & GetNetworkPerformance() const
Definition: NetworkCardInfo.h:67
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::NetworkCardInfo::GetNetworkCardIndex
int GetNetworkCardIndex() const
Definition: NetworkCardInfo.h:46
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::NetworkCardInfo::GetMaximumNetworkInterfaces
int GetMaximumNetworkInterfaces() const
Definition: NetworkCardInfo.h:108
Aws::EC2::Model::NetworkCardInfo::SetNetworkPerformance
void SetNetworkPerformance(const char *value)
Definition: NetworkCardInfo.h:87
AWSString.h
Aws::EC2::Model::NetworkCardInfo::SetNetworkPerformance
void SetNetworkPerformance(Aws::String &&value)
Definition: NetworkCardInfo.h:82
Aws::EC2::Model::NetworkCardInfo::SetNetworkCardIndex
void SetNetworkCardIndex(int value)
Definition: NetworkCardInfo.h:56
Aws::EC2::Model::NetworkCardInfo::SetMaximumNetworkInterfaces
void SetMaximumNetworkInterfaces(int value)
Definition: NetworkCardInfo.h:118
Aws::EC2::Model::NetworkCardInfo::NetworkPerformanceHasBeenSet
bool NetworkPerformanceHasBeenSet() const
Definition: NetworkCardInfo.h:72
Aws::EC2::Model::NetworkCardInfo::operator=
NetworkCardInfo & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::NetworkCardInfo::WithMaximumNetworkInterfaces
NetworkCardInfo & WithMaximumNetworkInterfaces(int value)
Definition: NetworkCardInfo.h:123
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::NetworkCardInfo::WithNetworkPerformance
NetworkCardInfo & WithNetworkPerformance(Aws::String &&value)
Definition: NetworkCardInfo.h:97
Aws::EC2::Model::NetworkCardInfo::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
EC2_EXPORTS.h