AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
NoLongerSupportedException.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glacier/Glacier_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Glacier {
20namespace Model {
21
31 public:
32 AWS_GLACIER_API NoLongerSupportedException() = default;
35 AWS_GLACIER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetType() const { return m_type; }
42 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
43 template <typename TypeT = Aws::String>
44 void SetType(TypeT&& value) {
45 m_typeHasBeenSet = true;
46 m_type = std::forward<TypeT>(value);
47 }
48 template <typename TypeT = Aws::String>
50 SetType(std::forward<TypeT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetCode() const { return m_code; }
60 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
61 template <typename CodeT = Aws::String>
62 void SetCode(CodeT&& value) {
63 m_codeHasBeenSet = true;
64 m_code = std::forward<CodeT>(value);
65 }
66 template <typename CodeT = Aws::String>
68 SetCode(std::forward<CodeT>(value));
69 return *this;
70 }
72
74
78 inline const Aws::String& GetMessage() const { return m_message; }
79 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
80 template <typename MessageT = Aws::String>
81 void SetMessage(MessageT&& value) {
82 m_messageHasBeenSet = true;
83 m_message = std::forward<MessageT>(value);
84 }
85 template <typename MessageT = Aws::String>
87 SetMessage(std::forward<MessageT>(value));
88 return *this;
89 }
91 private:
92 Aws::String m_type;
93
94 Aws::String m_code;
95
96 Aws::String m_message;
97 bool m_typeHasBeenSet = false;
98 bool m_codeHasBeenSet = false;
99 bool m_messageHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace Glacier
104} // namespace Aws
NoLongerSupportedException & WithMessage(MessageT &&value)
AWS_GLACIER_API NoLongerSupportedException(Aws::Utils::Json::JsonView jsonValue)
AWS_GLACIER_API NoLongerSupportedException & operator=(Aws::Utils::Json::JsonView jsonValue)
NoLongerSupportedException & WithCode(CodeT &&value)
AWS_GLACIER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLACIER_API NoLongerSupportedException()=default
NoLongerSupportedException & WithType(TypeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue