AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NetworkCardInfo.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
33 {
34 public:
35 AWS_EC2_API NetworkCardInfo();
36 AWS_EC2_API NetworkCardInfo(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 int GetNetworkCardIndex() const{ return m_networkCardIndex; }
48 inline bool NetworkCardIndexHasBeenSet() const { return m_networkCardIndexHasBeenSet; }
49 inline void SetNetworkCardIndex(int value) { m_networkCardIndexHasBeenSet = true; m_networkCardIndex = value; }
50 inline NetworkCardInfo& WithNetworkCardIndex(int value) { SetNetworkCardIndex(value); return *this;}
52
54
57 inline const Aws::String& GetNetworkPerformance() const{ return m_networkPerformance; }
58 inline bool NetworkPerformanceHasBeenSet() const { return m_networkPerformanceHasBeenSet; }
59 inline void SetNetworkPerformance(const Aws::String& value) { m_networkPerformanceHasBeenSet = true; m_networkPerformance = value; }
60 inline void SetNetworkPerformance(Aws::String&& value) { m_networkPerformanceHasBeenSet = true; m_networkPerformance = std::move(value); }
61 inline void SetNetworkPerformance(const char* value) { m_networkPerformanceHasBeenSet = true; m_networkPerformance.assign(value); }
62 inline NetworkCardInfo& WithNetworkPerformance(const Aws::String& value) { SetNetworkPerformance(value); return *this;}
63 inline NetworkCardInfo& WithNetworkPerformance(Aws::String&& value) { SetNetworkPerformance(std::move(value)); return *this;}
64 inline NetworkCardInfo& WithNetworkPerformance(const char* value) { SetNetworkPerformance(value); return *this;}
66
68
71 inline int GetMaximumNetworkInterfaces() const{ return m_maximumNetworkInterfaces; }
72 inline bool MaximumNetworkInterfacesHasBeenSet() const { return m_maximumNetworkInterfacesHasBeenSet; }
73 inline void SetMaximumNetworkInterfaces(int value) { m_maximumNetworkInterfacesHasBeenSet = true; m_maximumNetworkInterfaces = value; }
76
78
81 inline double GetBaselineBandwidthInGbps() const{ return m_baselineBandwidthInGbps; }
82 inline bool BaselineBandwidthInGbpsHasBeenSet() const { return m_baselineBandwidthInGbpsHasBeenSet; }
83 inline void SetBaselineBandwidthInGbps(double value) { m_baselineBandwidthInGbpsHasBeenSet = true; m_baselineBandwidthInGbps = value; }
84 inline NetworkCardInfo& WithBaselineBandwidthInGbps(double value) { SetBaselineBandwidthInGbps(value); return *this;}
86
88
91 inline double GetPeakBandwidthInGbps() const{ return m_peakBandwidthInGbps; }
92 inline bool PeakBandwidthInGbpsHasBeenSet() const { return m_peakBandwidthInGbpsHasBeenSet; }
93 inline void SetPeakBandwidthInGbps(double value) { m_peakBandwidthInGbpsHasBeenSet = true; m_peakBandwidthInGbps = value; }
94 inline NetworkCardInfo& WithPeakBandwidthInGbps(double value) { SetPeakBandwidthInGbps(value); return *this;}
96 private:
97
98 int m_networkCardIndex;
99 bool m_networkCardIndexHasBeenSet = false;
100
101 Aws::String m_networkPerformance;
102 bool m_networkPerformanceHasBeenSet = false;
103
104 int m_maximumNetworkInterfaces;
105 bool m_maximumNetworkInterfacesHasBeenSet = false;
106
107 double m_baselineBandwidthInGbps;
108 bool m_baselineBandwidthInGbpsHasBeenSet = false;
109
110 double m_peakBandwidthInGbps;
111 bool m_peakBandwidthInGbpsHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace EC2
116} // namespace Aws
NetworkCardInfo & WithNetworkCardIndex(int value)
NetworkCardInfo & WithMaximumNetworkInterfaces(int value)
NetworkCardInfo & WithNetworkPerformance(const char *value)
NetworkCardInfo & WithPeakBandwidthInGbps(double value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetNetworkPerformance(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API NetworkCardInfo(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetNetworkPerformance(Aws::String &&value)
void SetPeakBandwidthInGbps(double value)
void SetMaximumNetworkInterfaces(int value)
void SetBaselineBandwidthInGbps(double value)
NetworkCardInfo & WithNetworkPerformance(const Aws::String &value)
AWS_EC2_API NetworkCardInfo & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetNetworkPerformance() const
NetworkCardInfo & WithBaselineBandwidthInGbps(double value)
NetworkCardInfo & WithNetworkPerformance(Aws::String &&value)
void SetNetworkPerformance(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream