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/dlm/DLM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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 DLM
23{
24namespace Model
25{
26
33 {
34 public:
39
40
42
43 inline const Aws::String& GetMessage() const{ return m_message; }
44 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
45 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
46 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
47 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
48 inline ResourceNotFoundException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
49 inline ResourceNotFoundException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
50 inline ResourceNotFoundException& WithMessage(const char* value) { SetMessage(value); return *this;}
52
54
55 inline const Aws::String& GetCode() const{ return m_code; }
56 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
57 inline void SetCode(const Aws::String& value) { m_codeHasBeenSet = true; m_code = value; }
58 inline void SetCode(Aws::String&& value) { m_codeHasBeenSet = true; m_code = std::move(value); }
59 inline void SetCode(const char* value) { m_codeHasBeenSet = true; m_code.assign(value); }
60 inline ResourceNotFoundException& WithCode(const Aws::String& value) { SetCode(value); return *this;}
61 inline ResourceNotFoundException& WithCode(Aws::String&& value) { SetCode(std::move(value)); return *this;}
62 inline ResourceNotFoundException& WithCode(const char* value) { SetCode(value); return *this;}
64
66
69 inline const Aws::String& GetResourceType() const{ return m_resourceType; }
70 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
71 inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
72 inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
73 inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); }
74 inline ResourceNotFoundException& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;}
75 inline ResourceNotFoundException& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;}
76 inline ResourceNotFoundException& WithResourceType(const char* value) { SetResourceType(value); return *this;}
78
80
83 inline const Aws::Vector<Aws::String>& GetResourceIds() const{ return m_resourceIds; }
84 inline bool ResourceIdsHasBeenSet() const { return m_resourceIdsHasBeenSet; }
85 inline void SetResourceIds(const Aws::Vector<Aws::String>& value) { m_resourceIdsHasBeenSet = true; m_resourceIds = value; }
86 inline void SetResourceIds(Aws::Vector<Aws::String>&& value) { m_resourceIdsHasBeenSet = true; m_resourceIds = std::move(value); }
88 inline ResourceNotFoundException& WithResourceIds(Aws::Vector<Aws::String>&& value) { SetResourceIds(std::move(value)); return *this;}
89 inline ResourceNotFoundException& AddResourceIds(const Aws::String& value) { m_resourceIdsHasBeenSet = true; m_resourceIds.push_back(value); return *this; }
90 inline ResourceNotFoundException& AddResourceIds(Aws::String&& value) { m_resourceIdsHasBeenSet = true; m_resourceIds.push_back(std::move(value)); return *this; }
91 inline ResourceNotFoundException& AddResourceIds(const char* value) { m_resourceIdsHasBeenSet = true; m_resourceIds.push_back(value); return *this; }
93 private:
94
95 Aws::String m_message;
96 bool m_messageHasBeenSet = false;
97
98 Aws::String m_code;
99 bool m_codeHasBeenSet = false;
100
101 Aws::String m_resourceType;
102 bool m_resourceTypeHasBeenSet = false;
103
104 Aws::Vector<Aws::String> m_resourceIds;
105 bool m_resourceIdsHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace DLM
110} // namespace Aws
AWS_DLM_API ResourceNotFoundException & operator=(Aws::Utils::Json::JsonView jsonValue)
ResourceNotFoundException & WithMessage(const Aws::String &value)
void SetResourceIds(const Aws::Vector< Aws::String > &value)
ResourceNotFoundException & WithResourceType(const char *value)
ResourceNotFoundException & WithCode(const Aws::String &value)
ResourceNotFoundException & WithMessage(Aws::String &&value)
ResourceNotFoundException & WithMessage(const char *value)
const Aws::Vector< Aws::String > & GetResourceIds() const
AWS_DLM_API Aws::Utils::Json::JsonValue Jsonize() const
ResourceNotFoundException & AddResourceIds(Aws::String &&value)
ResourceNotFoundException & WithCode(Aws::String &&value)
ResourceNotFoundException & WithCode(const char *value)
ResourceNotFoundException & AddResourceIds(const char *value)
void SetResourceIds(Aws::Vector< Aws::String > &&value)
ResourceNotFoundException & WithResourceType(const Aws::String &value)
ResourceNotFoundException & WithResourceIds(Aws::Vector< Aws::String > &&value)
ResourceNotFoundException & AddResourceIds(const Aws::String &value)
AWS_DLM_API ResourceNotFoundException(Aws::Utils::Json::JsonView jsonValue)
ResourceNotFoundException & WithResourceType(Aws::String &&value)
ResourceNotFoundException & WithResourceIds(const Aws::Vector< Aws::String > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue