AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
InvalidInputException.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
33 public:
34 AWS_LIGHTSAIL_API InvalidInputException() = default;
37 AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
41 inline const Aws::String& GetCode() const { return m_code; }
42 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
43 template <typename CodeT = Aws::String>
44 void SetCode(CodeT&& value) {
45 m_codeHasBeenSet = true;
46 m_code = std::forward<CodeT>(value);
47 }
48 template <typename CodeT = Aws::String>
50 SetCode(std::forward<CodeT>(value));
51 return *this;
52 }
54
56
57 inline const Aws::String& GetDocs() const { return m_docs; }
58 inline bool DocsHasBeenSet() const { return m_docsHasBeenSet; }
59 template <typename DocsT = Aws::String>
60 void SetDocs(DocsT&& value) {
61 m_docsHasBeenSet = true;
62 m_docs = std::forward<DocsT>(value);
63 }
64 template <typename DocsT = Aws::String>
66 SetDocs(std::forward<DocsT>(value));
67 return *this;
68 }
70
72
73 inline const Aws::String& GetMessage() const { return m_message; }
74 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
75 template <typename MessageT = Aws::String>
76 void SetMessage(MessageT&& value) {
77 m_messageHasBeenSet = true;
78 m_message = std::forward<MessageT>(value);
79 }
80 template <typename MessageT = Aws::String>
82 SetMessage(std::forward<MessageT>(value));
83 return *this;
84 }
86
88
89 inline const Aws::String& GetTip() const { return m_tip; }
90 inline bool TipHasBeenSet() const { return m_tipHasBeenSet; }
91 template <typename TipT = Aws::String>
92 void SetTip(TipT&& value) {
93 m_tipHasBeenSet = true;
94 m_tip = std::forward<TipT>(value);
95 }
96 template <typename TipT = Aws::String>
98 SetTip(std::forward<TipT>(value));
99 return *this;
100 }
102 private:
103 Aws::String m_code;
104
105 Aws::String m_docs;
106
107 Aws::String m_message;
108
109 Aws::String m_tip;
110 bool m_codeHasBeenSet = false;
111 bool m_docsHasBeenSet = false;
112 bool m_messageHasBeenSet = false;
113 bool m_tipHasBeenSet = false;
114};
115
116} // namespace Model
117} // namespace Lightsail
118} // namespace Aws
AWS_LIGHTSAIL_API InvalidInputException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LIGHTSAIL_API InvalidInputException(Aws::Utils::Json::JsonView jsonValue)
InvalidInputException & WithDocs(DocsT &&value)
InvalidInputException & WithMessage(MessageT &&value)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LIGHTSAIL_API InvalidInputException()=default
InvalidInputException & WithTip(TipT &&value)
InvalidInputException & WithCode(CodeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue