AWS SDK for C++

AWS SDK for C++ Version 1.11.945

Loading...
Searching...
No Matches
UpdateTerminationProtectionResult.h
1
6#pragma once
7#include <aws/cloudformation/CloudFormation_EXPORTS.h>
8#include <aws/cloudformation/model/ResponseMetadata.h>
9#include <aws/core/http/HttpResponse.h>
10#include <aws/core/utils/memory/stl/AWSString.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 CloudFormation {
24namespace Model {
26 public:
27 AWS_CLOUDFORMATION_API UpdateTerminationProtectionResult() = default;
31
33
36 inline const Aws::String& GetStackId() const { return m_stackId; }
37 template <typename StackIdT = Aws::String>
38 void SetStackId(StackIdT&& value) {
39 m_stackIdHasBeenSet = true;
40 m_stackId = std::forward<StackIdT>(value);
41 }
42 template <typename StackIdT = Aws::String>
44 SetStackId(std::forward<StackIdT>(value));
45 return *this;
46 }
48
50
51 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
52 template <typename ResponseMetadataT = ResponseMetadata>
53 void SetResponseMetadata(ResponseMetadataT&& value) {
54 m_responseMetadataHasBeenSet = true;
55 m_responseMetadata = std::forward<ResponseMetadataT>(value);
56 }
57 template <typename ResponseMetadataT = ResponseMetadata>
59 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
60 return *this;
61 }
63 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
64
65 private:
66 Aws::String m_stackId;
67
68 ResponseMetadata m_responseMetadata;
69 Aws::Http::HttpResponseCode m_HttpResponseCode;
70 bool m_stackIdHasBeenSet = false;
71 bool m_responseMetadataHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace CloudFormation
76} // namespace Aws
UpdateTerminationProtectionResult & WithStackId(StackIdT &&value)
AWS_CLOUDFORMATION_API UpdateTerminationProtectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_CLOUDFORMATION_API UpdateTerminationProtectionResult()=default
AWS_CLOUDFORMATION_API UpdateTerminationProtectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
UpdateTerminationProtectionResult & WithResponseMetadata(ResponseMetadataT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument