AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
SetInstanceProtectionResult.h
1
6#pragma once
7#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8#include <aws/autoscaling/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 AutoScaling {
22namespace Model {
24 public:
25 AWS_AUTOSCALING_API SetInstanceProtectionResult() = default;
28
30
31 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
32 template <typename ResponseMetadataT = ResponseMetadata>
33 void SetResponseMetadata(ResponseMetadataT&& value) {
34 m_responseMetadataHasBeenSet = true;
35 m_responseMetadata = std::forward<ResponseMetadataT>(value);
36 }
37 template <typename ResponseMetadataT = ResponseMetadata>
39 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
40 return *this;
41 }
43 private:
44 ResponseMetadata m_responseMetadata;
45 bool m_responseMetadataHasBeenSet = false;
46};
47
48} // namespace Model
49} // namespace AutoScaling
50} // namespace Aws
AWS_AUTOSCALING_API SetInstanceProtectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_AUTOSCALING_API SetInstanceProtectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
SetInstanceProtectionResult & WithResponseMetadata(ResponseMetadataT &&value)
AWS_AUTOSCALING_API SetInstanceProtectionResult()=default
Aws::Utils::Xml::XmlDocument XmlDocument