AWS SDK for C++

AWS SDK for C++ Version 1.11.742

Loading...
Searching...
No Matches
ResourceNotFoundException.h
1
6#pragma once
7#include <aws/connectparticipant/ConnectParticipant_EXPORTS.h>
8#include <aws/connectparticipant/model/ResourceType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace ConnectParticipant {
21namespace Model {
22
29 public:
30 AWS_CONNECTPARTICIPANT_API ResourceNotFoundException() = default;
31 AWS_CONNECTPARTICIPANT_API ResourceNotFoundException(Aws::Utils::Json::JsonView jsonValue);
32 AWS_CONNECTPARTICIPANT_API ResourceNotFoundException& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CONNECTPARTICIPANT_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
55 inline const Aws::String& GetResourceId() const { return m_resourceId; }
56 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
57 template <typename ResourceIdT = Aws::String>
58 void SetResourceId(ResourceIdT&& value) {
59 m_resourceIdHasBeenSet = true;
60 m_resourceId = std::forward<ResourceIdT>(value);
61 }
62 template <typename ResourceIdT = Aws::String>
64 SetResourceId(std::forward<ResourceIdT>(value));
65 return *this;
66 }
68
70
73 inline ResourceType GetResourceType() const { return m_resourceType; }
74 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
75 inline void SetResourceType(ResourceType value) {
76 m_resourceTypeHasBeenSet = true;
77 m_resourceType = value;
78 }
80 SetResourceType(value);
81 return *this;
82 }
84 private:
85 Aws::String m_message;
86
87 Aws::String m_resourceId;
88
89 ResourceType m_resourceType{ResourceType::NOT_SET};
90 bool m_messageHasBeenSet = false;
91 bool m_resourceIdHasBeenSet = false;
92 bool m_resourceTypeHasBeenSet = false;
93};
94
95} // namespace Model
96} // namespace ConnectParticipant
97} // namespace Aws
ResourceNotFoundException & WithResourceId(ResourceIdT &&value)
ResourceNotFoundException & WithMessage(MessageT &&value)
ResourceNotFoundException & WithResourceType(ResourceType value)
AWS_CONNECTPARTICIPANT_API ResourceNotFoundException()=default
AWS_CONNECTPARTICIPANT_API ResourceNotFoundException(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECTPARTICIPANT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECTPARTICIPANT_API ResourceNotFoundException & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue