64 inline void SetErrorCode(
long value) { m_errorCodeHasBeenSet =
true; m_errorCode = value; }
110 inline void SetResponsePagePath(
const char* value) { m_responsePagePathHasBeenSet =
true; m_responsePagePath.assign(value); }
168 inline void SetResponseCode(
const char* value) { m_responseCodeHasBeenSet =
true; m_responseCode.assign(value); }
203 inline void SetErrorCachingMinTTL(
long long value) { m_errorCachingMinTTLHasBeenSet =
true; m_errorCachingMinTTL = value; }
214 bool m_errorCodeHasBeenSet;
216 bool m_responsePagePathHasBeenSet;
218 bool m_responseCodeHasBeenSet;
219 long long m_errorCachingMinTTL;
220 bool m_errorCachingMinTTLHasBeenSet;
CustomErrorResponse & WithErrorCode(long value)
void SetResponsePagePath(const Aws::String &value)
CustomErrorResponse & WithErrorCachingMinTTL(long long value)
void SetResponseCode(Aws::String &&value)
void SetResponseCode(const Aws::String &value)
CustomErrorResponse & WithResponsePagePath(Aws::String &&value)
void SetErrorCode(long value)
CustomErrorResponse & WithResponseCode(Aws::String &&value)
#define AWS_CLOUDFRONT_API
CustomErrorResponse & WithResponseCode(const Aws::String &value)
long long GetErrorCachingMinTTL() const
const Aws::String & GetResponsePagePath() const
CustomErrorResponse & WithResponseCode(const char *value)
const Aws::String & GetResponseCode() const
long GetErrorCode() const
CustomErrorResponse & WithResponsePagePath(const char *value)
void SetErrorCachingMinTTL(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
CustomErrorResponse & WithResponsePagePath(const Aws::String &value)
void SetResponseCode(const char *value)
void SetResponsePagePath(const char *value)
void SetResponsePagePath(Aws::String &&value)
JSON (JavaScript Object Notation).