AWS SDK for C++  1.9.75
AWS SDK for C++
DescribeNetworkInterfaceAttributeResponse.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
15 #include <utility>
16 
17 namespace Aws
18 {
19 template<typename RESULT_TYPE>
20 class AmazonWebServiceResult;
21 
22 namespace Utils
23 {
24 namespace Xml
25 {
26  class XmlDocument;
27 } // namespace Xml
28 } // namespace Utils
29 namespace EC2
30 {
31 namespace Model
32 {
40  {
41  public:
45 
46 
50  inline const NetworkInterfaceAttachment& GetAttachment() const{ return m_attachment; }
51 
55  inline void SetAttachment(const NetworkInterfaceAttachment& value) { m_attachment = value; }
56 
60  inline void SetAttachment(NetworkInterfaceAttachment&& value) { m_attachment = std::move(value); }
61 
65  inline DescribeNetworkInterfaceAttributeResponse& WithAttachment(const NetworkInterfaceAttachment& value) { SetAttachment(value); return *this;}
66 
70  inline DescribeNetworkInterfaceAttributeResponse& WithAttachment(NetworkInterfaceAttachment&& value) { SetAttachment(std::move(value)); return *this;}
71 
72 
76  inline const AttributeValue& GetDescription() const{ return m_description; }
77 
81  inline void SetDescription(const AttributeValue& value) { m_description = value; }
82 
86  inline void SetDescription(AttributeValue&& value) { m_description = std::move(value); }
87 
91  inline DescribeNetworkInterfaceAttributeResponse& WithDescription(const AttributeValue& value) { SetDescription(value); return *this;}
92 
96  inline DescribeNetworkInterfaceAttributeResponse& WithDescription(AttributeValue&& value) { SetDescription(std::move(value)); return *this;}
97 
98 
102  inline const Aws::Vector<GroupIdentifier>& GetGroups() const{ return m_groups; }
103 
107  inline void SetGroups(const Aws::Vector<GroupIdentifier>& value) { m_groups = value; }
108 
112  inline void SetGroups(Aws::Vector<GroupIdentifier>&& value) { m_groups = std::move(value); }
113 
117  inline DescribeNetworkInterfaceAttributeResponse& WithGroups(const Aws::Vector<GroupIdentifier>& value) { SetGroups(value); return *this;}
118 
122  inline DescribeNetworkInterfaceAttributeResponse& WithGroups(Aws::Vector<GroupIdentifier>&& value) { SetGroups(std::move(value)); return *this;}
123 
127  inline DescribeNetworkInterfaceAttributeResponse& AddGroups(const GroupIdentifier& value) { m_groups.push_back(value); return *this; }
128 
132  inline DescribeNetworkInterfaceAttributeResponse& AddGroups(GroupIdentifier&& value) { m_groups.push_back(std::move(value)); return *this; }
133 
134 
138  inline const Aws::String& GetNetworkInterfaceId() const{ return m_networkInterfaceId; }
139 
143  inline void SetNetworkInterfaceId(const Aws::String& value) { m_networkInterfaceId = value; }
144 
148  inline void SetNetworkInterfaceId(Aws::String&& value) { m_networkInterfaceId = std::move(value); }
149 
153  inline void SetNetworkInterfaceId(const char* value) { m_networkInterfaceId.assign(value); }
154 
158  inline DescribeNetworkInterfaceAttributeResponse& WithNetworkInterfaceId(const Aws::String& value) { SetNetworkInterfaceId(value); return *this;}
159 
163  inline DescribeNetworkInterfaceAttributeResponse& WithNetworkInterfaceId(Aws::String&& value) { SetNetworkInterfaceId(std::move(value)); return *this;}
164 
168  inline DescribeNetworkInterfaceAttributeResponse& WithNetworkInterfaceId(const char* value) { SetNetworkInterfaceId(value); return *this;}
169 
170 
174  inline const AttributeBooleanValue& GetSourceDestCheck() const{ return m_sourceDestCheck; }
175 
179  inline void SetSourceDestCheck(const AttributeBooleanValue& value) { m_sourceDestCheck = value; }
180 
184  inline void SetSourceDestCheck(AttributeBooleanValue&& value) { m_sourceDestCheck = std::move(value); }
185 
189  inline DescribeNetworkInterfaceAttributeResponse& WithSourceDestCheck(const AttributeBooleanValue& value) { SetSourceDestCheck(value); return *this;}
190 
194  inline DescribeNetworkInterfaceAttributeResponse& WithSourceDestCheck(AttributeBooleanValue&& value) { SetSourceDestCheck(std::move(value)); return *this;}
195 
196 
197 
198  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
199 
200 
201  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
202 
203 
204  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
205 
206 
207  inline DescribeNetworkInterfaceAttributeResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
208 
209 
210  inline DescribeNetworkInterfaceAttributeResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
211 
212  private:
213 
214  NetworkInterfaceAttachment m_attachment;
215 
216  AttributeValue m_description;
217 
219 
220  Aws::String m_networkInterfaceId;
221 
222  AttributeBooleanValue m_sourceDestCheck;
223 
224  ResponseMetadata m_responseMetadata;
225  };
226 
227 } // namespace Model
228 } // namespace EC2
229 } // namespace Aws
AttributeBooleanValue.h
Aws::EC2::Model::DescribeNetworkInterfaceAttributeResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DescribeNetworkInterfaceAttributeResponse.h:201
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::DescribeNetworkInterfaceAttributeResponse::GetDescription
const AttributeValue & GetDescription() const
Definition: DescribeNetworkInterfaceAttributeResponse.h:76
Aws::EC2::Model::DescribeNetworkInterfaceAttributeResponse::GetSourceDestCheck
const AttributeBooleanValue & GetSourceDestCheck() const
Definition: DescribeNetworkInterfaceAttributeResponse.h:174
Aws::EC2::Model::DescribeNetworkInterfaceAttributeResponse::SetAttachment
void SetAttachment(NetworkInterfaceAttachment &&value)
Definition: DescribeNetworkInterfaceAttributeResponse.h:60
AttributeValue.h
Aws::EC2::Model::DescribeNetworkInterfaceAttributeResponse::WithDescription
DescribeNetworkInterfaceAttributeResponse & WithDescription(AttributeValue &&value)
Definition: DescribeNetworkInterfaceAttributeResponse.h:96
GroupIdentifier.h
Aws::EC2::Model::DescribeNetworkInterfaceAttributeResponse::WithSourceDestCheck
DescribeNetworkInterfaceAttributeResponse & WithSourceDestCheck(AttributeBooleanValue &&value)
Definition: DescribeNetworkInterfaceAttributeResponse.h:194
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::DescribeNetworkInterfaceAttributeResponse::SetNetworkInterfaceId
void SetNetworkInterfaceId(const char *value)
Definition: DescribeNetworkInterfaceAttributeResponse.h:153
ResponseMetadata.h
Aws::EC2::Model::DescribeNetworkInterfaceAttributeResponse::operator=
DescribeNetworkInterfaceAttributeResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::EC2::Model::DescribeNetworkInterfaceAttributeResponse::WithNetworkInterfaceId
DescribeNetworkInterfaceAttributeResponse & WithNetworkInterfaceId(Aws::String &&value)
Definition: DescribeNetworkInterfaceAttributeResponse.h:163
Aws::EC2::Model::DescribeNetworkInterfaceAttributeResponse::SetAttachment
void SetAttachment(const NetworkInterfaceAttachment &value)
Definition: DescribeNetworkInterfaceAttributeResponse.h:55
Aws::EC2::Model::DescribeNetworkInterfaceAttributeResponse::WithNetworkInterfaceId
DescribeNetworkInterfaceAttributeResponse & WithNetworkInterfaceId(const Aws::String &value)
Definition: DescribeNetworkInterfaceAttributeResponse.h:158
Aws::EC2::Model::DescribeNetworkInterfaceAttributeResponse::SetDescription
void SetDescription(const AttributeValue &value)
Definition: DescribeNetworkInterfaceAttributeResponse.h:81
Aws::EC2::Model::AttributeValue
Definition: AttributeValue.h:33
Aws::EC2::Model::DescribeNetworkInterfaceAttributeResponse
Definition: DescribeNetworkInterfaceAttributeResponse.h:40
Aws::EC2::Model::DescribeNetworkInterfaceAttributeResponse::SetGroups
void SetGroups(const Aws::Vector< GroupIdentifier > &value)
Definition: DescribeNetworkInterfaceAttributeResponse.h:107
Aws::EC2::Model::DescribeNetworkInterfaceAttributeResponse::WithResponseMetadata
DescribeNetworkInterfaceAttributeResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: DescribeNetworkInterfaceAttributeResponse.h:210
Aws::EC2::Model::DescribeNetworkInterfaceAttributeResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DescribeNetworkInterfaceAttributeResponse.h:204
Aws::EC2::Model::DescribeNetworkInterfaceAttributeResponse::SetGroups
void SetGroups(Aws::Vector< GroupIdentifier > &&value)
Definition: DescribeNetworkInterfaceAttributeResponse.h:112
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
AWSString.h
Aws::EC2::Model::DescribeNetworkInterfaceAttributeResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DescribeNetworkInterfaceAttributeResponse.h:198
Aws::EC2::Model::DescribeNetworkInterfaceAttributeResponse::SetDescription
void SetDescription(AttributeValue &&value)
Definition: DescribeNetworkInterfaceAttributeResponse.h:86
Aws::EC2::Model::DescribeNetworkInterfaceAttributeResponse::WithSourceDestCheck
DescribeNetworkInterfaceAttributeResponse & WithSourceDestCheck(const AttributeBooleanValue &value)
Definition: DescribeNetworkInterfaceAttributeResponse.h:189
Aws::EC2::Model::GroupIdentifier
Definition: GroupIdentifier.h:32
Aws::EC2::Model::DescribeNetworkInterfaceAttributeResponse::DescribeNetworkInterfaceAttributeResponse
DescribeNetworkInterfaceAttributeResponse()
Aws::EC2::Model::DescribeNetworkInterfaceAttributeResponse::WithAttachment
DescribeNetworkInterfaceAttributeResponse & WithAttachment(NetworkInterfaceAttachment &&value)
Definition: DescribeNetworkInterfaceAttributeResponse.h:70
Aws::EC2::Model::NetworkInterfaceAttachment
Definition: NetworkInterfaceAttachment.h:34
Aws::EC2::Model::DescribeNetworkInterfaceAttributeResponse::DescribeNetworkInterfaceAttributeResponse
DescribeNetworkInterfaceAttributeResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::DescribeNetworkInterfaceAttributeResponse::WithNetworkInterfaceId
DescribeNetworkInterfaceAttributeResponse & WithNetworkInterfaceId(const char *value)
Definition: DescribeNetworkInterfaceAttributeResponse.h:168
Aws::EC2::Model::DescribeNetworkInterfaceAttributeResponse::AddGroups
DescribeNetworkInterfaceAttributeResponse & AddGroups(const GroupIdentifier &value)
Definition: DescribeNetworkInterfaceAttributeResponse.h:127
Aws::EC2::Model::AttributeBooleanValue
Definition: AttributeBooleanValue.h:31
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::DescribeNetworkInterfaceAttributeResponse::SetSourceDestCheck
void SetSourceDestCheck(AttributeBooleanValue &&value)
Definition: DescribeNetworkInterfaceAttributeResponse.h:184
Aws::EC2::Model::DescribeNetworkInterfaceAttributeResponse::WithAttachment
DescribeNetworkInterfaceAttributeResponse & WithAttachment(const NetworkInterfaceAttachment &value)
Definition: DescribeNetworkInterfaceAttributeResponse.h:65
Aws::EC2::Model::DescribeNetworkInterfaceAttributeResponse::GetGroups
const Aws::Vector< GroupIdentifier > & GetGroups() const
Definition: DescribeNetworkInterfaceAttributeResponse.h:102
Aws::EC2::Model::DescribeNetworkInterfaceAttributeResponse::SetNetworkInterfaceId
void SetNetworkInterfaceId(Aws::String &&value)
Definition: DescribeNetworkInterfaceAttributeResponse.h:148
Aws::EC2::Model::DescribeNetworkInterfaceAttributeResponse::WithGroups
DescribeNetworkInterfaceAttributeResponse & WithGroups(Aws::Vector< GroupIdentifier > &&value)
Definition: DescribeNetworkInterfaceAttributeResponse.h:122
Aws::EC2::Model::DescribeNetworkInterfaceAttributeResponse::WithGroups
DescribeNetworkInterfaceAttributeResponse & WithGroups(const Aws::Vector< GroupIdentifier > &value)
Definition: DescribeNetworkInterfaceAttributeResponse.h:117
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::DescribeNetworkInterfaceAttributeResponse::SetNetworkInterfaceId
void SetNetworkInterfaceId(const Aws::String &value)
Definition: DescribeNetworkInterfaceAttributeResponse.h:143
Aws::EC2::Model::DescribeNetworkInterfaceAttributeResponse::GetAttachment
const NetworkInterfaceAttachment & GetAttachment() const
Definition: DescribeNetworkInterfaceAttributeResponse.h:50
Aws::EC2::Model::DescribeNetworkInterfaceAttributeResponse::GetNetworkInterfaceId
const Aws::String & GetNetworkInterfaceId() const
Definition: DescribeNetworkInterfaceAttributeResponse.h:138
NetworkInterfaceAttachment.h
Aws::EC2::Model::DescribeNetworkInterfaceAttributeResponse::WithDescription
DescribeNetworkInterfaceAttributeResponse & WithDescription(const AttributeValue &value)
Definition: DescribeNetworkInterfaceAttributeResponse.h:91
Aws::EC2::Model::DescribeNetworkInterfaceAttributeResponse::WithResponseMetadata
DescribeNetworkInterfaceAttributeResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: DescribeNetworkInterfaceAttributeResponse.h:207
EC2_EXPORTS.h
Aws::EC2::Model::DescribeNetworkInterfaceAttributeResponse::AddGroups
DescribeNetworkInterfaceAttributeResponse & AddGroups(GroupIdentifier &&value)
Definition: DescribeNetworkInterfaceAttributeResponse.h:132
Aws::EC2::Model::DescribeNetworkInterfaceAttributeResponse::SetSourceDestCheck
void SetSourceDestCheck(const AttributeBooleanValue &value)
Definition: DescribeNetworkInterfaceAttributeResponse.h:179