AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
ResourceNotFoundException.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker-gateway-runtime/SageMakerGatewayRuntime_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SageMakerGatewayRuntime {
20namespace Model {
21
33 public:
34 AWS_SAGEMAKERGATEWAYRUNTIME_API ResourceNotFoundException() = default;
35 AWS_SAGEMAKERGATEWAYRUNTIME_API ResourceNotFoundException(Aws::Utils::Json::JsonView jsonValue);
36 AWS_SAGEMAKERGATEWAYRUNTIME_API ResourceNotFoundException& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SAGEMAKERGATEWAYRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
45 inline const Aws::String& GetMessage() const { return m_message; }
46 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
47 template <typename MessageT = Aws::String>
48 void SetMessage(MessageT&& value) {
49 m_messageHasBeenSet = true;
50 m_message = std::forward<MessageT>(value);
51 }
52 template <typename MessageT = Aws::String>
54 SetMessage(std::forward<MessageT>(value));
55 return *this;
56 }
58
60
64 inline const Aws::String& GetResourceId() const { return m_resourceId; }
65 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
66 template <typename ResourceIdT = Aws::String>
67 void SetResourceId(ResourceIdT&& value) {
68 m_resourceIdHasBeenSet = true;
69 m_resourceId = std::forward<ResourceIdT>(value);
70 }
71 template <typename ResourceIdT = Aws::String>
73 SetResourceId(std::forward<ResourceIdT>(value));
74 return *this;
75 }
77
79
82 inline const Aws::String& GetResourceType() const { return m_resourceType; }
83 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
84 template <typename ResourceTypeT = Aws::String>
85 void SetResourceType(ResourceTypeT&& value) {
86 m_resourceTypeHasBeenSet = true;
87 m_resourceType = std::forward<ResourceTypeT>(value);
88 }
89 template <typename ResourceTypeT = Aws::String>
91 SetResourceType(std::forward<ResourceTypeT>(value));
92 return *this;
93 }
95 private:
96 Aws::String m_message;
97
98 Aws::String m_resourceId;
99
100 Aws::String m_resourceType;
101 bool m_messageHasBeenSet = false;
102 bool m_resourceIdHasBeenSet = false;
103 bool m_resourceTypeHasBeenSet = false;
104};
105
106} // namespace Model
107} // namespace SageMakerGatewayRuntime
108} // namespace Aws
AWS_SAGEMAKERGATEWAYRUNTIME_API ResourceNotFoundException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKERGATEWAYRUNTIME_API ResourceNotFoundException()=default
ResourceNotFoundException & WithResourceId(ResourceIdT &&value)
AWS_SAGEMAKERGATEWAYRUNTIME_API ResourceNotFoundException(Aws::Utils::Json::JsonView jsonValue)
ResourceNotFoundException & WithResourceType(ResourceTypeT &&value)
AWS_SAGEMAKERGATEWAYRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue