AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
NotFoundException.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lightsail/Lightsail_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Lightsail {
20namespace Model {
21
29 public:
30 AWS_LIGHTSAIL_API NotFoundException() = default;
31 AWS_LIGHTSAIL_API NotFoundException(Aws::Utils::Json::JsonView jsonValue);
33 AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
37 inline const Aws::String& GetCode() const { return m_code; }
38 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
39 template <typename CodeT = Aws::String>
40 void SetCode(CodeT&& value) {
41 m_codeHasBeenSet = true;
42 m_code = std::forward<CodeT>(value);
43 }
44 template <typename CodeT = Aws::String>
45 NotFoundException& WithCode(CodeT&& value) {
46 SetCode(std::forward<CodeT>(value));
47 return *this;
48 }
50
52
53 inline const Aws::String& GetDocs() const { return m_docs; }
54 inline bool DocsHasBeenSet() const { return m_docsHasBeenSet; }
55 template <typename DocsT = Aws::String>
56 void SetDocs(DocsT&& value) {
57 m_docsHasBeenSet = true;
58 m_docs = std::forward<DocsT>(value);
59 }
60 template <typename DocsT = Aws::String>
61 NotFoundException& WithDocs(DocsT&& value) {
62 SetDocs(std::forward<DocsT>(value));
63 return *this;
64 }
66
68
69 inline const Aws::String& GetMessage() const { return m_message; }
70 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
71 template <typename MessageT = Aws::String>
72 void SetMessage(MessageT&& value) {
73 m_messageHasBeenSet = true;
74 m_message = std::forward<MessageT>(value);
75 }
76 template <typename MessageT = Aws::String>
77 NotFoundException& WithMessage(MessageT&& value) {
78 SetMessage(std::forward<MessageT>(value));
79 return *this;
80 }
82
84
85 inline const Aws::String& GetTip() const { return m_tip; }
86 inline bool TipHasBeenSet() const { return m_tipHasBeenSet; }
87 template <typename TipT = Aws::String>
88 void SetTip(TipT&& value) {
89 m_tipHasBeenSet = true;
90 m_tip = std::forward<TipT>(value);
91 }
92 template <typename TipT = Aws::String>
93 NotFoundException& WithTip(TipT&& value) {
94 SetTip(std::forward<TipT>(value));
95 return *this;
96 }
98 private:
99 Aws::String m_code;
100
101 Aws::String m_docs;
102
103 Aws::String m_message;
104
105 Aws::String m_tip;
106 bool m_codeHasBeenSet = false;
107 bool m_docsHasBeenSet = false;
108 bool m_messageHasBeenSet = false;
109 bool m_tipHasBeenSet = false;
110};
111
112} // namespace Model
113} // namespace Lightsail
114} // namespace Aws
AWS_LIGHTSAIL_API NotFoundException(Aws::Utils::Json::JsonView jsonValue)
NotFoundException & WithTip(TipT &&value)
NotFoundException & WithDocs(DocsT &&value)
AWS_LIGHTSAIL_API NotFoundException & operator=(Aws::Utils::Json::JsonView jsonValue)
NotFoundException & WithMessage(MessageT &&value)
AWS_LIGHTSAIL_API NotFoundException()=default
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
NotFoundException & WithCode(CodeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue