AWS SDK for C++  1.9.156
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 IoTSiteWise
22 {
23 namespace Model
24 {
25 
36  {
37  public:
42 
43 
44 
45  inline const Aws::String& GetMessage() const{ return m_message; }
46 
47 
48  inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
49 
50 
51  inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
52 
53 
54  inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
55 
56 
57  inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
58 
59 
60  inline TooManyTagsException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
61 
62 
63  inline TooManyTagsException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
64 
65 
66  inline TooManyTagsException& WithMessage(const char* value) { SetMessage(value); return *this;}
67 
68 
72  inline const Aws::String& GetResourceName() const{ return m_resourceName; }
73 
77  inline bool ResourceNameHasBeenSet() const { return m_resourceNameHasBeenSet; }
78 
82  inline void SetResourceName(const Aws::String& value) { m_resourceNameHasBeenSet = true; m_resourceName = value; }
83 
87  inline void SetResourceName(Aws::String&& value) { m_resourceNameHasBeenSet = true; m_resourceName = std::move(value); }
88 
92  inline void SetResourceName(const char* value) { m_resourceNameHasBeenSet = true; m_resourceName.assign(value); }
93 
97  inline TooManyTagsException& WithResourceName(const Aws::String& value) { SetResourceName(value); return *this;}
98 
102  inline TooManyTagsException& WithResourceName(Aws::String&& value) { SetResourceName(std::move(value)); return *this;}
103 
107  inline TooManyTagsException& WithResourceName(const char* value) { SetResourceName(value); return *this;}
108 
109  private:
110 
111  Aws::String m_message;
112  bool m_messageHasBeenSet;
113 
114  Aws::String m_resourceName;
115  bool m_resourceNameHasBeenSet;
116  };
117 
118 } // namespace Model
119 } // namespace IoTSiteWise
120 } // namespace Aws
Aws::IoTSiteWise::Model::TooManyTagsException::TooManyTagsException
TooManyTagsException(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTSiteWise::Model::TooManyTagsException::MessageHasBeenSet
bool MessageHasBeenSet() const
Definition: TooManyTagsException.h:48
IoTSiteWise_EXPORTS.h
AWS_IOTSITEWISE_API
#define AWS_IOTSITEWISE_API
Definition: IoTSiteWise_EXPORTS.h:28
Aws::IoTSiteWise::Model::TooManyTagsException::SetResourceName
void SetResourceName(const char *value)
Definition: TooManyTagsException.h:92
Aws::IoTSiteWise::Model::TooManyTagsException::WithResourceName
TooManyTagsException & WithResourceName(Aws::String &&value)
Definition: TooManyTagsException.h:102
Aws::IoTSiteWise::Model::TooManyTagsException::ResourceNameHasBeenSet
bool ResourceNameHasBeenSet() const
Definition: TooManyTagsException.h:77
Aws::IoTSiteWise::Model::TooManyTagsException::GetMessage
const Aws::String & GetMessage() const
Definition: TooManyTagsException.h:45
Aws::IoTSiteWise::Model::TooManyTagsException::WithMessage
TooManyTagsException & WithMessage(const Aws::String &value)
Definition: TooManyTagsException.h:60
Aws::IoTSiteWise::Model::TooManyTagsException
Definition: TooManyTagsException.h:36
Aws::IoTSiteWise::Model::TooManyTagsException::GetResourceName
const Aws::String & GetResourceName() const
Definition: TooManyTagsException.h:72
Aws::IoTSiteWise::Model::TooManyTagsException::operator=
TooManyTagsException & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTSiteWise::Model::TooManyTagsException::SetMessage
void SetMessage(const Aws::String &value)
Definition: TooManyTagsException.h:51
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoTSiteWise::Model::TooManyTagsException::SetMessage
void SetMessage(const char *value)
Definition: TooManyTagsException.h:57
Aws::IoTSiteWise::Model::TooManyTagsException::WithMessage
TooManyTagsException & WithMessage(Aws::String &&value)
Definition: TooManyTagsException.h:63
Aws::IoTSiteWise::Model::TooManyTagsException::SetResourceName
void SetResourceName(const Aws::String &value)
Definition: TooManyTagsException.h:82
Aws::IoTSiteWise::Model::TooManyTagsException::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::IoTSiteWise::Model::TooManyTagsException::WithResourceName
TooManyTagsException & WithResourceName(const char *value)
Definition: TooManyTagsException.h:107
Aws::IoTSiteWise::Model::TooManyTagsException::WithMessage
TooManyTagsException & WithMessage(const char *value)
Definition: TooManyTagsException.h:66
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTSiteWise::Model::TooManyTagsException::SetMessage
void SetMessage(Aws::String &&value)
Definition: TooManyTagsException.h:54
Aws::IoTSiteWise::Model::TooManyTagsException::TooManyTagsException
TooManyTagsException()
Aws::IoTSiteWise::Model::TooManyTagsException::WithResourceName
TooManyTagsException & WithResourceName(const Aws::String &value)
Definition: TooManyTagsException.h:97
Aws::IoTSiteWise::Model::TooManyTagsException::SetResourceName
void SetResourceName(Aws::String &&value)
Definition: TooManyTagsException.h:87