7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lightsail/Lightsail_EXPORTS.h>
38 template <
typename CodeT = Aws::String>
40 m_codeHasBeenSet =
true;
41 m_code = std::forward<CodeT>(value);
43 template <
typename CodeT = Aws::String>
45 SetCode(std::forward<CodeT>(value));
54 template <
typename DocsT = Aws::String>
56 m_docsHasBeenSet =
true;
57 m_docs = std::forward<DocsT>(value);
59 template <
typename DocsT = Aws::String>
61 SetDocs(std::forward<DocsT>(value));
70 template <
typename MessageT = Aws::String>
72 m_messageHasBeenSet =
true;
73 m_message = std::forward<MessageT>(value);
75 template <
typename MessageT = Aws::String>
86 template <
typename TipT = Aws::String>
88 m_tipHasBeenSet =
true;
89 m_tip = std::forward<TipT>(value);
91 template <
typename TipT = Aws::String>
93 SetTip(std::forward<TipT>(value));
105 bool m_codeHasBeenSet =
false;
106 bool m_docsHasBeenSet =
false;
107 bool m_messageHasBeenSet =
false;
108 bool m_tipHasBeenSet =
false;
ServiceException & WithTip(TipT &&value)
AWS_LIGHTSAIL_API ServiceException()=default
ServiceException & WithMessage(MessageT &&value)
const Aws::String & GetTip() const
AWS_LIGHTSAIL_API ServiceException(Aws::Utils::Json::JsonView jsonValue)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceException & WithDocs(DocsT &&value)
const Aws::String & GetDocs() const
bool MessageHasBeenSet() const
void SetMessage(MessageT &&value)
bool CodeHasBeenSet() const
bool TipHasBeenSet() const
void SetDocs(DocsT &&value)
const Aws::String & GetCode() const
void SetTip(TipT &&value)
void SetCode(CodeT &&value)
AWS_LIGHTSAIL_API ServiceException & operator=(Aws::Utils::Json::JsonView jsonValue)
bool DocsHasBeenSet() const
const Aws::String & GetMessage() const
ServiceException & WithCode(CodeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue