AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
UnsupportedFeatureException.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/inspector/Inspector_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Inspector {
20namespace Model {
21
32 public:
33 AWS_INSPECTOR_API UnsupportedFeatureException() = default;
36 AWS_INSPECTOR_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
40 inline const Aws::String& GetMessage() const { return m_message; }
41 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
42 template <typename MessageT = Aws::String>
43 void SetMessage(MessageT&& value) {
44 m_messageHasBeenSet = true;
45 m_message = std::forward<MessageT>(value);
46 }
47 template <typename MessageT = Aws::String>
49 SetMessage(std::forward<MessageT>(value));
50 return *this;
51 }
53
55
56 inline bool GetCanRetry() const { return m_canRetry; }
57 inline bool CanRetryHasBeenSet() const { return m_canRetryHasBeenSet; }
58 inline void SetCanRetry(bool value) {
59 m_canRetryHasBeenSet = true;
60 m_canRetry = value;
61 }
63 SetCanRetry(value);
64 return *this;
65 }
67 private:
68 Aws::String m_message;
69
70 bool m_canRetry{false};
71 bool m_messageHasBeenSet = false;
72 bool m_canRetryHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace Inspector
77} // namespace Aws
UnsupportedFeatureException & WithMessage(MessageT &&value)
AWS_INSPECTOR_API UnsupportedFeatureException(Aws::Utils::Json::JsonView jsonValue)
AWS_INSPECTOR_API UnsupportedFeatureException()=default
AWS_INSPECTOR_API UnsupportedFeatureException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_INSPECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
UnsupportedFeatureException & WithCanRetry(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue