AWS SDK for C++

AWS SDK for C++ Version 1.11.757

Loading...
Searching...
No Matches
EnableImageDeregistrationProtectionResponse.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10#include <aws/ec2/model/ResponseMetadata.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Xml {
20class XmlDocument;
21} // namespace Xml
22} // namespace Utils
23namespace EC2 {
24namespace Model {
26 public:
31
33
37 inline const Aws::String& GetReturn() const { return m_return; }
38 template <typename ReturnT = Aws::String>
39 void SetReturn(ReturnT&& value) {
40 m_returnHasBeenSet = true;
41 m_return = std::forward<ReturnT>(value);
42 }
43 template <typename ReturnT = Aws::String>
45 SetReturn(std::forward<ReturnT>(value));
46 return *this;
47 }
49
51
52 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
53 template <typename ResponseMetadataT = ResponseMetadata>
54 void SetResponseMetadata(ResponseMetadataT&& value) {
55 m_responseMetadataHasBeenSet = true;
56 m_responseMetadata = std::forward<ResponseMetadataT>(value);
57 }
58 template <typename ResponseMetadataT = ResponseMetadata>
60 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
61 return *this;
62 }
64 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
65
66 private:
67 Aws::String m_return;
68
69 ResponseMetadata m_responseMetadata;
70 Aws::Http::HttpResponseCode m_HttpResponseCode;
71 bool m_returnHasBeenSet = false;
72 bool m_responseMetadataHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace EC2
77} // namespace Aws
AWS_EC2_API EnableImageDeregistrationProtectionResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
EnableImageDeregistrationProtectionResponse & WithReturn(ReturnT &&value)
AWS_EC2_API EnableImageDeregistrationProtectionResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
EnableImageDeregistrationProtectionResponse & WithResponseMetadata(ResponseMetadataT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument