7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/elb-proxy/ELBProxy_EXPORTS.h>
30 AWS_ELBPROXY_API
ProxyStatusReason(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
32 AWS_ELBPROXY_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
40 template <
typename CodeT = Aws::String>
42 m_codeHasBeenSet =
true;
43 m_code = std::forward<CodeT>(value);
45 template <
typename CodeT = Aws::String>
47 SetCode(std::forward<CodeT>(value));
58 template <
typename TargetT = Aws::String>
60 m_targetHasBeenSet =
true;
61 m_target = std::forward<TargetT>(value);
63 template <
typename TargetT = Aws::String>
76 template <
typename MessageT = Aws::String>
78 m_messageHasBeenSet =
true;
79 m_message = std::forward<MessageT>(value);
81 template <
typename MessageT = Aws::String>
93 bool m_codeHasBeenSet =
false;
94 bool m_targetHasBeenSet =
false;
95 bool m_messageHasBeenSet =
false;
AWS_ELBPROXY_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
const Aws::String & GetTarget() const
bool MessageHasBeenSet() const
ProxyStatusReason & WithMessage(MessageT &&value)
void SetTarget(TargetT &&value)
void SetMessage(MessageT &&value)
bool TargetHasBeenSet() const
const Aws::String & GetCode() const
ProxyStatusReason & WithCode(CodeT &&value)
AWS_ELBPROXY_API ProxyStatusReason(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_ELBPROXY_API ProxyStatusReason()=default
const Aws::String & GetMessage() const
bool CodeHasBeenSet() const
void SetCode(CodeT &&value)
AWS_ELBPROXY_API ProxyStatusReason & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
ProxyStatusReason & WithTarget(TargetT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String