AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCode(const Aws::String& value) { m_codeHasBeenSet = true; m_code = value; }
50 inline void SetCode(Aws::String&& value) { m_codeHasBeenSet = true; m_code = std::move(value); }
51 inline void SetCode(const char* value) { m_codeHasBeenSet = true; m_code.assign(value); }
52 inline InvalidInputException& WithCode(const Aws::String& value) { SetCode(value); return *this;}
53 inline InvalidInputException& WithCode(Aws::String&& value) { SetCode(std::move(value)); return *this;}
54 inline InvalidInputException& WithCode(const char* value) { SetCode(value); return *this;}
56
58
59 inline const Aws::String& GetDocs() const{ return m_docs; }
60 inline bool DocsHasBeenSet() const { return m_docsHasBeenSet; }
61 inline void SetDocs(const Aws::String& value) { m_docsHasBeenSet = true; m_docs = value; }
62 inline void SetDocs(Aws::String&& value) { m_docsHasBeenSet = true; m_docs = std::move(value); }
63 inline void SetDocs(const char* value) { m_docsHasBeenSet = true; m_docs.assign(value); }
64 inline InvalidInputException& WithDocs(const Aws::String& value) { SetDocs(value); return *this;}
65 inline InvalidInputException& WithDocs(Aws::String&& value) { SetDocs(std::move(value)); return *this;}
66 inline InvalidInputException& WithDocs(const char* value) { SetDocs(value); return *this;}
68
70
71 inline const Aws::String& GetMessage() const{ return m_message; }
72 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
73 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
74 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
75 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
76 inline InvalidInputException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
77 inline InvalidInputException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
78 inline InvalidInputException& WithMessage(const char* value) { SetMessage(value); return *this;}
80
82
83 inline const Aws::String& GetTip() const{ return m_tip; }
84 inline bool TipHasBeenSet() const { return m_tipHasBeenSet; }
85 inline void SetTip(const Aws::String& value) { m_tipHasBeenSet = true; m_tip = value; }
86 inline void SetTip(Aws::String&& value) { m_tipHasBeenSet = true; m_tip = std::move(value); }
87 inline void SetTip(const char* value) { m_tipHasBeenSet = true; m_tip.assign(value); }
88 inline InvalidInputException& WithTip(const Aws::String& value) { SetTip(value); return *this;}
89 inline InvalidInputException& WithTip(Aws::String&& value) { SetTip(std::move(value)); return *this;}
90 inline InvalidInputException& WithTip(const char* value) { SetTip(value); return *this;}
92 private:
93
94 Aws::String m_code;
95 bool m_codeHasBeenSet = false;
96
97 Aws::String m_docs;
98 bool m_docsHasBeenSet = false;
99
100 Aws::String m_message;
101 bool m_messageHasBeenSet = false;
102
103 Aws::String m_tip;
104 bool m_tipHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace Lightsail
109} // namespace Aws
InvalidInputException & WithTip(Aws::String &&value)
AWS_LIGHTSAIL_API InvalidInputException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LIGHTSAIL_API InvalidInputException(Aws::Utils::Json::JsonView jsonValue)
InvalidInputException & WithDocs(Aws::String &&value)
InvalidInputException & WithCode(const Aws::String &value)
InvalidInputException & WithDocs(const Aws::String &value)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
InvalidInputException & WithMessage(const char *value)
InvalidInputException & WithCode(const char *value)
InvalidInputException & WithMessage(const Aws::String &value)
InvalidInputException & WithTip(const Aws::String &value)
InvalidInputException & WithTip(const char *value)
InvalidInputException & WithDocs(const char *value)
InvalidInputException & WithMessage(Aws::String &&value)
InvalidInputException & WithCode(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue