AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
ResourceNotFoundException.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/voice-id/VoiceID_EXPORTS.h>
9#include <aws/voice-id/model/ResourceType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace VoiceID {
21namespace Model {
22
30 public:
31 AWS_VOICEID_API ResourceNotFoundException() = default;
34 AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
38 inline const Aws::String& GetMessage() const { return m_message; }
39 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
40 template <typename MessageT = Aws::String>
41 void SetMessage(MessageT&& value) {
42 m_messageHasBeenSet = true;
43 m_message = std::forward<MessageT>(value);
44 }
45 template <typename MessageT = Aws::String>
47 SetMessage(std::forward<MessageT>(value));
48 return *this;
49 }
51
53
58 inline ResourceType GetResourceType() const { return m_resourceType; }
59 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
60 inline void SetResourceType(ResourceType value) {
61 m_resourceTypeHasBeenSet = true;
62 m_resourceType = value;
63 }
65 SetResourceType(value);
66 return *this;
67 }
69 private:
70 Aws::String m_message;
71
72 ResourceType m_resourceType{ResourceType::NOT_SET};
73 bool m_messageHasBeenSet = false;
74 bool m_resourceTypeHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace VoiceID
79} // namespace Aws
AWS_VOICEID_API ResourceNotFoundException()=default
ResourceNotFoundException & WithMessage(MessageT &&value)
AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_VOICEID_API ResourceNotFoundException & operator=(Aws::Utils::Json::JsonView jsonValue)
ResourceNotFoundException & WithResourceType(ResourceType value)
AWS_VOICEID_API ResourceNotFoundException(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue