AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UnauthenticatedException.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
33 {
34 public:
35 AWS_LIGHTSAIL_API UnauthenticatedException() = default;
38 AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
43 inline const Aws::String& GetCode() const { return m_code; }
44 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
45 template<typename CodeT = Aws::String>
46 void SetCode(CodeT&& value) { m_codeHasBeenSet = true; m_code = std::forward<CodeT>(value); }
47 template<typename CodeT = Aws::String>
48 UnauthenticatedException& WithCode(CodeT&& value) { SetCode(std::forward<CodeT>(value)); return *this;}
50
52
53 inline const Aws::String& GetDocs() const { return m_docs; }
54 inline bool DocsHasBeenSet() const { return m_docsHasBeenSet; }
55 template<typename DocsT = Aws::String>
56 void SetDocs(DocsT&& value) { m_docsHasBeenSet = true; m_docs = std::forward<DocsT>(value); }
57 template<typename DocsT = Aws::String>
58 UnauthenticatedException& WithDocs(DocsT&& value) { SetDocs(std::forward<DocsT>(value)); return *this;}
60
62
63 inline const Aws::String& GetMessage() const { return m_message; }
64 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
65 template<typename MessageT = Aws::String>
66 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
67 template<typename MessageT = Aws::String>
68 UnauthenticatedException& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
70
72
73 inline const Aws::String& GetTip() const { return m_tip; }
74 inline bool TipHasBeenSet() const { return m_tipHasBeenSet; }
75 template<typename TipT = Aws::String>
76 void SetTip(TipT&& value) { m_tipHasBeenSet = true; m_tip = std::forward<TipT>(value); }
77 template<typename TipT = Aws::String>
78 UnauthenticatedException& WithTip(TipT&& value) { SetTip(std::forward<TipT>(value)); return *this;}
80 private:
81
82 Aws::String m_code;
83 bool m_codeHasBeenSet = false;
84
85 Aws::String m_docs;
86 bool m_docsHasBeenSet = false;
87
88 Aws::String m_message;
89 bool m_messageHasBeenSet = false;
90
91 Aws::String m_tip;
92 bool m_tipHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace Lightsail
97} // namespace Aws
UnauthenticatedException & WithMessage(MessageT &&value)
UnauthenticatedException & WithDocs(DocsT &&value)
AWS_LIGHTSAIL_API UnauthenticatedException()=default
UnauthenticatedException & WithTip(TipT &&value)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LIGHTSAIL_API UnauthenticatedException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LIGHTSAIL_API UnauthenticatedException(Aws::Utils::Json::JsonView jsonValue)
UnauthenticatedException & WithCode(CodeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue