AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssociatedClientDevice.h
1
6#pragma once
7#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace GreengrassV2
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_GREENGRASSV2_API AssociatedClientDevice();
37 AWS_GREENGRASSV2_API AssociatedClientDevice(Aws::Utils::Json::JsonView jsonValue);
39 AWS_GREENGRASSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetThingName() const{ return m_thingName; }
47 inline bool ThingNameHasBeenSet() const { return m_thingNameHasBeenSet; }
48 inline void SetThingName(const Aws::String& value) { m_thingNameHasBeenSet = true; m_thingName = value; }
49 inline void SetThingName(Aws::String&& value) { m_thingNameHasBeenSet = true; m_thingName = std::move(value); }
50 inline void SetThingName(const char* value) { m_thingNameHasBeenSet = true; m_thingName.assign(value); }
51 inline AssociatedClientDevice& WithThingName(const Aws::String& value) { SetThingName(value); return *this;}
52 inline AssociatedClientDevice& WithThingName(Aws::String&& value) { SetThingName(std::move(value)); return *this;}
53 inline AssociatedClientDevice& WithThingName(const char* value) { SetThingName(value); return *this;}
55
57
61 inline const Aws::Utils::DateTime& GetAssociationTimestamp() const{ return m_associationTimestamp; }
62 inline bool AssociationTimestampHasBeenSet() const { return m_associationTimestampHasBeenSet; }
63 inline void SetAssociationTimestamp(const Aws::Utils::DateTime& value) { m_associationTimestampHasBeenSet = true; m_associationTimestamp = value; }
64 inline void SetAssociationTimestamp(Aws::Utils::DateTime&& value) { m_associationTimestampHasBeenSet = true; m_associationTimestamp = std::move(value); }
68 private:
69
70 Aws::String m_thingName;
71 bool m_thingNameHasBeenSet = false;
72
73 Aws::Utils::DateTime m_associationTimestamp;
74 bool m_associationTimestampHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace GreengrassV2
79} // namespace Aws
void SetAssociationTimestamp(Aws::Utils::DateTime &&value)
void SetAssociationTimestamp(const Aws::Utils::DateTime &value)
AWS_GREENGRASSV2_API AssociatedClientDevice & operator=(Aws::Utils::Json::JsonView jsonValue)
AssociatedClientDevice & WithThingName(const char *value)
AWS_GREENGRASSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AssociatedClientDevice & WithThingName(const Aws::String &value)
AssociatedClientDevice & WithAssociationTimestamp(const Aws::Utils::DateTime &value)
AssociatedClientDevice & WithAssociationTimestamp(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetAssociationTimestamp() const
AWS_GREENGRASSV2_API AssociatedClientDevice(Aws::Utils::Json::JsonView jsonValue)
AssociatedClientDevice & WithThingName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue