AWS SDK for C++  1.9.104
AWS SDK for C++
TooManyTagsException.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 ServiceDiscovery
22 {
23 namespace Model
24 {
25 
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 TooManyTagsException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
58 
59 
60  inline TooManyTagsException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
61 
62 
63  inline TooManyTagsException& WithMessage(const char* value) { SetMessage(value); return *this;}
64 
65 
69  inline const Aws::String& GetResourceName() const{ return m_resourceName; }
70 
74  inline bool ResourceNameHasBeenSet() const { return m_resourceNameHasBeenSet; }
75 
79  inline void SetResourceName(const Aws::String& value) { m_resourceNameHasBeenSet = true; m_resourceName = value; }
80 
84  inline void SetResourceName(Aws::String&& value) { m_resourceNameHasBeenSet = true; m_resourceName = std::move(value); }
85 
89  inline void SetResourceName(const char* value) { m_resourceNameHasBeenSet = true; m_resourceName.assign(value); }
90 
94  inline TooManyTagsException& WithResourceName(const Aws::String& value) { SetResourceName(value); return *this;}
95 
99  inline TooManyTagsException& WithResourceName(Aws::String&& value) { SetResourceName(std::move(value)); return *this;}
100 
104  inline TooManyTagsException& WithResourceName(const char* value) { SetResourceName(value); return *this;}
105 
106  private:
107 
108  Aws::String m_message;
109  bool m_messageHasBeenSet;
110 
111  Aws::String m_resourceName;
112  bool m_resourceNameHasBeenSet;
113  };
114 
115 } // namespace Model
116 } // namespace ServiceDiscovery
117 } // namespace Aws
Aws::ServiceDiscovery::Model::TooManyTagsException::WithResourceName
TooManyTagsException & WithResourceName(Aws::String &&value)
Definition: TooManyTagsException.h:99
Aws::ServiceDiscovery::Model::TooManyTagsException::ResourceNameHasBeenSet
bool ResourceNameHasBeenSet() const
Definition: TooManyTagsException.h:74
AWS_SERVICEDISCOVERY_API
#define AWS_SERVICEDISCOVERY_API
Definition: ServiceDiscovery_EXPORTS.h:28
Aws::ServiceDiscovery::Model::TooManyTagsException::WithResourceName
TooManyTagsException & WithResourceName(const char *value)
Definition: TooManyTagsException.h:104
Aws::ServiceDiscovery::Model::TooManyTagsException::TooManyTagsException
TooManyTagsException()
ServiceDiscovery_EXPORTS.h
Aws::ServiceDiscovery::Model::TooManyTagsException::WithMessage
TooManyTagsException & WithMessage(const char *value)
Definition: TooManyTagsException.h:63
Aws::ServiceDiscovery::Model::TooManyTagsException::GetResourceName
const Aws::String & GetResourceName() const
Definition: TooManyTagsException.h:69
Aws::ServiceDiscovery::Model::TooManyTagsException::WithMessage
TooManyTagsException & WithMessage(const Aws::String &value)
Definition: TooManyTagsException.h:57
Aws::ServiceDiscovery::Model::TooManyTagsException::SetResourceName
void SetResourceName(Aws::String &&value)
Definition: TooManyTagsException.h:84
Aws::ServiceDiscovery::Model::TooManyTagsException::GetMessage
const Aws::String & GetMessage() const
Definition: TooManyTagsException.h:42
Aws::ServiceDiscovery::Model::TooManyTagsException::SetMessage
void SetMessage(const Aws::String &value)
Definition: TooManyTagsException.h:48
Aws::ServiceDiscovery::Model::TooManyTagsException
Definition: TooManyTagsException.h:33
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::ServiceDiscovery::Model::TooManyTagsException::SetResourceName
void SetResourceName(const char *value)
Definition: TooManyTagsException.h:89
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ServiceDiscovery::Model::TooManyTagsException::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ServiceDiscovery::Model::TooManyTagsException::operator=
TooManyTagsException & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ServiceDiscovery::Model::TooManyTagsException::SetMessage
void SetMessage(Aws::String &&value)
Definition: TooManyTagsException.h:51
Aws
Definition: AccessManagementClient.h:15
Aws::ServiceDiscovery::Model::TooManyTagsException::MessageHasBeenSet
bool MessageHasBeenSet() const
Definition: TooManyTagsException.h:45
Aws::ServiceDiscovery::Model::TooManyTagsException::WithResourceName
TooManyTagsException & WithResourceName(const Aws::String &value)
Definition: TooManyTagsException.h:94
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ServiceDiscovery::Model::TooManyTagsException::SetMessage
void SetMessage(const char *value)
Definition: TooManyTagsException.h:54
Aws::ServiceDiscovery::Model::TooManyTagsException::TooManyTagsException
TooManyTagsException(Aws::Utils::Json::JsonView jsonValue)
Aws::ServiceDiscovery::Model::TooManyTagsException::WithMessage
TooManyTagsException & WithMessage(Aws::String &&value)
Definition: TooManyTagsException.h:60
Aws::ServiceDiscovery::Model::TooManyTagsException::SetResourceName
void SetResourceName(const Aws::String &value)
Definition: TooManyTagsException.h:79