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; }
84 inline void SetResponsePagePath(
const char* value) { m_responsePagePathHasBeenSet =
true; m_responsePagePath.assign(value); }
111 inline void SetResponseCode(
const char* value) { m_responseCodeHasBeenSet =
true; m_responseCode.assign(value); }
129 inline void SetErrorCachingMinTTL(
long long value) { m_errorCachingMinTTLHasBeenSet =
true; m_errorCachingMinTTL = value; }
135 bool m_errorCodeHasBeenSet =
false;
138 bool m_responsePagePathHasBeenSet =
false;
141 bool m_responseCodeHasBeenSet =
false;
143 long long m_errorCachingMinTTL;
144 bool m_errorCachingMinTTLHasBeenSet =
false;
long long GetErrorCachingMinTTL() const
void SetResponseCode(const char *value)
void SetResponseCode(const Aws::String &value)
bool ErrorCodeHasBeenSet() const
const Aws::String & GetResponsePagePath() const
CustomErrorResponse & WithErrorCode(int value)
void SetErrorCachingMinTTL(long long value)
CustomErrorResponse & WithResponsePagePath(const Aws::String &value)
void SetResponsePagePath(Aws::String &&value)
bool ErrorCachingMinTTLHasBeenSet() const
CustomErrorResponse & WithResponseCode(Aws::String &&value)
CustomErrorResponse & WithErrorCachingMinTTL(long long value)
void SetErrorCode(int value)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetResponseCode(Aws::String &&value)
bool ResponsePagePathHasBeenSet() const
bool ResponseCodeHasBeenSet() const
AWS_CLOUDFRONT_API CustomErrorResponse()
CustomErrorResponse & WithResponsePagePath(Aws::String &&value)
void SetResponsePagePath(const char *value)
AWS_CLOUDFRONT_API CustomErrorResponse(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetResponsePagePath(const Aws::String &value)
CustomErrorResponse & WithResponseCode(const Aws::String &value)
const Aws::String & GetResponseCode() const
AWS_CLOUDFRONT_API CustomErrorResponse & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
CustomErrorResponse & WithResponsePagePath(const char *value)
CustomErrorResponse & WithResponseCode(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String