AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Mqtt5Configuration.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/iot/model/PropagatingAttribute.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 IoT
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_IOT_API Mqtt5Configuration() = default;
40
41
43
47 inline const Aws::Vector<PropagatingAttribute>& GetPropagatingAttributes() const { return m_propagatingAttributes; }
48 inline bool PropagatingAttributesHasBeenSet() const { return m_propagatingAttributesHasBeenSet; }
49 template<typename PropagatingAttributesT = Aws::Vector<PropagatingAttribute>>
50 void SetPropagatingAttributes(PropagatingAttributesT&& value) { m_propagatingAttributesHasBeenSet = true; m_propagatingAttributes = std::forward<PropagatingAttributesT>(value); }
51 template<typename PropagatingAttributesT = Aws::Vector<PropagatingAttribute>>
52 Mqtt5Configuration& WithPropagatingAttributes(PropagatingAttributesT&& value) { SetPropagatingAttributes(std::forward<PropagatingAttributesT>(value)); return *this;}
53 template<typename PropagatingAttributesT = PropagatingAttribute>
54 Mqtt5Configuration& AddPropagatingAttributes(PropagatingAttributesT&& value) { m_propagatingAttributesHasBeenSet = true; m_propagatingAttributes.emplace_back(std::forward<PropagatingAttributesT>(value)); return *this; }
56 private:
57
58 Aws::Vector<PropagatingAttribute> m_propagatingAttributes;
59 bool m_propagatingAttributesHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace IoT
64} // namespace Aws
const Aws::Vector< PropagatingAttribute > & GetPropagatingAttributes() const
Mqtt5Configuration & WithPropagatingAttributes(PropagatingAttributesT &&value)
AWS_IOT_API Mqtt5Configuration(Aws::Utils::Json::JsonView jsonValue)
Mqtt5Configuration & AddPropagatingAttributes(PropagatingAttributesT &&value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPropagatingAttributes(PropagatingAttributesT &&value)
AWS_IOT_API Mqtt5Configuration()=default
AWS_IOT_API Mqtt5Configuration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue