AWS SDK for C++

AWS SDK for C++ Version 1.11.762

Loading...
Searching...
No Matches
Mqtt5Configuration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/iot/IoT_EXPORTS.h>
9#include <aws/iot/model/PropagatingAttribute.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace IoT {
21namespace Model {
22
30 public:
31 AWS_IOT_API Mqtt5Configuration() = default;
35
37
41 inline const Aws::Vector<PropagatingAttribute>& GetPropagatingAttributes() const { return m_propagatingAttributes; }
42 inline bool PropagatingAttributesHasBeenSet() const { return m_propagatingAttributesHasBeenSet; }
43 template <typename PropagatingAttributesT = Aws::Vector<PropagatingAttribute>>
44 void SetPropagatingAttributes(PropagatingAttributesT&& value) {
45 m_propagatingAttributesHasBeenSet = true;
46 m_propagatingAttributes = std::forward<PropagatingAttributesT>(value);
47 }
48 template <typename PropagatingAttributesT = Aws::Vector<PropagatingAttribute>>
49 Mqtt5Configuration& WithPropagatingAttributes(PropagatingAttributesT&& value) {
50 SetPropagatingAttributes(std::forward<PropagatingAttributesT>(value));
51 return *this;
52 }
53 template <typename PropagatingAttributesT = PropagatingAttribute>
54 Mqtt5Configuration& AddPropagatingAttributes(PropagatingAttributesT&& value) {
55 m_propagatingAttributesHasBeenSet = true;
56 m_propagatingAttributes.emplace_back(std::forward<PropagatingAttributesT>(value));
57 return *this;
58 }
60 private:
61 Aws::Vector<PropagatingAttribute> m_propagatingAttributes;
62 bool m_propagatingAttributesHasBeenSet = false;
63};
64
65} // namespace Model
66} // namespace IoT
67} // 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