AWS SDK for C++  1.9.123
AWS SDK for C++
AssociatedClientDevice.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace GreengrassV2
23 {
24 namespace Model
25 {
26 
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 AssociatedClientDevice& WithThingName(const Aws::String& value) { SetThingName(value); return *this;}
71 
75  inline AssociatedClientDevice& WithThingName(Aws::String&& value) { SetThingName(std::move(value)); return *this;}
76 
80  inline AssociatedClientDevice& WithThingName(const char* value) { SetThingName(value); return *this;}
81 
82 
87  inline const Aws::Utils::DateTime& GetAssociationTimestamp() const{ return m_associationTimestamp; }
88 
93  inline bool AssociationTimestampHasBeenSet() const { return m_associationTimestampHasBeenSet; }
94 
99  inline void SetAssociationTimestamp(const Aws::Utils::DateTime& value) { m_associationTimestampHasBeenSet = true; m_associationTimestamp = value; }
100 
105  inline void SetAssociationTimestamp(Aws::Utils::DateTime&& value) { m_associationTimestampHasBeenSet = true; m_associationTimestamp = std::move(value); }
106 
111  inline AssociatedClientDevice& WithAssociationTimestamp(const Aws::Utils::DateTime& value) { SetAssociationTimestamp(value); return *this;}
112 
117  inline AssociatedClientDevice& WithAssociationTimestamp(Aws::Utils::DateTime&& value) { SetAssociationTimestamp(std::move(value)); return *this;}
118 
119  private:
120 
121  Aws::String m_thingName;
122  bool m_thingNameHasBeenSet;
123 
124  Aws::Utils::DateTime m_associationTimestamp;
125  bool m_associationTimestampHasBeenSet;
126  };
127 
128 } // namespace Model
129 } // namespace GreengrassV2
130 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::GreengrassV2::Model::AssociatedClientDevice::AssociationTimestampHasBeenSet
bool AssociationTimestampHasBeenSet() const
Definition: AssociatedClientDevice.h:93
Aws::GreengrassV2::Model::AssociatedClientDevice::SetThingName
void SetThingName(Aws::String &&value)
Definition: AssociatedClientDevice.h:60
DateTime.h
Aws::GreengrassV2::Model::AssociatedClientDevice::WithThingName
AssociatedClientDevice & WithThingName(const Aws::String &value)
Definition: AssociatedClientDevice.h:70
GreengrassV2_EXPORTS.h
Aws::GreengrassV2::Model::AssociatedClientDevice::SetAssociationTimestamp
void SetAssociationTimestamp(const Aws::Utils::DateTime &value)
Definition: AssociatedClientDevice.h:99
AWS_GREENGRASSV2_API
#define AWS_GREENGRASSV2_API
Definition: GreengrassV2_EXPORTS.h:28
Aws::GreengrassV2::Model::AssociatedClientDevice::GetThingName
const Aws::String & GetThingName() const
Definition: AssociatedClientDevice.h:45
Aws::GreengrassV2::Model::AssociatedClientDevice::AssociatedClientDevice
AssociatedClientDevice()
Aws::GreengrassV2::Model::AssociatedClientDevice::WithAssociationTimestamp
AssociatedClientDevice & WithAssociationTimestamp(Aws::Utils::DateTime &&value)
Definition: AssociatedClientDevice.h:117
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::GreengrassV2::Model::AssociatedClientDevice::ThingNameHasBeenSet
bool ThingNameHasBeenSet() const
Definition: AssociatedClientDevice.h:50
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::GreengrassV2::Model::AssociatedClientDevice::WithThingName
AssociatedClientDevice & WithThingName(const char *value)
Definition: AssociatedClientDevice.h:80
Aws::GreengrassV2::Model::AssociatedClientDevice::SetThingName
void SetThingName(const char *value)
Definition: AssociatedClientDevice.h:65
Aws::GreengrassV2::Model::AssociatedClientDevice::AssociatedClientDevice
AssociatedClientDevice(Aws::Utils::Json::JsonView jsonValue)
Aws::GreengrassV2::Model::AssociatedClientDevice::GetAssociationTimestamp
const Aws::Utils::DateTime & GetAssociationTimestamp() const
Definition: AssociatedClientDevice.h:87
Aws::GreengrassV2::Model::AssociatedClientDevice::operator=
AssociatedClientDevice & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::GreengrassV2::Model::AssociatedClientDevice::SetThingName
void SetThingName(const Aws::String &value)
Definition: AssociatedClientDevice.h:55
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GreengrassV2::Model::AssociatedClientDevice::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::GreengrassV2::Model::AssociatedClientDevice
Definition: AssociatedClientDevice.h:34
Aws::GreengrassV2::Model::AssociatedClientDevice::WithAssociationTimestamp
AssociatedClientDevice & WithAssociationTimestamp(const Aws::Utils::DateTime &value)
Definition: AssociatedClientDevice.h:111
Aws::GreengrassV2::Model::AssociatedClientDevice::WithThingName
AssociatedClientDevice & WithThingName(Aws::String &&value)
Definition: AssociatedClientDevice.h:75
Aws::GreengrassV2::Model::AssociatedClientDevice::SetAssociationTimestamp
void SetAssociationTimestamp(Aws::Utils::DateTime &&value)
Definition: AssociatedClientDevice.h:105