AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ReleaseIpamPoolAllocationResponse.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/model/ResponseMetadata.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Xml {
18class XmlDocument;
19} // namespace Xml
20} // namespace Utils
21namespace EC2 {
22namespace Model {
24 public:
25 AWS_EC2_API ReleaseIpamPoolAllocationResponse() = default;
28
30
33 inline bool GetSuccess() const { return m_success; }
34 inline void SetSuccess(bool value) {
35 m_successHasBeenSet = true;
36 m_success = value;
37 }
39 SetSuccess(value);
40 return *this;
41 }
43
45
46 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
47 template <typename ResponseMetadataT = ResponseMetadata>
48 void SetResponseMetadata(ResponseMetadataT&& value) {
49 m_responseMetadataHasBeenSet = true;
50 m_responseMetadata = std::forward<ResponseMetadataT>(value);
51 }
52 template <typename ResponseMetadataT = ResponseMetadata>
54 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
55 return *this;
56 }
58 private:
59 bool m_success{false};
60
61 ResponseMetadata m_responseMetadata;
62 bool m_successHasBeenSet = false;
63 bool m_responseMetadataHasBeenSet = false;
64};
65
66} // namespace Model
67} // namespace EC2
68} // namespace Aws
AWS_EC2_API ReleaseIpamPoolAllocationResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ReleaseIpamPoolAllocationResponse & WithSuccess(bool value)
ReleaseIpamPoolAllocationResponse & WithResponseMetadata(ResponseMetadataT &&value)
AWS_EC2_API ReleaseIpamPoolAllocationResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Utils::Xml::XmlDocument XmlDocument