AWS SDK for C++  1.9.106
AWS SDK for C++
ResourceNotFoundException.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace LookoutforVision
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
41 
42  inline const Aws::String& GetMessage() const{ return m_message; }
43 
44 
45  inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
46 
47 
48  inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
49 
50 
51  inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
52 
53 
54  inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
55 
56 
57  inline ResourceNotFoundException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
58 
59 
60  inline ResourceNotFoundException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
61 
62 
63  inline ResourceNotFoundException& WithMessage(const char* value) { SetMessage(value); return *this;}
64 
65 
69  inline const Aws::String& GetResourceId() const{ return m_resourceId; }
70 
74  inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
75 
79  inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
80 
84  inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
85 
89  inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
90 
94  inline ResourceNotFoundException& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
95 
99  inline ResourceNotFoundException& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
100 
104  inline ResourceNotFoundException& WithResourceId(const char* value) { SetResourceId(value); return *this;}
105 
106 
110  inline const ResourceType& GetResourceType() const{ return m_resourceType; }
111 
115  inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
116 
120  inline void SetResourceType(const ResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
121 
125  inline void SetResourceType(ResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
126 
130  inline ResourceNotFoundException& WithResourceType(const ResourceType& value) { SetResourceType(value); return *this;}
131 
135  inline ResourceNotFoundException& WithResourceType(ResourceType&& value) { SetResourceType(std::move(value)); return *this;}
136 
137  private:
138 
139  Aws::String m_message;
140  bool m_messageHasBeenSet;
141 
142  Aws::String m_resourceId;
143  bool m_resourceIdHasBeenSet;
144 
145  ResourceType m_resourceType;
146  bool m_resourceTypeHasBeenSet;
147  };
148 
149 } // namespace Model
150 } // namespace LookoutforVision
151 } // namespace Aws
Aws::LookoutforVision::Model::ResourceNotFoundException::ResourceIdHasBeenSet
bool ResourceIdHasBeenSet() const
Definition: ResourceNotFoundException.h:74
Aws::LookoutforVision::Model::ResourceNotFoundException::SetResourceType
void SetResourceType(ResourceType &&value)
Definition: ResourceNotFoundException.h:125
Aws::LookoutforVision::Model::ResourceNotFoundException
Definition: ResourceNotFoundException.h:33
ResourceType.h
Aws::LookoutforVision::Model::ResourceNotFoundException::WithResourceId
ResourceNotFoundException & WithResourceId(const char *value)
Definition: ResourceNotFoundException.h:104
Aws::LookoutforVision::Model::ResourceNotFoundException::ResourceTypeHasBeenSet
bool ResourceTypeHasBeenSet() const
Definition: ResourceNotFoundException.h:115
LookoutforVision_EXPORTS.h
Aws::LookoutforVision::Model::ResourceType
ResourceType
Definition: ResourceType.h:17
Aws::LookoutforVision::Model::ResourceNotFoundException::WithMessage
ResourceNotFoundException & WithMessage(const Aws::String &value)
Definition: ResourceNotFoundException.h:57
Aws::LookoutforVision::Model::ResourceNotFoundException::GetMessage
const Aws::String & GetMessage() const
Definition: ResourceNotFoundException.h:42
Aws::LookoutforVision::Model::ResourceNotFoundException::WithMessage
ResourceNotFoundException & WithMessage(const char *value)
Definition: ResourceNotFoundException.h:63
Aws::LookoutforVision::Model::ResourceNotFoundException::SetResourceId
void SetResourceId(const char *value)
Definition: ResourceNotFoundException.h:89
Aws::LookoutforVision::Model::ResourceNotFoundException::SetMessage
void SetMessage(const Aws::String &value)
Definition: ResourceNotFoundException.h:48
Aws::LookoutforVision::Model::ResourceNotFoundException::WithResourceType
ResourceNotFoundException & WithResourceType(ResourceType &&value)
Definition: ResourceNotFoundException.h:135
Aws::LookoutforVision::Model::ResourceNotFoundException::SetResourceType
void SetResourceType(const ResourceType &value)
Definition: ResourceNotFoundException.h:120
Aws::LookoutforVision::Model::ResourceNotFoundException::GetResourceType
const ResourceType & GetResourceType() const
Definition: ResourceNotFoundException.h:110
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::LookoutforVision::Model::ResourceNotFoundException::GetResourceId
const Aws::String & GetResourceId() const
Definition: ResourceNotFoundException.h:69
Aws::LookoutforVision::Model::ResourceNotFoundException::operator=
ResourceNotFoundException & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::LookoutforVision::Model::ResourceNotFoundException::MessageHasBeenSet
bool MessageHasBeenSet() const
Definition: ResourceNotFoundException.h:45
Aws
Definition: AccessManagementClient.h:15
Aws::LookoutforVision::Model::ResourceNotFoundException::SetMessage
void SetMessage(Aws::String &&value)
Definition: ResourceNotFoundException.h:51
Aws::LookoutforVision::Model::ResourceNotFoundException::SetResourceId
void SetResourceId(const Aws::String &value)
Definition: ResourceNotFoundException.h:79
Aws::LookoutforVision::Model::ResourceNotFoundException::WithMessage
ResourceNotFoundException & WithMessage(Aws::String &&value)
Definition: ResourceNotFoundException.h:60
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::LookoutforVision::Model::ResourceNotFoundException::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
AWS_LOOKOUTFORVISION_API
#define AWS_LOOKOUTFORVISION_API
Definition: LookoutforVision_EXPORTS.h:28
Aws::LookoutforVision::Model::ResourceNotFoundException::ResourceNotFoundException
ResourceNotFoundException()
Aws::LookoutforVision::Model::ResourceNotFoundException::SetMessage
void SetMessage(const char *value)
Definition: ResourceNotFoundException.h:54
Aws::LookoutforVision::Model::ResourceNotFoundException::WithResourceId
ResourceNotFoundException & WithResourceId(Aws::String &&value)
Definition: ResourceNotFoundException.h:99
Aws::LookoutforVision::Model::ResourceNotFoundException::WithResourceId
ResourceNotFoundException & WithResourceId(const Aws::String &value)
Definition: ResourceNotFoundException.h:94
Aws::LookoutforVision::Model::ResourceNotFoundException::SetResourceId
void SetResourceId(Aws::String &&value)
Definition: ResourceNotFoundException.h:84
Aws::LookoutforVision::Model::ResourceNotFoundException::ResourceNotFoundException
ResourceNotFoundException(Aws::Utils::Json::JsonView jsonValue)
Aws::LookoutforVision::Model::ResourceNotFoundException::WithResourceType
ResourceNotFoundException & WithResourceType(const ResourceType &value)
Definition: ResourceNotFoundException.h:130