AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResourceNotFoundException.h
1
6#pragma once
7#include <aws/identitystore/IdentityStore_EXPORTS.h>
8#include <aws/identitystore/model/ResourceType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace IdentityStore
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_IDENTITYSTORE_API ResourceNotFoundException();
37 AWS_IDENTITYSTORE_API ResourceNotFoundException(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IDENTITYSTORE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const ResourceType& GetResourceType() const{ return m_resourceType; }
48 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
49 inline void SetResourceType(const ResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
50 inline void SetResourceType(ResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
51 inline ResourceNotFoundException& WithResourceType(const ResourceType& value) { SetResourceType(value); return *this;}
52 inline ResourceNotFoundException& WithResourceType(ResourceType&& value) { SetResourceType(std::move(value)); return *this;}
54
56
68 inline const Aws::String& GetResourceId() const{ return m_resourceId; }
69 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
70 inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
71 inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
72 inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
73 inline ResourceNotFoundException& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
74 inline ResourceNotFoundException& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
75 inline ResourceNotFoundException& WithResourceId(const char* value) { SetResourceId(value); return *this;}
77
79
80 inline const Aws::String& GetMessage() const{ return m_message; }
81 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
82 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
83 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
84 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
85 inline ResourceNotFoundException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
86 inline ResourceNotFoundException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
87 inline ResourceNotFoundException& WithMessage(const char* value) { SetMessage(value); return *this;}
89
91
96 inline const Aws::String& GetRequestId() const{ return m_requestId; }
97 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
98 inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
99 inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
100 inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
101 inline ResourceNotFoundException& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
102 inline ResourceNotFoundException& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
103 inline ResourceNotFoundException& WithRequestId(const char* value) { SetRequestId(value); return *this;}
105 private:
106
107 ResourceType m_resourceType;
108 bool m_resourceTypeHasBeenSet = false;
109
110 Aws::String m_resourceId;
111 bool m_resourceIdHasBeenSet = false;
112
113 Aws::String m_message;
114 bool m_messageHasBeenSet = false;
115
116 Aws::String m_requestId;
117 bool m_requestIdHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace IdentityStore
122} // namespace Aws
AWS_IDENTITYSTORE_API ResourceNotFoundException(Aws::Utils::Json::JsonView jsonValue)
ResourceNotFoundException & WithResourceId(Aws::String &&value)
AWS_IDENTITYSTORE_API ResourceNotFoundException & operator=(Aws::Utils::Json::JsonView jsonValue)
ResourceNotFoundException & WithMessage(const Aws::String &value)
ResourceNotFoundException & WithRequestId(Aws::String &&value)
ResourceNotFoundException & WithRequestId(const Aws::String &value)
ResourceNotFoundException & WithResourceId(const char *value)
ResourceNotFoundException & WithMessage(const char *value)
ResourceNotFoundException & WithResourceType(ResourceType &&value)
ResourceNotFoundException & WithRequestId(const char *value)
AWS_IDENTITYSTORE_API Aws::Utils::Json::JsonValue Jsonize() const
ResourceNotFoundException & WithMessage(Aws::String &&value)
ResourceNotFoundException & WithResourceId(const Aws::String &value)
ResourceNotFoundException & WithResourceType(const ResourceType &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue