AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeNetworkInterfaceAttributeResponse.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/model/NetworkInterfaceAttachment.h>
9#include <aws/ec2/model/AttributeValue.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/ec2/model/AttributeBooleanValue.h>
13#include <aws/ec2/model/ResponseMetadata.h>
14#include <aws/ec2/model/GroupIdentifier.h>
15#include <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Xml
25{
26 class XmlDocument;
27} // namespace Xml
28} // namespace Utils
29namespace EC2
30{
31namespace Model
32{
40 {
41 public:
45
46
48
51 inline const NetworkInterfaceAttachment& GetAttachment() const{ return m_attachment; }
52 inline void SetAttachment(const NetworkInterfaceAttachment& value) { m_attachment = value; }
53 inline void SetAttachment(NetworkInterfaceAttachment&& value) { m_attachment = std::move(value); }
57
59
62 inline const AttributeValue& GetDescription() const{ return m_description; }
63 inline void SetDescription(const AttributeValue& value) { m_description = value; }
64 inline void SetDescription(AttributeValue&& value) { m_description = std::move(value); }
68
70
73 inline const Aws::Vector<GroupIdentifier>& GetGroups() const{ return m_groups; }
74 inline void SetGroups(const Aws::Vector<GroupIdentifier>& value) { m_groups = value; }
75 inline void SetGroups(Aws::Vector<GroupIdentifier>&& value) { m_groups = std::move(value); }
78 inline DescribeNetworkInterfaceAttributeResponse& AddGroups(const GroupIdentifier& value) { m_groups.push_back(value); return *this; }
79 inline DescribeNetworkInterfaceAttributeResponse& AddGroups(GroupIdentifier&& value) { m_groups.push_back(std::move(value)); return *this; }
81
83
86 inline const Aws::String& GetNetworkInterfaceId() const{ return m_networkInterfaceId; }
87 inline void SetNetworkInterfaceId(const Aws::String& value) { m_networkInterfaceId = value; }
88 inline void SetNetworkInterfaceId(Aws::String&& value) { m_networkInterfaceId = std::move(value); }
89 inline void SetNetworkInterfaceId(const char* value) { m_networkInterfaceId.assign(value); }
94
96
99 inline const AttributeBooleanValue& GetSourceDestCheck() const{ return m_sourceDestCheck; }
100 inline void SetSourceDestCheck(const AttributeBooleanValue& value) { m_sourceDestCheck = value; }
101 inline void SetSourceDestCheck(AttributeBooleanValue&& value) { m_sourceDestCheck = std::move(value); }
105
107
112 inline bool GetAssociatePublicIpAddress() const{ return m_associatePublicIpAddress; }
113 inline void SetAssociatePublicIpAddress(bool value) { m_associatePublicIpAddress = value; }
116
118
119 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
120 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
121 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
125 private:
126
127 NetworkInterfaceAttachment m_attachment;
128
129 AttributeValue m_description;
130
132
133 Aws::String m_networkInterfaceId;
134
135 AttributeBooleanValue m_sourceDestCheck;
136
137 bool m_associatePublicIpAddress;
138
139 ResponseMetadata m_responseMetadata;
140 };
141
142} // namespace Model
143} // namespace EC2
144} // namespace Aws
DescribeNetworkInterfaceAttributeResponse & WithNetworkInterfaceId(const char *value)
DescribeNetworkInterfaceAttributeResponse & WithAttachment(const NetworkInterfaceAttachment &value)
DescribeNetworkInterfaceAttributeResponse & WithGroups(const Aws::Vector< GroupIdentifier > &value)
DescribeNetworkInterfaceAttributeResponse & WithAttachment(NetworkInterfaceAttachment &&value)
DescribeNetworkInterfaceAttributeResponse & WithNetworkInterfaceId(Aws::String &&value)
DescribeNetworkInterfaceAttributeResponse & WithGroups(Aws::Vector< GroupIdentifier > &&value)
DescribeNetworkInterfaceAttributeResponse & WithResponseMetadata(const ResponseMetadata &value)
DescribeNetworkInterfaceAttributeResponse & WithSourceDestCheck(const AttributeBooleanValue &value)
DescribeNetworkInterfaceAttributeResponse & WithSourceDestCheck(AttributeBooleanValue &&value)
DescribeNetworkInterfaceAttributeResponse & AddGroups(const GroupIdentifier &value)
DescribeNetworkInterfaceAttributeResponse & WithNetworkInterfaceId(const Aws::String &value)
DescribeNetworkInterfaceAttributeResponse & WithAssociatePublicIpAddress(bool value)
AWS_EC2_API DescribeNetworkInterfaceAttributeResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeNetworkInterfaceAttributeResponse & WithDescription(const AttributeValue &value)
DescribeNetworkInterfaceAttributeResponse & AddGroups(GroupIdentifier &&value)
DescribeNetworkInterfaceAttributeResponse & WithDescription(AttributeValue &&value)
DescribeNetworkInterfaceAttributeResponse & WithResponseMetadata(ResponseMetadata &&value)
AWS_EC2_API DescribeNetworkInterfaceAttributeResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument