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/appconfigdata/AppConfigData_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/appconfigdata/model/ResourceType.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace AppConfigData
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_APPCONFIGDATA_API ResourceNotFoundException();
37 AWS_APPCONFIGDATA_API ResourceNotFoundException(Aws::Utils::Json::JsonView jsonValue);
39 AWS_APPCONFIGDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
44 inline const Aws::String& GetMessage() const{ return m_message; }
45 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
46 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
47 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
48 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
49 inline ResourceNotFoundException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
50 inline ResourceNotFoundException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
51 inline ResourceNotFoundException& WithMessage(const char* value) { SetMessage(value); return *this;}
53
55
58 inline const ResourceType& GetResourceType() const{ return m_resourceType; }
59 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
60 inline void SetResourceType(const ResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
61 inline void SetResourceType(ResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
62 inline ResourceNotFoundException& WithResourceType(const ResourceType& value) { SetResourceType(value); return *this;}
63 inline ResourceNotFoundException& WithResourceType(ResourceType&& value) { SetResourceType(std::move(value)); return *this;}
65
67
71 inline const Aws::Map<Aws::String, Aws::String>& GetReferencedBy() const{ return m_referencedBy; }
72 inline bool ReferencedByHasBeenSet() const { return m_referencedByHasBeenSet; }
73 inline void SetReferencedBy(const Aws::Map<Aws::String, Aws::String>& value) { m_referencedByHasBeenSet = true; m_referencedBy = value; }
74 inline void SetReferencedBy(Aws::Map<Aws::String, Aws::String>&& value) { m_referencedByHasBeenSet = true; m_referencedBy = std::move(value); }
77 inline ResourceNotFoundException& AddReferencedBy(const Aws::String& key, const Aws::String& value) { m_referencedByHasBeenSet = true; m_referencedBy.emplace(key, value); return *this; }
78 inline ResourceNotFoundException& AddReferencedBy(Aws::String&& key, const Aws::String& value) { m_referencedByHasBeenSet = true; m_referencedBy.emplace(std::move(key), value); return *this; }
79 inline ResourceNotFoundException& AddReferencedBy(const Aws::String& key, Aws::String&& value) { m_referencedByHasBeenSet = true; m_referencedBy.emplace(key, std::move(value)); return *this; }
80 inline ResourceNotFoundException& AddReferencedBy(Aws::String&& key, Aws::String&& value) { m_referencedByHasBeenSet = true; m_referencedBy.emplace(std::move(key), std::move(value)); return *this; }
81 inline ResourceNotFoundException& AddReferencedBy(const char* key, Aws::String&& value) { m_referencedByHasBeenSet = true; m_referencedBy.emplace(key, std::move(value)); return *this; }
82 inline ResourceNotFoundException& AddReferencedBy(Aws::String&& key, const char* value) { m_referencedByHasBeenSet = true; m_referencedBy.emplace(std::move(key), value); return *this; }
83 inline ResourceNotFoundException& AddReferencedBy(const char* key, const char* value) { m_referencedByHasBeenSet = true; m_referencedBy.emplace(key, value); return *this; }
85 private:
86
87 Aws::String m_message;
88 bool m_messageHasBeenSet = false;
89
90 ResourceType m_resourceType;
91 bool m_resourceTypeHasBeenSet = false;
92
94 bool m_referencedByHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace AppConfigData
99} // namespace Aws
ResourceNotFoundException & AddReferencedBy(const Aws::String &key, Aws::String &&value)
ResourceNotFoundException & WithMessage(Aws::String &&value)
ResourceNotFoundException & AddReferencedBy(Aws::String &&key, Aws::String &&value)
void SetReferencedBy(Aws::Map< Aws::String, Aws::String > &&value)
ResourceNotFoundException & WithReferencedBy(const Aws::Map< Aws::String, Aws::String > &value)
void SetReferencedBy(const Aws::Map< Aws::String, Aws::String > &value)
ResourceNotFoundException & WithMessage(const char *value)
ResourceNotFoundException & AddReferencedBy(const char *key, Aws::String &&value)
AWS_APPCONFIGDATA_API ResourceNotFoundException & operator=(Aws::Utils::Json::JsonView jsonValue)
ResourceNotFoundException & AddReferencedBy(const char *key, const char *value)
ResourceNotFoundException & WithMessage(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetReferencedBy() const
ResourceNotFoundException & AddReferencedBy(const Aws::String &key, const Aws::String &value)
AWS_APPCONFIGDATA_API Aws::Utils::Json::JsonValue Jsonize() const
ResourceNotFoundException & WithResourceType(const ResourceType &value)
ResourceNotFoundException & WithResourceType(ResourceType &&value)
ResourceNotFoundException & WithReferencedBy(Aws::Map< Aws::String, Aws::String > &&value)
ResourceNotFoundException & AddReferencedBy(Aws::String &&key, const char *value)
ResourceNotFoundException & AddReferencedBy(Aws::String &&key, const Aws::String &value)
AWS_APPCONFIGDATA_API ResourceNotFoundException(Aws::Utils::Json::JsonView jsonValue)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue