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