AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ResourceNotFoundException.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/keyspaces/Keyspaces_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Keyspaces {
20namespace Model {
21
30 public:
31 AWS_KEYSPACES_API ResourceNotFoundException() = default;
34 AWS_KEYSPACES_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
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
59 inline const Aws::String& GetResourceArn() const { return m_resourceArn; }
60 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
61 template <typename ResourceArnT = Aws::String>
62 void SetResourceArn(ResourceArnT&& value) {
63 m_resourceArnHasBeenSet = true;
64 m_resourceArn = std::forward<ResourceArnT>(value);
65 }
66 template <typename ResourceArnT = Aws::String>
68 SetResourceArn(std::forward<ResourceArnT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_message;
74
75 Aws::String m_resourceArn;
76 bool m_messageHasBeenSet = false;
77 bool m_resourceArnHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace Keyspaces
82} // namespace Aws
AWS_KEYSPACES_API ResourceNotFoundException()=default
AWS_KEYSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
ResourceNotFoundException & WithMessage(MessageT &&value)
AWS_KEYSPACES_API ResourceNotFoundException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KEYSPACES_API ResourceNotFoundException(Aws::Utils::Json::JsonView jsonValue)
ResourceNotFoundException & WithResourceArn(ResourceArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue