AWS SDK for C++

AWS SDK for C++ Version 1.11.945

Loading...
Searching...
No Matches
EstimateTemplateCostResult.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 {
32 public:
33 AWS_CLOUDFORMATION_API EstimateTemplateCostResult() = default;
36
38
42 inline const Aws::String& GetUrl() const { return m_url; }
43 template <typename UrlT = Aws::String>
44 void SetUrl(UrlT&& value) {
45 m_urlHasBeenSet = true;
46 m_url = std::forward<UrlT>(value);
47 }
48 template <typename UrlT = Aws::String>
50 SetUrl(std::forward<UrlT>(value));
51 return *this;
52 }
54
56
57 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
58 template <typename ResponseMetadataT = ResponseMetadata>
59 void SetResponseMetadata(ResponseMetadataT&& value) {
60 m_responseMetadataHasBeenSet = true;
61 m_responseMetadata = std::forward<ResponseMetadataT>(value);
62 }
63 template <typename ResponseMetadataT = ResponseMetadata>
65 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
66 return *this;
67 }
69 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
70
71 private:
72 Aws::String m_url;
73
74 ResponseMetadata m_responseMetadata;
75 Aws::Http::HttpResponseCode m_HttpResponseCode;
76 bool m_urlHasBeenSet = false;
77 bool m_responseMetadataHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace CloudFormation
82} // namespace Aws
AWS_CLOUDFORMATION_API EstimateTemplateCostResult()=default
AWS_CLOUDFORMATION_API EstimateTemplateCostResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_CLOUDFORMATION_API EstimateTemplateCostResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
EstimateTemplateCostResult & WithResponseMetadata(ResponseMetadataT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument