AWS SDK for C++

AWS SDK for C++ Version 1.11.632

Loading...
Searching...
No Matches
RegionSetupInProgressException.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
34 {
35 public:
36 AWS_LIGHTSAIL_API RegionSetupInProgressException() = default;
39 AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
44 inline const Aws::String& GetCode() const { return m_code; }
45 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
46 template<typename CodeT = Aws::String>
47 void SetCode(CodeT&& value) { m_codeHasBeenSet = true; m_code = std::forward<CodeT>(value); }
48 template<typename CodeT = Aws::String>
49 RegionSetupInProgressException& WithCode(CodeT&& value) { SetCode(std::forward<CodeT>(value)); return *this;}
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) { m_docsHasBeenSet = true; m_docs = std::forward<DocsT>(value); }
62 template<typename DocsT = Aws::String>
63 RegionSetupInProgressException& WithDocs(DocsT&& value) { SetDocs(std::forward<DocsT>(value)); return *this;}
65
67
68 inline const Aws::String& GetMessage() const { return m_message; }
69 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
70 template<typename MessageT = Aws::String>
71 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
72 template<typename MessageT = Aws::String>
73 RegionSetupInProgressException& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
75
77
81 inline const Aws::String& GetTip() const { return m_tip; }
82 inline bool TipHasBeenSet() const { return m_tipHasBeenSet; }
83 template<typename TipT = Aws::String>
84 void SetTip(TipT&& value) { m_tipHasBeenSet = true; m_tip = std::forward<TipT>(value); }
85 template<typename TipT = Aws::String>
86 RegionSetupInProgressException& WithTip(TipT&& value) { SetTip(std::forward<TipT>(value)); return *this;}
88 private:
89
90 Aws::String m_code;
91 bool m_codeHasBeenSet = false;
92
93 Aws::String m_docs;
94 bool m_docsHasBeenSet = false;
95
96 Aws::String m_message;
97 bool m_messageHasBeenSet = false;
98
99 Aws::String m_tip;
100 bool m_tipHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace Lightsail
105} // namespace Aws
AWS_LIGHTSAIL_API RegionSetupInProgressException(Aws::Utils::Json::JsonView jsonValue)
RegionSetupInProgressException & WithMessage(MessageT &&value)
RegionSetupInProgressException & WithCode(CodeT &&value)
RegionSetupInProgressException & WithTip(TipT &&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