7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lightsail/Lightsail_EXPORTS.h>
45 m_errorCodeHasBeenSet =
true;
61 template <
typename ResponseCodeT = Aws::String>
63 m_responseCodeHasBeenSet =
true;
64 m_responseCode = std::forward<ResponseCodeT>(value);
66 template <
typename ResponseCodeT = Aws::String>
81 template <
typename ResponsePagePathT = Aws::String>
83 m_responsePagePathHasBeenSet =
true;
84 m_responsePagePath = std::forward<ResponsePagePathT>(value);
86 template <
typename ResponsePagePathT = Aws::String>
102 m_errorCachingMinTTLHasBeenSet =
true;
103 m_errorCachingMinTTL = value;
117 long long m_errorCachingMinTTL{0};
118 bool m_errorCodeHasBeenSet =
false;
119 bool m_responseCodeHasBeenSet =
false;
120 bool m_responsePagePathHasBeenSet =
false;
121 bool m_errorCachingMinTTLHasBeenSet =
false;
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetErrorCode(int value)
const Aws::String & GetResponsePagePath() const
AWS_LIGHTSAIL_API DistributionCustomErrorResponse()=default
void SetErrorCachingMinTTL(long long value)
bool ResponseCodeHasBeenSet() const
DistributionCustomErrorResponse & WithErrorCode(int value)
DistributionCustomErrorResponse & WithResponsePagePath(ResponsePagePathT &&value)
void SetResponsePagePath(ResponsePagePathT &&value)
AWS_LIGHTSAIL_API DistributionCustomErrorResponse(Aws::Utils::Json::JsonView jsonValue)
AWS_LIGHTSAIL_API DistributionCustomErrorResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ErrorCodeHasBeenSet() const
bool ResponsePagePathHasBeenSet() const
DistributionCustomErrorResponse & WithErrorCachingMinTTL(long long value)
const Aws::String & GetResponseCode() const
void SetResponseCode(ResponseCodeT &&value)
DistributionCustomErrorResponse & WithResponseCode(ResponseCodeT &&value)
long long GetErrorCachingMinTTL() const
bool ErrorCachingMinTTLHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue