AWS SDK for C++  1.9.123
AWS SDK for C++
DisassociateClientDeviceFromCoreDeviceErrorEntry.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 DisassociateClientDeviceFromCoreDeviceErrorEntry& WithThingName(const Aws::String& value) { SetThingName(value); return *this;}
72 
76  inline DisassociateClientDeviceFromCoreDeviceErrorEntry& WithThingName(Aws::String&& value) { SetThingName(std::move(value)); return *this;}
77 
81  inline DisassociateClientDeviceFromCoreDeviceErrorEntry& 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 DisassociateClientDeviceFromCoreDeviceErrorEntry& WithCode(const Aws::String& value) { SetCode(value); return *this;}
113 
117  inline DisassociateClientDeviceFromCoreDeviceErrorEntry& WithCode(Aws::String&& value) { SetCode(std::move(value)); return *this;}
118 
122  inline DisassociateClientDeviceFromCoreDeviceErrorEntry& 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 DisassociateClientDeviceFromCoreDeviceErrorEntry& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
154 
158  inline DisassociateClientDeviceFromCoreDeviceErrorEntry& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
159 
163  inline DisassociateClientDeviceFromCoreDeviceErrorEntry& 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::DisassociateClientDeviceFromCoreDeviceErrorEntry::WithMessage
DisassociateClientDeviceFromCoreDeviceErrorEntry & WithMessage(const char *value)
Definition: DisassociateClientDeviceFromCoreDeviceErrorEntry.h:163
Aws::GreengrassV2::Model::DisassociateClientDeviceFromCoreDeviceErrorEntry::SetMessage
void SetMessage(const Aws::String &value)
Definition: DisassociateClientDeviceFromCoreDeviceErrorEntry.h:138
GreengrassV2_EXPORTS.h
Aws::GreengrassV2::Model::DisassociateClientDeviceFromCoreDeviceErrorEntry::WithThingName
DisassociateClientDeviceFromCoreDeviceErrorEntry & WithThingName(const char *value)
Definition: DisassociateClientDeviceFromCoreDeviceErrorEntry.h:81
Aws::GreengrassV2::Model::DisassociateClientDeviceFromCoreDeviceErrorEntry
Definition: DisassociateClientDeviceFromCoreDeviceErrorEntry.h:35
Aws::GreengrassV2::Model::DisassociateClientDeviceFromCoreDeviceErrorEntry::SetCode
void SetCode(const char *value)
Definition: DisassociateClientDeviceFromCoreDeviceErrorEntry.h:107
Aws::GreengrassV2::Model::DisassociateClientDeviceFromCoreDeviceErrorEntry::GetMessage
const Aws::String & GetMessage() const
Definition: DisassociateClientDeviceFromCoreDeviceErrorEntry.h:128
Aws::GreengrassV2::Model::DisassociateClientDeviceFromCoreDeviceErrorEntry::ThingNameHasBeenSet
bool ThingNameHasBeenSet() const
Definition: DisassociateClientDeviceFromCoreDeviceErrorEntry.h:51
Aws::GreengrassV2::Model::DisassociateClientDeviceFromCoreDeviceErrorEntry::SetThingName
void SetThingName(const Aws::String &value)
Definition: DisassociateClientDeviceFromCoreDeviceErrorEntry.h:56
Aws::GreengrassV2::Model::DisassociateClientDeviceFromCoreDeviceErrorEntry::WithMessage
DisassociateClientDeviceFromCoreDeviceErrorEntry & WithMessage(Aws::String &&value)
Definition: DisassociateClientDeviceFromCoreDeviceErrorEntry.h:158
AWS_GREENGRASSV2_API
#define AWS_GREENGRASSV2_API
Definition: GreengrassV2_EXPORTS.h:28
Aws::GreengrassV2::Model::DisassociateClientDeviceFromCoreDeviceErrorEntry::GetCode
const Aws::String & GetCode() const
Definition: DisassociateClientDeviceFromCoreDeviceErrorEntry.h:87
Aws::GreengrassV2::Model::DisassociateClientDeviceFromCoreDeviceErrorEntry::SetMessage
void SetMessage(const char *value)
Definition: DisassociateClientDeviceFromCoreDeviceErrorEntry.h:148
Aws::GreengrassV2::Model::DisassociateClientDeviceFromCoreDeviceErrorEntry::SetThingName
void SetThingName(Aws::String &&value)
Definition: DisassociateClientDeviceFromCoreDeviceErrorEntry.h:61
Aws::GreengrassV2::Model::DisassociateClientDeviceFromCoreDeviceErrorEntry::SetThingName
void SetThingName(const char *value)
Definition: DisassociateClientDeviceFromCoreDeviceErrorEntry.h:66
Aws::GreengrassV2::Model::DisassociateClientDeviceFromCoreDeviceErrorEntry::DisassociateClientDeviceFromCoreDeviceErrorEntry
DisassociateClientDeviceFromCoreDeviceErrorEntry(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::GreengrassV2::Model::DisassociateClientDeviceFromCoreDeviceErrorEntry::WithCode
DisassociateClientDeviceFromCoreDeviceErrorEntry & WithCode(const char *value)
Definition: DisassociateClientDeviceFromCoreDeviceErrorEntry.h:122
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::GreengrassV2::Model::DisassociateClientDeviceFromCoreDeviceErrorEntry::SetCode
void SetCode(const Aws::String &value)
Definition: DisassociateClientDeviceFromCoreDeviceErrorEntry.h:97
Aws::GreengrassV2::Model::DisassociateClientDeviceFromCoreDeviceErrorEntry::GetThingName
const Aws::String & GetThingName() const
Definition: DisassociateClientDeviceFromCoreDeviceErrorEntry.h:46
Aws::GreengrassV2::Model::DisassociateClientDeviceFromCoreDeviceErrorEntry::WithCode
DisassociateClientDeviceFromCoreDeviceErrorEntry & WithCode(const Aws::String &value)
Definition: DisassociateClientDeviceFromCoreDeviceErrorEntry.h:112
Aws::GreengrassV2::Model::DisassociateClientDeviceFromCoreDeviceErrorEntry::CodeHasBeenSet
bool CodeHasBeenSet() const
Definition: DisassociateClientDeviceFromCoreDeviceErrorEntry.h:92
Aws::GreengrassV2::Model::DisassociateClientDeviceFromCoreDeviceErrorEntry::WithMessage
DisassociateClientDeviceFromCoreDeviceErrorEntry & WithMessage(const Aws::String &value)
Definition: DisassociateClientDeviceFromCoreDeviceErrorEntry.h:153
Aws::GreengrassV2::Model::DisassociateClientDeviceFromCoreDeviceErrorEntry::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws
Definition: AccessManagementClient.h:15
Aws::GreengrassV2::Model::DisassociateClientDeviceFromCoreDeviceErrorEntry::MessageHasBeenSet
bool MessageHasBeenSet() const
Definition: DisassociateClientDeviceFromCoreDeviceErrorEntry.h:133
Aws::GreengrassV2::Model::DisassociateClientDeviceFromCoreDeviceErrorEntry::SetCode
void SetCode(Aws::String &&value)
Definition: DisassociateClientDeviceFromCoreDeviceErrorEntry.h:102
Aws::GreengrassV2::Model::DisassociateClientDeviceFromCoreDeviceErrorEntry::WithCode
DisassociateClientDeviceFromCoreDeviceErrorEntry & WithCode(Aws::String &&value)
Definition: DisassociateClientDeviceFromCoreDeviceErrorEntry.h:117
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GreengrassV2::Model::DisassociateClientDeviceFromCoreDeviceErrorEntry::WithThingName
DisassociateClientDeviceFromCoreDeviceErrorEntry & WithThingName(const Aws::String &value)
Definition: DisassociateClientDeviceFromCoreDeviceErrorEntry.h:71
Aws::GreengrassV2::Model::DisassociateClientDeviceFromCoreDeviceErrorEntry::WithThingName
DisassociateClientDeviceFromCoreDeviceErrorEntry & WithThingName(Aws::String &&value)
Definition: DisassociateClientDeviceFromCoreDeviceErrorEntry.h:76
Aws::GreengrassV2::Model::DisassociateClientDeviceFromCoreDeviceErrorEntry::DisassociateClientDeviceFromCoreDeviceErrorEntry
DisassociateClientDeviceFromCoreDeviceErrorEntry()
Aws::GreengrassV2::Model::DisassociateClientDeviceFromCoreDeviceErrorEntry::operator=
DisassociateClientDeviceFromCoreDeviceErrorEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::GreengrassV2::Model::DisassociateClientDeviceFromCoreDeviceErrorEntry::SetMessage
void SetMessage(Aws::String &&value)
Definition: DisassociateClientDeviceFromCoreDeviceErrorEntry.h:143