AWS SDK for C++  1.9.123
AWS SDK for C++
AssociateClientDeviceWithCoreDeviceErrorEntry.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 GreengrassV2
22 {
23 namespace Model
24 {
25 
35  {
36  public:
41 
42 
46  inline const Aws::String& GetThingName() const{ return m_thingName; }
47 
51  inline bool ThingNameHasBeenSet() const { return m_thingNameHasBeenSet; }
52 
56  inline void SetThingName(const Aws::String& value) { m_thingNameHasBeenSet = true; m_thingName = value; }
57 
61  inline void SetThingName(Aws::String&& value) { m_thingNameHasBeenSet = true; m_thingName = std::move(value); }
62 
66  inline void SetThingName(const char* value) { m_thingNameHasBeenSet = true; m_thingName.assign(value); }
67 
71  inline AssociateClientDeviceWithCoreDeviceErrorEntry& WithThingName(const Aws::String& value) { SetThingName(value); return *this;}
72 
76  inline AssociateClientDeviceWithCoreDeviceErrorEntry& WithThingName(Aws::String&& value) { SetThingName(std::move(value)); return *this;}
77 
81  inline AssociateClientDeviceWithCoreDeviceErrorEntry& WithThingName(const char* value) { SetThingName(value); return *this;}
82 
83 
87  inline const Aws::String& GetCode() const{ return m_code; }
88 
92  inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
93 
97  inline void SetCode(const Aws::String& value) { m_codeHasBeenSet = true; m_code = value; }
98 
102  inline void SetCode(Aws::String&& value) { m_codeHasBeenSet = true; m_code = std::move(value); }
103 
107  inline void SetCode(const char* value) { m_codeHasBeenSet = true; m_code.assign(value); }
108 
112  inline AssociateClientDeviceWithCoreDeviceErrorEntry& WithCode(const Aws::String& value) { SetCode(value); return *this;}
113 
117  inline AssociateClientDeviceWithCoreDeviceErrorEntry& WithCode(Aws::String&& value) { SetCode(std::move(value)); return *this;}
118 
122  inline AssociateClientDeviceWithCoreDeviceErrorEntry& WithCode(const char* value) { SetCode(value); return *this;}
123 
124 
128  inline const Aws::String& GetMessage() const{ return m_message; }
129 
133  inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
134 
138  inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
139 
143  inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
144 
148  inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
149 
153  inline AssociateClientDeviceWithCoreDeviceErrorEntry& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
154 
158  inline AssociateClientDeviceWithCoreDeviceErrorEntry& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
159 
163  inline AssociateClientDeviceWithCoreDeviceErrorEntry& WithMessage(const char* value) { SetMessage(value); return *this;}
164 
165  private:
166 
167  Aws::String m_thingName;
168  bool m_thingNameHasBeenSet;
169 
170  Aws::String m_code;
171  bool m_codeHasBeenSet;
172 
173  Aws::String m_message;
174  bool m_messageHasBeenSet;
175  };
176 
177 } // namespace Model
178 } // namespace GreengrassV2
179 } // namespace Aws
Aws::GreengrassV2::Model::AssociateClientDeviceWithCoreDeviceErrorEntry::WithMessage
AssociateClientDeviceWithCoreDeviceErrorEntry & WithMessage(const char *value)
Definition: AssociateClientDeviceWithCoreDeviceErrorEntry.h:163
Aws::GreengrassV2::Model::AssociateClientDeviceWithCoreDeviceErrorEntry::AssociateClientDeviceWithCoreDeviceErrorEntry
AssociateClientDeviceWithCoreDeviceErrorEntry(Aws::Utils::Json::JsonView jsonValue)
Aws::GreengrassV2::Model::AssociateClientDeviceWithCoreDeviceErrorEntry::SetCode
void SetCode(const Aws::String &value)
Definition: AssociateClientDeviceWithCoreDeviceErrorEntry.h:97
Aws::GreengrassV2::Model::AssociateClientDeviceWithCoreDeviceErrorEntry::AssociateClientDeviceWithCoreDeviceErrorEntry
AssociateClientDeviceWithCoreDeviceErrorEntry()
Aws::GreengrassV2::Model::AssociateClientDeviceWithCoreDeviceErrorEntry::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::GreengrassV2::Model::AssociateClientDeviceWithCoreDeviceErrorEntry::CodeHasBeenSet
bool CodeHasBeenSet() const
Definition: AssociateClientDeviceWithCoreDeviceErrorEntry.h:92
Aws::GreengrassV2::Model::AssociateClientDeviceWithCoreDeviceErrorEntry::SetMessage
void SetMessage(const Aws::String &value)
Definition: AssociateClientDeviceWithCoreDeviceErrorEntry.h:138
Aws::GreengrassV2::Model::AssociateClientDeviceWithCoreDeviceErrorEntry::SetThingName
void SetThingName(const char *value)
Definition: AssociateClientDeviceWithCoreDeviceErrorEntry.h:66
GreengrassV2_EXPORTS.h
Aws::GreengrassV2::Model::AssociateClientDeviceWithCoreDeviceErrorEntry::GetMessage
const Aws::String & GetMessage() const
Definition: AssociateClientDeviceWithCoreDeviceErrorEntry.h:128
Aws::GreengrassV2::Model::AssociateClientDeviceWithCoreDeviceErrorEntry
Definition: AssociateClientDeviceWithCoreDeviceErrorEntry.h:35
Aws::GreengrassV2::Model::AssociateClientDeviceWithCoreDeviceErrorEntry::SetMessage
void SetMessage(Aws::String &&value)
Definition: AssociateClientDeviceWithCoreDeviceErrorEntry.h:143
AWS_GREENGRASSV2_API
#define AWS_GREENGRASSV2_API
Definition: GreengrassV2_EXPORTS.h:28
Aws::GreengrassV2::Model::AssociateClientDeviceWithCoreDeviceErrorEntry::GetThingName
const Aws::String & GetThingName() const
Definition: AssociateClientDeviceWithCoreDeviceErrorEntry.h:46
Aws::GreengrassV2::Model::AssociateClientDeviceWithCoreDeviceErrorEntry::ThingNameHasBeenSet
bool ThingNameHasBeenSet() const
Definition: AssociateClientDeviceWithCoreDeviceErrorEntry.h:51
Aws::GreengrassV2::Model::AssociateClientDeviceWithCoreDeviceErrorEntry::SetThingName
void SetThingName(const Aws::String &value)
Definition: AssociateClientDeviceWithCoreDeviceErrorEntry.h:56
Aws::GreengrassV2::Model::AssociateClientDeviceWithCoreDeviceErrorEntry::WithMessage
AssociateClientDeviceWithCoreDeviceErrorEntry & WithMessage(const Aws::String &value)
Definition: AssociateClientDeviceWithCoreDeviceErrorEntry.h:153
Aws::GreengrassV2::Model::AssociateClientDeviceWithCoreDeviceErrorEntry::MessageHasBeenSet
bool MessageHasBeenSet() const
Definition: AssociateClientDeviceWithCoreDeviceErrorEntry.h:133
Aws::GreengrassV2::Model::AssociateClientDeviceWithCoreDeviceErrorEntry::SetMessage
void SetMessage(const char *value)
Definition: AssociateClientDeviceWithCoreDeviceErrorEntry.h:148
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::GreengrassV2::Model::AssociateClientDeviceWithCoreDeviceErrorEntry::WithThingName
AssociateClientDeviceWithCoreDeviceErrorEntry & WithThingName(const char *value)
Definition: AssociateClientDeviceWithCoreDeviceErrorEntry.h:81
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::GreengrassV2::Model::AssociateClientDeviceWithCoreDeviceErrorEntry::SetCode
void SetCode(const char *value)
Definition: AssociateClientDeviceWithCoreDeviceErrorEntry.h:107
Aws::GreengrassV2::Model::AssociateClientDeviceWithCoreDeviceErrorEntry::WithCode
AssociateClientDeviceWithCoreDeviceErrorEntry & WithCode(const Aws::String &value)
Definition: AssociateClientDeviceWithCoreDeviceErrorEntry.h:112
Aws::GreengrassV2::Model::AssociateClientDeviceWithCoreDeviceErrorEntry::WithThingName
AssociateClientDeviceWithCoreDeviceErrorEntry & WithThingName(const Aws::String &value)
Definition: AssociateClientDeviceWithCoreDeviceErrorEntry.h:71
Aws::GreengrassV2::Model::AssociateClientDeviceWithCoreDeviceErrorEntry::GetCode
const Aws::String & GetCode() const
Definition: AssociateClientDeviceWithCoreDeviceErrorEntry.h:87
Aws::GreengrassV2::Model::AssociateClientDeviceWithCoreDeviceErrorEntry::operator=
AssociateClientDeviceWithCoreDeviceErrorEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::GreengrassV2::Model::AssociateClientDeviceWithCoreDeviceErrorEntry::WithCode
AssociateClientDeviceWithCoreDeviceErrorEntry & WithCode(Aws::String &&value)
Definition: AssociateClientDeviceWithCoreDeviceErrorEntry.h:117
Aws
Definition: AccessManagementClient.h:15
Aws::GreengrassV2::Model::AssociateClientDeviceWithCoreDeviceErrorEntry::WithMessage
AssociateClientDeviceWithCoreDeviceErrorEntry & WithMessage(Aws::String &&value)
Definition: AssociateClientDeviceWithCoreDeviceErrorEntry.h:158
Aws::GreengrassV2::Model::AssociateClientDeviceWithCoreDeviceErrorEntry::SetCode
void SetCode(Aws::String &&value)
Definition: AssociateClientDeviceWithCoreDeviceErrorEntry.h:102
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GreengrassV2::Model::AssociateClientDeviceWithCoreDeviceErrorEntry::SetThingName
void SetThingName(Aws::String &&value)
Definition: AssociateClientDeviceWithCoreDeviceErrorEntry.h:61
Aws::GreengrassV2::Model::AssociateClientDeviceWithCoreDeviceErrorEntry::WithThingName
AssociateClientDeviceWithCoreDeviceErrorEntry & WithThingName(Aws::String &&value)
Definition: AssociateClientDeviceWithCoreDeviceErrorEntry.h:76
Aws::GreengrassV2::Model::AssociateClientDeviceWithCoreDeviceErrorEntry::WithCode
AssociateClientDeviceWithCoreDeviceErrorEntry & WithCode(const char *value)
Definition: AssociateClientDeviceWithCoreDeviceErrorEntry.h:122