AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssociateAddressResponse.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{
29 {
30 public:
34
35
37
41 inline const Aws::String& GetAssociationId() const{ return m_associationId; }
42 inline void SetAssociationId(const Aws::String& value) { m_associationId = value; }
43 inline void SetAssociationId(Aws::String&& value) { m_associationId = std::move(value); }
44 inline void SetAssociationId(const char* value) { m_associationId.assign(value); }
45 inline AssociateAddressResponse& WithAssociationId(const Aws::String& value) { SetAssociationId(value); return *this;}
46 inline AssociateAddressResponse& WithAssociationId(Aws::String&& value) { SetAssociationId(std::move(value)); return *this;}
47 inline AssociateAddressResponse& WithAssociationId(const char* value) { SetAssociationId(value); return *this;}
49
51
52 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
53 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
54 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
56 inline AssociateAddressResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
58 private:
59
60 Aws::String m_associationId;
61
62 ResponseMetadata m_responseMetadata;
63 };
64
65} // namespace Model
66} // namespace EC2
67} // namespace Aws
AssociateAddressResponse & WithResponseMetadata(const ResponseMetadata &value)
AWS_EC2_API AssociateAddressResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const ResponseMetadata & GetResponseMetadata() const
AWS_EC2_API AssociateAddressResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AssociateAddressResponse & WithResponseMetadata(ResponseMetadata &&value)
AssociateAddressResponse & WithAssociationId(const Aws::String &value)
void SetResponseMetadata(ResponseMetadata &&value)
AssociateAddressResponse & WithAssociationId(const char *value)
void SetResponseMetadata(const ResponseMetadata &value)
AssociateAddressResponse & WithAssociationId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument