7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
54 inline void SetErrorCode(
int value) { m_errorCodeHasBeenSet =
true; m_errorCode = value; }
82 template<
typename ResponsePagePathT = Aws::String>
83 void SetResponsePagePath(ResponsePagePathT&& value) { m_responsePagePathHasBeenSet =
true; m_responsePagePath = std::forward<ResponsePagePathT>(value); }
84 template<
typename ResponsePagePathT = Aws::String>
107 template<
typename ResponseCodeT = Aws::String>
108 void SetResponseCode(ResponseCodeT&& value) { m_responseCodeHasBeenSet =
true; m_responseCode = std::forward<ResponseCodeT>(value); }
109 template<
typename ResponseCodeT = Aws::String>
125 inline void SetErrorCachingMinTTL(
long long value) { m_errorCachingMinTTLHasBeenSet =
true; m_errorCachingMinTTL = value; }
131 bool m_errorCodeHasBeenSet =
false;
134 bool m_responsePagePathHasBeenSet =
false;
137 bool m_responseCodeHasBeenSet =
false;
139 long long m_errorCachingMinTTL{0};
140 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