7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
49 m_errorCodeHasBeenSet =
true;
82 template <
typename ResponsePagePathT = Aws::String>
84 m_responsePagePathHasBeenSet =
true;
85 m_responsePagePath = std::forward<ResponsePagePathT>(value);
87 template <
typename ResponsePagePathT = Aws::String>
113 template <
typename ResponseCodeT = Aws::String>
115 m_responseCodeHasBeenSet =
true;
116 m_responseCode = std::forward<ResponseCodeT>(value);
118 template <
typename ResponseCodeT = Aws::String>
138 m_errorCachingMinTTLHasBeenSet =
true;
139 m_errorCachingMinTTL = value;
153 long long m_errorCachingMinTTL{0};
154 bool m_errorCodeHasBeenSet =
false;
155 bool m_responsePagePathHasBeenSet =
false;
156 bool m_responseCodeHasBeenSet =
false;
157 bool m_errorCachingMinTTLHasBeenSet =
false;
long long GetErrorCachingMinTTL() const
bool ErrorCodeHasBeenSet() const
const Aws::String & GetResponsePagePath() const
CustomErrorResponse & WithErrorCode(int value)
void SetErrorCachingMinTTL(long long value)
bool ErrorCachingMinTTLHasBeenSet() const
void SetResponseCode(ResponseCodeT &&value)
CustomErrorResponse & WithErrorCachingMinTTL(long long value)
void SetErrorCode(int value)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
bool ResponsePagePathHasBeenSet() const
bool ResponseCodeHasBeenSet() const
CustomErrorResponse & WithResponseCode(ResponseCodeT &&value)
void SetResponsePagePath(ResponsePagePathT &&value)
AWS_CLOUDFRONT_API CustomErrorResponse(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetResponseCode() const
AWS_CLOUDFRONT_API CustomErrorResponse()=default
CustomErrorResponse & WithResponsePagePath(ResponsePagePathT &&value)
AWS_CLOUDFRONT_API CustomErrorResponse & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String