AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ResourceNotFoundException.h
1
6#pragma once
7#include <aws/keyspaces/Keyspaces_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Keyspaces
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_KEYSPACES_API ResourceNotFoundException() = default;
39 AWS_KEYSPACES_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetMessage() const { return m_message; }
47 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
48 template<typename MessageT = Aws::String>
49 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
50 template<typename MessageT = Aws::String>
51 ResourceNotFoundException& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
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) { m_resourceArnHasBeenSet = true; m_resourceArn = std::forward<ResourceArnT>(value); }
63 template<typename ResourceArnT = Aws::String>
64 ResourceNotFoundException& WithResourceArn(ResourceArnT&& value) { SetResourceArn(std::forward<ResourceArnT>(value)); return *this;}
66 private:
67
68 Aws::String m_message;
69 bool m_messageHasBeenSet = false;
70
71 Aws::String m_resourceArn;
72 bool m_resourceArnHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace Keyspaces
77} // 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