AWS SDK for C++  1.9.110
AWS SDK for C++
ResourceNotFoundException.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace AppConfig
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
40 
41  inline const Aws::String& GetMessage() const{ return m_message; }
42 
43 
44  inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
45 
46 
47  inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
48 
49 
50  inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
51 
52 
53  inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
54 
55 
56  inline ResourceNotFoundException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
57 
58 
59  inline ResourceNotFoundException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
60 
61 
62  inline ResourceNotFoundException& WithMessage(const char* value) { SetMessage(value); return *this;}
63 
64 
65 
66  inline const Aws::String& GetResourceName() const{ return m_resourceName; }
67 
68 
69  inline bool ResourceNameHasBeenSet() const { return m_resourceNameHasBeenSet; }
70 
71 
72  inline void SetResourceName(const Aws::String& value) { m_resourceNameHasBeenSet = true; m_resourceName = value; }
73 
74 
75  inline void SetResourceName(Aws::String&& value) { m_resourceNameHasBeenSet = true; m_resourceName = std::move(value); }
76 
77 
78  inline void SetResourceName(const char* value) { m_resourceNameHasBeenSet = true; m_resourceName.assign(value); }
79 
80 
81  inline ResourceNotFoundException& WithResourceName(const Aws::String& value) { SetResourceName(value); return *this;}
82 
83 
84  inline ResourceNotFoundException& WithResourceName(Aws::String&& value) { SetResourceName(std::move(value)); return *this;}
85 
86 
87  inline ResourceNotFoundException& WithResourceName(const char* value) { SetResourceName(value); return *this;}
88 
89  private:
90 
91  Aws::String m_message;
92  bool m_messageHasBeenSet;
93 
94  Aws::String m_resourceName;
95  bool m_resourceNameHasBeenSet;
96  };
97 
98 } // namespace Model
99 } // namespace AppConfig
100 } // namespace Aws
Aws::AppConfig::Model::ResourceNotFoundException::SetResourceName
void SetResourceName(const Aws::String &value)
Definition: ResourceNotFoundException.h:72
Aws::AppConfig::Model::ResourceNotFoundException::SetMessage
void SetMessage(const char *value)
Definition: ResourceNotFoundException.h:53
Aws::AppConfig::Model::ResourceNotFoundException::WithResourceName
ResourceNotFoundException & WithResourceName(Aws::String &&value)
Definition: ResourceNotFoundException.h:84
Aws::AppConfig::Model::ResourceNotFoundException::WithMessage
ResourceNotFoundException & WithMessage(Aws::String &&value)
Definition: ResourceNotFoundException.h:59
Aws::AppConfig::Model::ResourceNotFoundException::WithMessage
ResourceNotFoundException & WithMessage(const Aws::String &value)
Definition: ResourceNotFoundException.h:56
Aws::AppConfig::Model::ResourceNotFoundException::SetMessage
void SetMessage(const Aws::String &value)
Definition: ResourceNotFoundException.h:47
Aws::AppConfig::Model::ResourceNotFoundException::WithResourceName
ResourceNotFoundException & WithResourceName(const Aws::String &value)
Definition: ResourceNotFoundException.h:81
Aws::AppConfig::Model::ResourceNotFoundException::GetMessage
const Aws::String & GetMessage() const
Definition: ResourceNotFoundException.h:41
Aws::AppConfig::Model::ResourceNotFoundException
Definition: ResourceNotFoundException.h:32
Aws::AppConfig::Model::ResourceNotFoundException::GetResourceName
const Aws::String & GetResourceName() const
Definition: ResourceNotFoundException.h:66
AppConfig_EXPORTS.h
Aws::AppConfig::Model::ResourceNotFoundException::ResourceNotFoundException
ResourceNotFoundException(Aws::Utils::Json::JsonView jsonValue)
Aws::AppConfig::Model::ResourceNotFoundException::WithMessage
ResourceNotFoundException & WithMessage(const char *value)
Definition: ResourceNotFoundException.h:62
Aws::AppConfig::Model::ResourceNotFoundException::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AppConfig::Model::ResourceNotFoundException::SetResourceName
void SetResourceName(Aws::String &&value)
Definition: ResourceNotFoundException.h:75
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AppConfig::Model::ResourceNotFoundException::SetMessage
void SetMessage(Aws::String &&value)
Definition: ResourceNotFoundException.h:50
Aws::AppConfig::Model::ResourceNotFoundException::ResourceNameHasBeenSet
bool ResourceNameHasBeenSet() const
Definition: ResourceNotFoundException.h:69
Aws::AppConfig::Model::ResourceNotFoundException::WithResourceName
ResourceNotFoundException & WithResourceName(const char *value)
Definition: ResourceNotFoundException.h:87
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppConfig::Model::ResourceNotFoundException::operator=
ResourceNotFoundException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPCONFIG_API
#define AWS_APPCONFIG_API
Definition: AppConfig_EXPORTS.h:28
Aws::AppConfig::Model::ResourceNotFoundException::ResourceNotFoundException
ResourceNotFoundException()
Aws::AppConfig::Model::ResourceNotFoundException::SetResourceName
void SetResourceName(const char *value)
Definition: ResourceNotFoundException.h:78
Aws::AppConfig::Model::ResourceNotFoundException::MessageHasBeenSet
bool MessageHasBeenSet() const
Definition: ResourceNotFoundException.h:44