AWS SDK for C++  1.9.126
AWS SDK for C++
AssociateAddressResponse.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Xml
20 {
21  class XmlDocument;
22 } // namespace Xml
23 } // namespace Utils
24 namespace EC2
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
40  inline const Aws::String& GetAssociationId() const{ return m_associationId; }
41 
46  inline void SetAssociationId(const Aws::String& value) { m_associationId = value; }
47 
52  inline void SetAssociationId(Aws::String&& value) { m_associationId = std::move(value); }
53 
58  inline void SetAssociationId(const char* value) { m_associationId.assign(value); }
59 
64  inline AssociateAddressResponse& WithAssociationId(const Aws::String& value) { SetAssociationId(value); return *this;}
65 
70  inline AssociateAddressResponse& WithAssociationId(Aws::String&& value) { SetAssociationId(std::move(value)); return *this;}
71 
76  inline AssociateAddressResponse& WithAssociationId(const char* value) { SetAssociationId(value); return *this;}
77 
78 
79 
80  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
81 
82 
83  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
84 
85 
86  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
87 
88 
89  inline AssociateAddressResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
90 
91 
92  inline AssociateAddressResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
93 
94  private:
95 
96  Aws::String m_associationId;
97 
98  ResponseMetadata m_responseMetadata;
99  };
100 
101 } // namespace Model
102 } // namespace EC2
103 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::AssociateAddressResponse::SetAssociationId
void SetAssociationId(Aws::String &&value)
Definition: AssociateAddressResponse.h:52
Aws::EC2::Model::AssociateAddressResponse::AssociateAddressResponse
AssociateAddressResponse()
Aws::EC2::Model::AssociateAddressResponse::WithAssociationId
AssociateAddressResponse & WithAssociationId(const Aws::String &value)
Definition: AssociateAddressResponse.h:64
Aws::EC2::Model::AssociateAddressResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: AssociateAddressResponse.h:86
Aws::EC2::Model::AssociateAddressResponse::WithResponseMetadata
AssociateAddressResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: AssociateAddressResponse.h:92
Aws::EC2::Model::AssociateAddressResponse
Definition: AssociateAddressResponse.h:29
Aws::EC2::Model::AssociateAddressResponse::WithResponseMetadata
AssociateAddressResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: AssociateAddressResponse.h:89
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
ResponseMetadata.h
Aws::EC2::Model::AssociateAddressResponse::AssociateAddressResponse
AssociateAddressResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::AssociateAddressResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: AssociateAddressResponse.h:83
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
AWSString.h
Aws::EC2::Model::AssociateAddressResponse::SetAssociationId
void SetAssociationId(const Aws::String &value)
Definition: AssociateAddressResponse.h:46
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::AssociateAddressResponse::WithAssociationId
AssociateAddressResponse & WithAssociationId(Aws::String &&value)
Definition: AssociateAddressResponse.h:70
Aws::EC2::Model::AssociateAddressResponse::operator=
AssociateAddressResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::AssociateAddressResponse::WithAssociationId
AssociateAddressResponse & WithAssociationId(const char *value)
Definition: AssociateAddressResponse.h:76
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::AssociateAddressResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: AssociateAddressResponse.h:80
Aws::EC2::Model::AssociateAddressResponse::GetAssociationId
const Aws::String & GetAssociationId() const
Definition: AssociateAddressResponse.h:40
Aws::EC2::Model::AssociateAddressResponse::SetAssociationId
void SetAssociationId(const char *value)
Definition: AssociateAddressResponse.h:58
EC2_EXPORTS.h