AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AttachNetworkInterfaceResponse.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/model/ResponseMetadata.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Xml
20{
21 class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace EC2
25{
26namespace Model
27{
34 {
35 public:
39
40
42
45 inline const Aws::String& GetAttachmentId() const{ return m_attachmentId; }
46 inline void SetAttachmentId(const Aws::String& value) { m_attachmentId = value; }
47 inline void SetAttachmentId(Aws::String&& value) { m_attachmentId = std::move(value); }
48 inline void SetAttachmentId(const char* value) { m_attachmentId.assign(value); }
49 inline AttachNetworkInterfaceResponse& WithAttachmentId(const Aws::String& value) { SetAttachmentId(value); return *this;}
50 inline AttachNetworkInterfaceResponse& WithAttachmentId(Aws::String&& value) { SetAttachmentId(std::move(value)); return *this;}
51 inline AttachNetworkInterfaceResponse& WithAttachmentId(const char* value) { SetAttachmentId(value); return *this;}
53
55
58 inline int GetNetworkCardIndex() const{ return m_networkCardIndex; }
59 inline void SetNetworkCardIndex(int value) { m_networkCardIndex = value; }
62
64
65 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
66 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
67 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
71 private:
72
73 Aws::String m_attachmentId;
74
75 int m_networkCardIndex;
76
77 ResponseMetadata m_responseMetadata;
78 };
79
80} // namespace Model
81} // namespace EC2
82} // namespace Aws
AttachNetworkInterfaceResponse & WithAttachmentId(Aws::String &&value)
AttachNetworkInterfaceResponse & WithNetworkCardIndex(int value)
AWS_EC2_API AttachNetworkInterfaceResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AttachNetworkInterfaceResponse & WithAttachmentId(const char *value)
AttachNetworkInterfaceResponse & WithResponseMetadata(const ResponseMetadata &value)
AttachNetworkInterfaceResponse & WithResponseMetadata(ResponseMetadata &&value)
AttachNetworkInterfaceResponse & WithAttachmentId(const Aws::String &value)
AWS_EC2_API AttachNetworkInterfaceResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument