AWS SDK for C++

AWS SDK for C++ Version 1.11.756

Loading...
Searching...
No Matches
ResourceNotFoundException.h
1
6#pragma once
7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Backup {
20namespace Model {
21
29 public:
30 AWS_BACKUP_API ResourceNotFoundException() = default;
33 AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
37 inline const Aws::String& GetCode() const { return m_code; }
38 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
39 template <typename CodeT = Aws::String>
40 void SetCode(CodeT&& value) {
41 m_codeHasBeenSet = true;
42 m_code = std::forward<CodeT>(value);
43 }
44 template <typename CodeT = Aws::String>
46 SetCode(std::forward<CodeT>(value));
47 return *this;
48 }
50
52
53 inline const Aws::String& GetMessage() const { return m_message; }
54 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
55 template <typename MessageT = Aws::String>
56 void SetMessage(MessageT&& value) {
57 m_messageHasBeenSet = true;
58 m_message = std::forward<MessageT>(value);
59 }
60 template <typename MessageT = Aws::String>
62 SetMessage(std::forward<MessageT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetType() const { return m_type; }
72 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
73 template <typename TypeT = Aws::String>
74 void SetType(TypeT&& value) {
75 m_typeHasBeenSet = true;
76 m_type = std::forward<TypeT>(value);
77 }
78 template <typename TypeT = Aws::String>
80 SetType(std::forward<TypeT>(value));
81 return *this;
82 }
84
86
89 inline const Aws::String& GetContext() const { return m_context; }
90 inline bool ContextHasBeenSet() const { return m_contextHasBeenSet; }
91 template <typename ContextT = Aws::String>
92 void SetContext(ContextT&& value) {
93 m_contextHasBeenSet = true;
94 m_context = std::forward<ContextT>(value);
95 }
96 template <typename ContextT = Aws::String>
98 SetContext(std::forward<ContextT>(value));
99 return *this;
100 }
102 private:
103 Aws::String m_code;
104
105 Aws::String m_message;
106
107 Aws::String m_type;
108
109 Aws::String m_context;
110 bool m_codeHasBeenSet = false;
111 bool m_messageHasBeenSet = false;
112 bool m_typeHasBeenSet = false;
113 bool m_contextHasBeenSet = false;
114};
115
116} // namespace Model
117} // namespace Backup
118} // namespace Aws
AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BACKUP_API ResourceNotFoundException(Aws::Utils::Json::JsonView jsonValue)
ResourceNotFoundException & WithType(TypeT &&value)
ResourceNotFoundException & WithContext(ContextT &&value)
ResourceNotFoundException & WithCode(CodeT &&value)
AWS_BACKUP_API ResourceNotFoundException()=default
AWS_BACKUP_API ResourceNotFoundException & operator=(Aws::Utils::Json::JsonView jsonValue)
ResourceNotFoundException & WithMessage(MessageT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue