AWS SDK for C++  1.9.123
AWS SDK for C++
AssociateClientDeviceWithCoreDeviceEntry.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 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetThingName() const{ return m_thingName; }
46 
50  inline bool ThingNameHasBeenSet() const { return m_thingNameHasBeenSet; }
51 
55  inline void SetThingName(const Aws::String& value) { m_thingNameHasBeenSet = true; m_thingName = value; }
56 
60  inline void SetThingName(Aws::String&& value) { m_thingNameHasBeenSet = true; m_thingName = std::move(value); }
61 
65  inline void SetThingName(const char* value) { m_thingNameHasBeenSet = true; m_thingName.assign(value); }
66 
70  inline AssociateClientDeviceWithCoreDeviceEntry& WithThingName(const Aws::String& value) { SetThingName(value); return *this;}
71 
75  inline AssociateClientDeviceWithCoreDeviceEntry& WithThingName(Aws::String&& value) { SetThingName(std::move(value)); return *this;}
76 
80  inline AssociateClientDeviceWithCoreDeviceEntry& WithThingName(const char* value) { SetThingName(value); return *this;}
81 
82  private:
83 
84  Aws::String m_thingName;
85  bool m_thingNameHasBeenSet;
86  };
87 
88 } // namespace Model
89 } // namespace GreengrassV2
90 } // namespace Aws
Aws::GreengrassV2::Model::AssociateClientDeviceWithCoreDeviceEntry::SetThingName
void SetThingName(const Aws::String &value)
Definition: AssociateClientDeviceWithCoreDeviceEntry.h:55
Aws::GreengrassV2::Model::AssociateClientDeviceWithCoreDeviceEntry
Definition: AssociateClientDeviceWithCoreDeviceEntry.h:34
GreengrassV2_EXPORTS.h
AWS_GREENGRASSV2_API
#define AWS_GREENGRASSV2_API
Definition: GreengrassV2_EXPORTS.h:28
Aws::GreengrassV2::Model::AssociateClientDeviceWithCoreDeviceEntry::AssociateClientDeviceWithCoreDeviceEntry
AssociateClientDeviceWithCoreDeviceEntry()
Aws::GreengrassV2::Model::AssociateClientDeviceWithCoreDeviceEntry::ThingNameHasBeenSet
bool ThingNameHasBeenSet() const
Definition: AssociateClientDeviceWithCoreDeviceEntry.h:50
Aws::GreengrassV2::Model::AssociateClientDeviceWithCoreDeviceEntry::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::GreengrassV2::Model::AssociateClientDeviceWithCoreDeviceEntry::SetThingName
void SetThingName(Aws::String &&value)
Definition: AssociateClientDeviceWithCoreDeviceEntry.h:60
Aws::GreengrassV2::Model::AssociateClientDeviceWithCoreDeviceEntry::AssociateClientDeviceWithCoreDeviceEntry
AssociateClientDeviceWithCoreDeviceEntry(Aws::Utils::Json::JsonView jsonValue)
Aws::GreengrassV2::Model::AssociateClientDeviceWithCoreDeviceEntry::SetThingName
void SetThingName(const char *value)
Definition: AssociateClientDeviceWithCoreDeviceEntry.h:65
Aws::GreengrassV2::Model::AssociateClientDeviceWithCoreDeviceEntry::WithThingName
AssociateClientDeviceWithCoreDeviceEntry & WithThingName(const Aws::String &value)
Definition: AssociateClientDeviceWithCoreDeviceEntry.h:70
Aws::GreengrassV2::Model::AssociateClientDeviceWithCoreDeviceEntry::WithThingName
AssociateClientDeviceWithCoreDeviceEntry & WithThingName(const char *value)
Definition: AssociateClientDeviceWithCoreDeviceEntry.h:80
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GreengrassV2::Model::AssociateClientDeviceWithCoreDeviceEntry::WithThingName
AssociateClientDeviceWithCoreDeviceEntry & WithThingName(Aws::String &&value)
Definition: AssociateClientDeviceWithCoreDeviceEntry.h:75
Aws::GreengrassV2::Model::AssociateClientDeviceWithCoreDeviceEntry::operator=
AssociateClientDeviceWithCoreDeviceEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::GreengrassV2::Model::AssociateClientDeviceWithCoreDeviceEntry::GetThingName
const Aws::String & GetThingName() const
Definition: AssociateClientDeviceWithCoreDeviceEntry.h:45