AWS SDK for C++  1.9.103
AWS SDK for C++
InvalidInputException.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace Lightsail
22 {
23 namespace Model
24 {
25 
36  {
37  public:
42 
43 
44 
45  inline const Aws::String& GetCode() const{ return m_code; }
46 
47 
48  inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
49 
50 
51  inline void SetCode(const Aws::String& value) { m_codeHasBeenSet = true; m_code = value; }
52 
53 
54  inline void SetCode(Aws::String&& value) { m_codeHasBeenSet = true; m_code = std::move(value); }
55 
56 
57  inline void SetCode(const char* value) { m_codeHasBeenSet = true; m_code.assign(value); }
58 
59 
60  inline InvalidInputException& WithCode(const Aws::String& value) { SetCode(value); return *this;}
61 
62 
63  inline InvalidInputException& WithCode(Aws::String&& value) { SetCode(std::move(value)); return *this;}
64 
65 
66  inline InvalidInputException& WithCode(const char* value) { SetCode(value); return *this;}
67 
68 
69 
70  inline const Aws::String& GetDocs() const{ return m_docs; }
71 
72 
73  inline bool DocsHasBeenSet() const { return m_docsHasBeenSet; }
74 
75 
76  inline void SetDocs(const Aws::String& value) { m_docsHasBeenSet = true; m_docs = value; }
77 
78 
79  inline void SetDocs(Aws::String&& value) { m_docsHasBeenSet = true; m_docs = std::move(value); }
80 
81 
82  inline void SetDocs(const char* value) { m_docsHasBeenSet = true; m_docs.assign(value); }
83 
84 
85  inline InvalidInputException& WithDocs(const Aws::String& value) { SetDocs(value); return *this;}
86 
87 
88  inline InvalidInputException& WithDocs(Aws::String&& value) { SetDocs(std::move(value)); return *this;}
89 
90 
91  inline InvalidInputException& WithDocs(const char* value) { SetDocs(value); return *this;}
92 
93 
94 
95  inline const Aws::String& GetMessage() const{ return m_message; }
96 
97 
98  inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
99 
100 
101  inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
102 
103 
104  inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
105 
106 
107  inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
108 
109 
110  inline InvalidInputException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
111 
112 
113  inline InvalidInputException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
114 
115 
116  inline InvalidInputException& WithMessage(const char* value) { SetMessage(value); return *this;}
117 
118 
119 
120  inline const Aws::String& GetTip() const{ return m_tip; }
121 
122 
123  inline bool TipHasBeenSet() const { return m_tipHasBeenSet; }
124 
125 
126  inline void SetTip(const Aws::String& value) { m_tipHasBeenSet = true; m_tip = value; }
127 
128 
129  inline void SetTip(Aws::String&& value) { m_tipHasBeenSet = true; m_tip = std::move(value); }
130 
131 
132  inline void SetTip(const char* value) { m_tipHasBeenSet = true; m_tip.assign(value); }
133 
134 
135  inline InvalidInputException& WithTip(const Aws::String& value) { SetTip(value); return *this;}
136 
137 
138  inline InvalidInputException& WithTip(Aws::String&& value) { SetTip(std::move(value)); return *this;}
139 
140 
141  inline InvalidInputException& WithTip(const char* value) { SetTip(value); return *this;}
142 
143  private:
144 
145  Aws::String m_code;
146  bool m_codeHasBeenSet;
147 
148  Aws::String m_docs;
149  bool m_docsHasBeenSet;
150 
151  Aws::String m_message;
152  bool m_messageHasBeenSet;
153 
154  Aws::String m_tip;
155  bool m_tipHasBeenSet;
156  };
157 
158 } // namespace Model
159 } // namespace Lightsail
160 } // namespace Aws
Aws::Lightsail::Model::InvalidInputException::WithMessage
InvalidInputException & WithMessage(const Aws::String &value)
Definition: InvalidInputException.h:110
Aws::Lightsail::Model::InvalidInputException::WithTip
InvalidInputException & WithTip(Aws::String &&value)
Definition: InvalidInputException.h:138
Aws::Lightsail::Model::InvalidInputException::SetMessage
void SetMessage(const Aws::String &value)
Definition: InvalidInputException.h:101
Aws::Lightsail::Model::InvalidInputException::MessageHasBeenSet
bool MessageHasBeenSet() const
Definition: InvalidInputException.h:98
Aws::Lightsail::Model::InvalidInputException::WithTip
InvalidInputException & WithTip(const Aws::String &value)
Definition: InvalidInputException.h:135
Aws::Lightsail::Model::InvalidInputException::SetMessage
void SetMessage(Aws::String &&value)
Definition: InvalidInputException.h:104
Aws::Lightsail::Model::InvalidInputException::CodeHasBeenSet
bool CodeHasBeenSet() const
Definition: InvalidInputException.h:48
Aws::Lightsail::Model::InvalidInputException::SetCode
void SetCode(const Aws::String &value)
Definition: InvalidInputException.h:51
Aws::Lightsail::Model::InvalidInputException::SetTip
void SetTip(Aws::String &&value)
Definition: InvalidInputException.h:129
Aws::Lightsail::Model::InvalidInputException::SetTip
void SetTip(const Aws::String &value)
Definition: InvalidInputException.h:126
Aws::Lightsail::Model::InvalidInputException::WithCode
InvalidInputException & WithCode(Aws::String &&value)
Definition: InvalidInputException.h:63
Aws::Lightsail::Model::InvalidInputException::WithCode
InvalidInputException & WithCode(const char *value)
Definition: InvalidInputException.h:66
Aws::Lightsail::Model::InvalidInputException::WithCode
InvalidInputException & WithCode(const Aws::String &value)
Definition: InvalidInputException.h:60
Aws::Lightsail::Model::InvalidInputException::GetCode
const Aws::String & GetCode() const
Definition: InvalidInputException.h:45
Aws::Lightsail::Model::InvalidInputException::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Lightsail::Model::InvalidInputException::InvalidInputException
InvalidInputException()
Aws::Lightsail::Model::InvalidInputException::SetCode
void SetCode(Aws::String &&value)
Definition: InvalidInputException.h:54
Aws::Lightsail::Model::InvalidInputException::operator=
InvalidInputException & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Lightsail::Model::InvalidInputException::WithMessage
InvalidInputException & WithMessage(Aws::String &&value)
Definition: InvalidInputException.h:113
Aws::Lightsail::Model::InvalidInputException::SetTip
void SetTip(const char *value)
Definition: InvalidInputException.h:132
Aws::Lightsail::Model::InvalidInputException::WithDocs
InvalidInputException & WithDocs(const Aws::String &value)
Definition: InvalidInputException.h:85
Aws::Lightsail::Model::InvalidInputException::GetMessage
const Aws::String & GetMessage() const
Definition: InvalidInputException.h:95
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Lightsail::Model::InvalidInputException::SetDocs
void SetDocs(const char *value)
Definition: InvalidInputException.h:82
Aws::Lightsail::Model::InvalidInputException::DocsHasBeenSet
bool DocsHasBeenSet() const
Definition: InvalidInputException.h:73
Aws::Lightsail::Model::InvalidInputException::WithDocs
InvalidInputException & WithDocs(Aws::String &&value)
Definition: InvalidInputException.h:88
Aws::Lightsail::Model::InvalidInputException::TipHasBeenSet
bool TipHasBeenSet() const
Definition: InvalidInputException.h:123
Lightsail_EXPORTS.h
Aws::Lightsail::Model::InvalidInputException::SetDocs
void SetDocs(const Aws::String &value)
Definition: InvalidInputException.h:76
Aws::Lightsail::Model::InvalidInputException::GetTip
const Aws::String & GetTip() const
Definition: InvalidInputException.h:120
Aws::Lightsail::Model::InvalidInputException::WithTip
InvalidInputException & WithTip(const char *value)
Definition: InvalidInputException.h:141
Aws::Lightsail::Model::InvalidInputException::InvalidInputException
InvalidInputException(Aws::Utils::Json::JsonView jsonValue)
Aws::Lightsail::Model::InvalidInputException::GetDocs
const Aws::String & GetDocs() const
Definition: InvalidInputException.h:70
Aws::Lightsail::Model::InvalidInputException::WithMessage
InvalidInputException & WithMessage(const char *value)
Definition: InvalidInputException.h:116
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28
Aws::Lightsail::Model::InvalidInputException::SetDocs
void SetDocs(Aws::String &&value)
Definition: InvalidInputException.h:79
Aws::Lightsail::Model::InvalidInputException::SetMessage
void SetMessage(const char *value)
Definition: InvalidInputException.h:107
Aws::Lightsail::Model::InvalidInputException::WithDocs
InvalidInputException & WithDocs(const char *value)
Definition: InvalidInputException.h:91
Aws::Lightsail::Model::InvalidInputException::SetCode
void SetCode(const char *value)
Definition: InvalidInputException.h:57
Aws::Lightsail::Model::InvalidInputException
Definition: InvalidInputException.h:36