AWS SDK for C++  1.9.158
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 ManagedBlockchain
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 TooManyTagsException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
57 
58 
59  inline TooManyTagsException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
60 
61 
62  inline TooManyTagsException& WithMessage(const char* value) { SetMessage(value); return *this;}
63 
64 
68  inline const Aws::String& GetResourceName() const{ return m_resourceName; }
69 
73  inline bool ResourceNameHasBeenSet() const { return m_resourceNameHasBeenSet; }
74 
78  inline void SetResourceName(const Aws::String& value) { m_resourceNameHasBeenSet = true; m_resourceName = value; }
79 
83  inline void SetResourceName(Aws::String&& value) { m_resourceNameHasBeenSet = true; m_resourceName = std::move(value); }
84 
88  inline void SetResourceName(const char* value) { m_resourceNameHasBeenSet = true; m_resourceName.assign(value); }
89 
93  inline TooManyTagsException& WithResourceName(const Aws::String& value) { SetResourceName(value); return *this;}
94 
98  inline TooManyTagsException& WithResourceName(Aws::String&& value) { SetResourceName(std::move(value)); return *this;}
99 
103  inline TooManyTagsException& WithResourceName(const char* value) { SetResourceName(value); return *this;}
104 
105  private:
106 
107  Aws::String m_message;
108  bool m_messageHasBeenSet;
109 
110  Aws::String m_resourceName;
111  bool m_resourceNameHasBeenSet;
112  };
113 
114 } // namespace Model
115 } // namespace ManagedBlockchain
116 } // namespace Aws
Aws::ManagedBlockchain::Model::TooManyTagsException::WithMessage
TooManyTagsException & WithMessage(const Aws::String &value)
Definition: TooManyTagsException.h:56
Aws::ManagedBlockchain::Model::TooManyTagsException::SetMessage
void SetMessage(Aws::String &&value)
Definition: TooManyTagsException.h:50
Aws::ManagedBlockchain::Model::TooManyTagsException::GetMessage
const Aws::String & GetMessage() const
Definition: TooManyTagsException.h:41
Aws::ManagedBlockchain::Model::TooManyTagsException::TooManyTagsException
TooManyTagsException()
Aws::ManagedBlockchain::Model::TooManyTagsException::SetMessage
void SetMessage(const Aws::String &value)
Definition: TooManyTagsException.h:47
Aws::ManagedBlockchain::Model::TooManyTagsException
Definition: TooManyTagsException.h:32
Aws::ManagedBlockchain::Model::TooManyTagsException::TooManyTagsException
TooManyTagsException(Aws::Utils::Json::JsonView jsonValue)
Aws::ManagedBlockchain::Model::TooManyTagsException::WithMessage
TooManyTagsException & WithMessage(Aws::String &&value)
Definition: TooManyTagsException.h:59
Aws::ManagedBlockchain::Model::TooManyTagsException::operator=
TooManyTagsException & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ManagedBlockchain::Model::TooManyTagsException::SetMessage
void SetMessage(const char *value)
Definition: TooManyTagsException.h:53
Aws::ManagedBlockchain::Model::TooManyTagsException::WithResourceName
TooManyTagsException & WithResourceName(const char *value)
Definition: TooManyTagsException.h:103
Aws::ManagedBlockchain::Model::TooManyTagsException::SetResourceName
void SetResourceName(const Aws::String &value)
Definition: TooManyTagsException.h:78
Aws::ManagedBlockchain::Model::TooManyTagsException::ResourceNameHasBeenSet
bool ResourceNameHasBeenSet() const
Definition: TooManyTagsException.h:73
Aws::ManagedBlockchain::Model::TooManyTagsException::MessageHasBeenSet
bool MessageHasBeenSet() const
Definition: TooManyTagsException.h:44
Aws::ManagedBlockchain::Model::TooManyTagsException::SetResourceName
void SetResourceName(Aws::String &&value)
Definition: TooManyTagsException.h:83
Aws::ManagedBlockchain::Model::TooManyTagsException::GetResourceName
const Aws::String & GetResourceName() const
Definition: TooManyTagsException.h:68
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ManagedBlockchain::Model::TooManyTagsException::WithResourceName
TooManyTagsException & WithResourceName(Aws::String &&value)
Definition: TooManyTagsException.h:98
AWS_MANAGEDBLOCKCHAIN_API
#define AWS_MANAGEDBLOCKCHAIN_API
Definition: ManagedBlockchain_EXPORTS.h:28
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::ManagedBlockchain::Model::TooManyTagsException::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
ManagedBlockchain_EXPORTS.h
Aws::ManagedBlockchain::Model::TooManyTagsException::WithResourceName
TooManyTagsException & WithResourceName(const Aws::String &value)
Definition: TooManyTagsException.h:93
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ManagedBlockchain::Model::TooManyTagsException::WithMessage
TooManyTagsException & WithMessage(const char *value)
Definition: TooManyTagsException.h:62
Aws::ManagedBlockchain::Model::TooManyTagsException::SetResourceName
void SetResourceName(const char *value)
Definition: TooManyTagsException.h:88