AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
RegionSetupInProgressException.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lightsail/Lightsail_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Lightsail {
20namespace Model {
21
30 public:
31 AWS_LIGHTSAIL_API RegionSetupInProgressException() = default;
34 AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
38 inline const Aws::String& GetCode() const { return m_code; }
39 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
40 template <typename CodeT = Aws::String>
41 void SetCode(CodeT&& value) {
42 m_codeHasBeenSet = true;
43 m_code = std::forward<CodeT>(value);
44 }
45 template <typename CodeT = Aws::String>
47 SetCode(std::forward<CodeT>(value));
48 return *this;
49 }
51
53
58 inline const Aws::String& GetDocs() const { return m_docs; }
59 inline bool DocsHasBeenSet() const { return m_docsHasBeenSet; }
60 template <typename DocsT = Aws::String>
61 void SetDocs(DocsT&& value) {
62 m_docsHasBeenSet = true;
63 m_docs = std::forward<DocsT>(value);
64 }
65 template <typename DocsT = Aws::String>
67 SetDocs(std::forward<DocsT>(value));
68 return *this;
69 }
71
73
74 inline const Aws::String& GetMessage() const { return m_message; }
75 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
76 template <typename MessageT = Aws::String>
77 void SetMessage(MessageT&& value) {
78 m_messageHasBeenSet = true;
79 m_message = std::forward<MessageT>(value);
80 }
81 template <typename MessageT = Aws::String>
83 SetMessage(std::forward<MessageT>(value));
84 return *this;
85 }
87
89
93 inline const Aws::String& GetTip() const { return m_tip; }
94 inline bool TipHasBeenSet() const { return m_tipHasBeenSet; }
95 template <typename TipT = Aws::String>
96 void SetTip(TipT&& value) {
97 m_tipHasBeenSet = true;
98 m_tip = std::forward<TipT>(value);
99 }
100 template <typename TipT = Aws::String>
102 SetTip(std::forward<TipT>(value));
103 return *this;
104 }
106 private:
107 Aws::String m_code;
108
109 Aws::String m_docs;
110
111 Aws::String m_message;
112
113 Aws::String m_tip;
114 bool m_codeHasBeenSet = false;
115 bool m_docsHasBeenSet = false;
116 bool m_messageHasBeenSet = false;
117 bool m_tipHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace Lightsail
122} // namespace Aws
AWS_LIGHTSAIL_API RegionSetupInProgressException(Aws::Utils::Json::JsonView jsonValue)
RegionSetupInProgressException & WithMessage(MessageT &&value)
RegionSetupInProgressException & WithCode(CodeT &&value)
AWS_LIGHTSAIL_API RegionSetupInProgressException()=default
RegionSetupInProgressException & WithDocs(DocsT &&value)
AWS_LIGHTSAIL_API RegionSetupInProgressException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue