AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
PropagatingAttribute.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoT
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_IOT_API PropagatingAttribute() = default;
39
40
42
45 inline const Aws::String& GetUserPropertyKey() const { return m_userPropertyKey; }
46 inline bool UserPropertyKeyHasBeenSet() const { return m_userPropertyKeyHasBeenSet; }
47 template<typename UserPropertyKeyT = Aws::String>
48 void SetUserPropertyKey(UserPropertyKeyT&& value) { m_userPropertyKeyHasBeenSet = true; m_userPropertyKey = std::forward<UserPropertyKeyT>(value); }
49 template<typename UserPropertyKeyT = Aws::String>
50 PropagatingAttribute& WithUserPropertyKey(UserPropertyKeyT&& value) { SetUserPropertyKey(std::forward<UserPropertyKeyT>(value)); return *this;}
52
54
58 inline const Aws::String& GetThingAttribute() const { return m_thingAttribute; }
59 inline bool ThingAttributeHasBeenSet() const { return m_thingAttributeHasBeenSet; }
60 template<typename ThingAttributeT = Aws::String>
61 void SetThingAttribute(ThingAttributeT&& value) { m_thingAttributeHasBeenSet = true; m_thingAttribute = std::forward<ThingAttributeT>(value); }
62 template<typename ThingAttributeT = Aws::String>
63 PropagatingAttribute& WithThingAttribute(ThingAttributeT&& value) { SetThingAttribute(std::forward<ThingAttributeT>(value)); return *this;}
65
67
71 inline const Aws::String& GetConnectionAttribute() const { return m_connectionAttribute; }
72 inline bool ConnectionAttributeHasBeenSet() const { return m_connectionAttributeHasBeenSet; }
73 template<typename ConnectionAttributeT = Aws::String>
74 void SetConnectionAttribute(ConnectionAttributeT&& value) { m_connectionAttributeHasBeenSet = true; m_connectionAttribute = std::forward<ConnectionAttributeT>(value); }
75 template<typename ConnectionAttributeT = Aws::String>
76 PropagatingAttribute& WithConnectionAttribute(ConnectionAttributeT&& value) { SetConnectionAttribute(std::forward<ConnectionAttributeT>(value)); return *this;}
78 private:
79
80 Aws::String m_userPropertyKey;
81 bool m_userPropertyKeyHasBeenSet = false;
82
83 Aws::String m_thingAttribute;
84 bool m_thingAttributeHasBeenSet = false;
85
86 Aws::String m_connectionAttribute;
87 bool m_connectionAttributeHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace IoT
92} // namespace Aws
AWS_IOT_API PropagatingAttribute(Aws::Utils::Json::JsonView jsonValue)
void SetConnectionAttribute(ConnectionAttributeT &&value)
PropagatingAttribute & WithThingAttribute(ThingAttributeT &&value)
const Aws::String & GetConnectionAttribute() const
const Aws::String & GetUserPropertyKey() const
void SetThingAttribute(ThingAttributeT &&value)
const Aws::String & GetThingAttribute() const
PropagatingAttribute & WithUserPropertyKey(UserPropertyKeyT &&value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOT_API PropagatingAttribute & operator=(Aws::Utils::Json::JsonView jsonValue)
PropagatingAttribute & WithConnectionAttribute(ConnectionAttributeT &&value)
void SetUserPropertyKey(UserPropertyKeyT &&value)
AWS_IOT_API PropagatingAttribute()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue