AWS SDK for C++

AWS SDK for C++ Version 1.11.818

Loading...
Searching...
No Matches
SubscriptionSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iot-data/IoTDataPlane_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace IoTDataPlane {
20namespace Model {
21
29 public:
30 AWS_IOTDATAPLANE_API SubscriptionSummary() = default;
31 AWS_IOTDATAPLANE_API SubscriptionSummary(Aws::Utils::Json::JsonView jsonValue);
33 AWS_IOTDATAPLANE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetTopicFilter() const { return m_topicFilter; }
41 inline bool TopicFilterHasBeenSet() const { return m_topicFilterHasBeenSet; }
42 template <typename TopicFilterT = Aws::String>
43 void SetTopicFilter(TopicFilterT&& value) {
44 m_topicFilterHasBeenSet = true;
45 m_topicFilter = std::forward<TopicFilterT>(value);
46 }
47 template <typename TopicFilterT = Aws::String>
48 SubscriptionSummary& WithTopicFilter(TopicFilterT&& value) {
49 SetTopicFilter(std::forward<TopicFilterT>(value));
50 return *this;
51 }
53
55
59 inline int GetQos() const { return m_qos; }
60 inline bool QosHasBeenSet() const { return m_qosHasBeenSet; }
61 inline void SetQos(int value) {
62 m_qosHasBeenSet = true;
63 m_qos = value;
64 }
65 inline SubscriptionSummary& WithQos(int value) {
66 SetQos(value);
67 return *this;
68 }
70 private:
71 Aws::String m_topicFilter;
72
73 int m_qos{0};
74 bool m_topicFilterHasBeenSet = false;
75 bool m_qosHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace IoTDataPlane
80} // namespace Aws
AWS_IOTDATAPLANE_API SubscriptionSummary()=default
SubscriptionSummary & WithTopicFilter(TopicFilterT &&value)
AWS_IOTDATAPLANE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTDATAPLANE_API SubscriptionSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTDATAPLANE_API SubscriptionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue