AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
InvalidInputException.h
1
6#pragma once
7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Lightsail
22{
23namespace Model
24{
25
37 {
38 public:
39 AWS_LIGHTSAIL_API InvalidInputException() = default;
42 AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
47 inline const Aws::String& GetCode() const { return m_code; }
48 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
49 template<typename CodeT = Aws::String>
50 void SetCode(CodeT&& value) { m_codeHasBeenSet = true; m_code = std::forward<CodeT>(value); }
51 template<typename CodeT = Aws::String>
52 InvalidInputException& WithCode(CodeT&& value) { SetCode(std::forward<CodeT>(value)); return *this;}
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) { m_docsHasBeenSet = true; m_docs = std::forward<DocsT>(value); }
61 template<typename DocsT = Aws::String>
62 InvalidInputException& WithDocs(DocsT&& value) { SetDocs(std::forward<DocsT>(value)); return *this;}
64
66
67 inline const Aws::String& GetMessage() const { return m_message; }
68 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
69 template<typename MessageT = Aws::String>
70 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
71 template<typename MessageT = Aws::String>
72 InvalidInputException& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
74
76
77 inline const Aws::String& GetTip() const { return m_tip; }
78 inline bool TipHasBeenSet() const { return m_tipHasBeenSet; }
79 template<typename TipT = Aws::String>
80 void SetTip(TipT&& value) { m_tipHasBeenSet = true; m_tip = std::forward<TipT>(value); }
81 template<typename TipT = Aws::String>
82 InvalidInputException& WithTip(TipT&& value) { SetTip(std::forward<TipT>(value)); return *this;}
84 private:
85
86 Aws::String m_code;
87 bool m_codeHasBeenSet = false;
88
89 Aws::String m_docs;
90 bool m_docsHasBeenSet = false;
91
92 Aws::String m_message;
93 bool m_messageHasBeenSet = false;
94
95 Aws::String m_tip;
96 bool m_tipHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace Lightsail
101} // 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