AWS SDK for C++  1.9.104
AWS SDK for C++
TooManyTags.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 SFN
22 {
23 namespace Model
24 {
25 
35  {
36  public:
41 
42 
43 
44  inline const Aws::String& GetMessage() const{ return m_message; }
45 
46 
47  inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
48 
49 
50  inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
51 
52 
53  inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
54 
55 
56  inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
57 
58 
59  inline TooManyTags& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
60 
61 
62  inline TooManyTags& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
63 
64 
65  inline TooManyTags& WithMessage(const char* value) { SetMessage(value); return *this;}
66 
67 
68 
69  inline const Aws::String& GetResourceName() const{ return m_resourceName; }
70 
71 
72  inline bool ResourceNameHasBeenSet() const { return m_resourceNameHasBeenSet; }
73 
74 
75  inline void SetResourceName(const Aws::String& value) { m_resourceNameHasBeenSet = true; m_resourceName = value; }
76 
77 
78  inline void SetResourceName(Aws::String&& value) { m_resourceNameHasBeenSet = true; m_resourceName = std::move(value); }
79 
80 
81  inline void SetResourceName(const char* value) { m_resourceNameHasBeenSet = true; m_resourceName.assign(value); }
82 
83 
84  inline TooManyTags& WithResourceName(const Aws::String& value) { SetResourceName(value); return *this;}
85 
86 
87  inline TooManyTags& WithResourceName(Aws::String&& value) { SetResourceName(std::move(value)); return *this;}
88 
89 
90  inline TooManyTags& WithResourceName(const char* value) { SetResourceName(value); return *this;}
91 
92  private:
93 
94  Aws::String m_message;
95  bool m_messageHasBeenSet;
96 
97  Aws::String m_resourceName;
98  bool m_resourceNameHasBeenSet;
99  };
100 
101 } // namespace Model
102 } // namespace SFN
103 } // namespace Aws
Aws::SFN::Model::TooManyTags::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SFN::Model::TooManyTags::SetResourceName
void SetResourceName(const Aws::String &value)
Definition: TooManyTags.h:75
Aws::SFN::Model::TooManyTags::TooManyTags
TooManyTags(Aws::Utils::Json::JsonView jsonValue)
Aws::SFN::Model::TooManyTags::SetMessage
void SetMessage(const Aws::String &value)
Definition: TooManyTags.h:50
Aws::SFN::Model::TooManyTags::SetMessage
void SetMessage(const char *value)
Definition: TooManyTags.h:56
Aws::SFN::Model::TooManyTags::SetMessage
void SetMessage(Aws::String &&value)
Definition: TooManyTags.h:53
AWS_SFN_API
#define AWS_SFN_API
Definition: SFN_EXPORTS.h:28
SFN_EXPORTS.h
Aws::SFN::Model::TooManyTags::WithMessage
TooManyTags & WithMessage(Aws::String &&value)
Definition: TooManyTags.h:62
Aws::SFN::Model::TooManyTags::SetResourceName
void SetResourceName(const char *value)
Definition: TooManyTags.h:81
Aws::SFN::Model::TooManyTags::WithMessage
TooManyTags & WithMessage(const char *value)
Definition: TooManyTags.h:65
Aws::SFN::Model::TooManyTags::GetMessage
const Aws::String & GetMessage() const
Definition: TooManyTags.h:44
Aws::SFN::Model::TooManyTags::WithResourceName
TooManyTags & WithResourceName(const char *value)
Definition: TooManyTags.h:90
Aws::SFN::Model::TooManyTags::SetResourceName
void SetResourceName(Aws::String &&value)
Definition: TooManyTags.h:78
Aws::SFN::Model::TooManyTags::WithResourceName
TooManyTags & WithResourceName(Aws::String &&value)
Definition: TooManyTags.h:87
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SFN::Model::TooManyTags::ResourceNameHasBeenSet
bool ResourceNameHasBeenSet() const
Definition: TooManyTags.h:72
Aws::SFN::Model::TooManyTags::MessageHasBeenSet
bool MessageHasBeenSet() const
Definition: TooManyTags.h:47
Aws::SFN::Model::TooManyTags::GetResourceName
const Aws::String & GetResourceName() const
Definition: TooManyTags.h:69
Aws::SFN::Model::TooManyTags
Definition: TooManyTags.h:35
Aws
Definition: AccessManagementClient.h:15
Aws::SFN::Model::TooManyTags::WithMessage
TooManyTags & WithMessage(const Aws::String &value)
Definition: TooManyTags.h:59
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SFN::Model::TooManyTags::operator=
TooManyTags & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SFN::Model::TooManyTags::WithResourceName
TooManyTags & WithResourceName(const Aws::String &value)
Definition: TooManyTags.h:84
Aws::SFN::Model::TooManyTags::TooManyTags
TooManyTags()