AWS SDK for C++

AWS SDK for C++ Version 1.11.945

Loading...
Searching...
No Matches
DetectStackDriftResult.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 DetectStackDriftResult() = default;
30
32
38 inline const Aws::String& GetStackDriftDetectionId() const { return m_stackDriftDetectionId; }
39 template <typename StackDriftDetectionIdT = Aws::String>
40 void SetStackDriftDetectionId(StackDriftDetectionIdT&& value) {
41 m_stackDriftDetectionIdHasBeenSet = true;
42 m_stackDriftDetectionId = std::forward<StackDriftDetectionIdT>(value);
43 }
44 template <typename StackDriftDetectionIdT = Aws::String>
45 DetectStackDriftResult& WithStackDriftDetectionId(StackDriftDetectionIdT&& value) {
46 SetStackDriftDetectionId(std::forward<StackDriftDetectionIdT>(value));
47 return *this;
48 }
50
52
53 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
54 template <typename ResponseMetadataT = ResponseMetadata>
55 void SetResponseMetadata(ResponseMetadataT&& value) {
56 m_responseMetadataHasBeenSet = true;
57 m_responseMetadata = std::forward<ResponseMetadataT>(value);
58 }
59 template <typename ResponseMetadataT = ResponseMetadata>
60 DetectStackDriftResult& WithResponseMetadata(ResponseMetadataT&& value) {
61 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
62 return *this;
63 }
65 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
66
67 private:
68 Aws::String m_stackDriftDetectionId;
69
70 ResponseMetadata m_responseMetadata;
71 Aws::Http::HttpResponseCode m_HttpResponseCode;
72 bool m_stackDriftDetectionIdHasBeenSet = false;
73 bool m_responseMetadataHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace CloudFormation
78} // namespace Aws
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetStackDriftDetectionId(StackDriftDetectionIdT &&value)
DetectStackDriftResult & WithStackDriftDetectionId(StackDriftDetectionIdT &&value)
AWS_CLOUDFORMATION_API DetectStackDriftResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_CLOUDFORMATION_API DetectStackDriftResult()=default
DetectStackDriftResult & WithResponseMetadata(ResponseMetadataT &&value)
AWS_CLOUDFORMATION_API DetectStackDriftResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument