AWS SDK for C++

AWS SDK for C++ Version 1.11.763

Loading...
Searching...
No Matches
ResourceNotFoundException.h
1
6#pragma once
7#include <aws/awstransfer/Transfer_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 Transfer {
20namespace Model {
21
29 public:
30 AWS_TRANSFER_API ResourceNotFoundException() = default;
33 AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
37 inline const Aws::String& GetMessage() const { return m_message; }
38 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
39 template <typename MessageT = Aws::String>
40 void SetMessage(MessageT&& value) {
41 m_messageHasBeenSet = true;
42 m_message = std::forward<MessageT>(value);
43 }
44 template <typename MessageT = Aws::String>
46 SetMessage(std::forward<MessageT>(value));
47 return *this;
48 }
50
52
53 inline const Aws::String& GetResource() const { return m_resource; }
54 inline bool ResourceHasBeenSet() const { return m_resourceHasBeenSet; }
55 template <typename ResourceT = Aws::String>
56 void SetResource(ResourceT&& value) {
57 m_resourceHasBeenSet = true;
58 m_resource = std::forward<ResourceT>(value);
59 }
60 template <typename ResourceT = Aws::String>
62 SetResource(std::forward<ResourceT>(value));
63 return *this;
64 }
66
68
69 inline const Aws::String& GetResourceType() const { return m_resourceType; }
70 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
71 template <typename ResourceTypeT = Aws::String>
72 void SetResourceType(ResourceTypeT&& value) {
73 m_resourceTypeHasBeenSet = true;
74 m_resourceType = std::forward<ResourceTypeT>(value);
75 }
76 template <typename ResourceTypeT = Aws::String>
78 SetResourceType(std::forward<ResourceTypeT>(value));
79 return *this;
80 }
82 private:
83 Aws::String m_message;
84
85 Aws::String m_resource;
86
87 Aws::String m_resourceType;
88 bool m_messageHasBeenSet = false;
89 bool m_resourceHasBeenSet = false;
90 bool m_resourceTypeHasBeenSet = false;
91};
92
93} // namespace Model
94} // namespace Transfer
95} // namespace Aws
AWS_TRANSFER_API ResourceNotFoundException(Aws::Utils::Json::JsonView jsonValue)
AWS_TRANSFER_API ResourceNotFoundException()=default
ResourceNotFoundException & WithResourceType(ResourceTypeT &&value)
ResourceNotFoundException & WithResource(ResourceT &&value)
ResourceNotFoundException & WithMessage(MessageT &&value)
AWS_TRANSFER_API ResourceNotFoundException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue