AWS SDK for C++

AWS SDK for C++ Version 1.11.746

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
41 inline const Aws::String& GetMessage() const { return m_message; }
42 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
43 template <typename MessageT = Aws::String>
44 void SetMessage(MessageT&& value) {
45 m_messageHasBeenSet = true;
46 m_message = std::forward<MessageT>(value);
47 }
48 template <typename MessageT = Aws::String>
50 SetMessage(std::forward<MessageT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::String& GetResourceArn() const { return m_resourceArn; }
61 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
62 template <typename ResourceArnT = Aws::String>
63 void SetResourceArn(ResourceArnT&& value) {
64 m_resourceArnHasBeenSet = true;
65 m_resourceArn = std::forward<ResourceArnT>(value);
66 }
67 template <typename ResourceArnT = Aws::String>
69 SetResourceArn(std::forward<ResourceArnT>(value));
70 return *this;
71 }
73 private:
74 Aws::String m_message;
75
76 Aws::String m_resourceArn;
77 bool m_messageHasBeenSet = false;
78 bool m_resourceArnHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace Keyspaces
83} // 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