AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
MatterCapabilityReportAttribute.h
1
6#pragma once
7#include <aws/core/utils/Document.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace IoTManagedIntegrations {
21namespace Model {
22
29 public:
30 AWS_IOTMANAGEDINTEGRATIONS_API MatterCapabilityReportAttribute() = default;
31 AWS_IOTMANAGEDINTEGRATIONS_API MatterCapabilityReportAttribute(Aws::Utils::Json::JsonView jsonValue);
32 AWS_IOTMANAGEDINTEGRATIONS_API MatterCapabilityReportAttribute& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetId() const { return m_id; }
40 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
41 template <typename IdT = Aws::String>
42 void SetId(IdT&& value) {
43 m_idHasBeenSet = true;
44 m_id = std::forward<IdT>(value);
45 }
46 template <typename IdT = Aws::String>
48 SetId(std::forward<IdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetName() const { return m_name; }
58 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
59 template <typename NameT = Aws::String>
60 void SetName(NameT&& value) {
61 m_nameHasBeenSet = true;
62 m_name = std::forward<NameT>(value);
63 }
64 template <typename NameT = Aws::String>
66 SetName(std::forward<NameT>(value));
67 return *this;
68 }
70
72
75 inline Aws::Utils::DocumentView GetValue() const { return m_value; }
76 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
77 template <typename ValueT = Aws::Utils::Document>
78 void SetValue(ValueT&& value) {
79 m_valueHasBeenSet = true;
80 m_value = std::forward<ValueT>(value);
81 }
82 template <typename ValueT = Aws::Utils::Document>
84 SetValue(std::forward<ValueT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_id;
90
91 Aws::String m_name;
92
94 bool m_idHasBeenSet = false;
95 bool m_nameHasBeenSet = false;
96 bool m_valueHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace IoTManagedIntegrations
101} // namespace Aws
AWS_IOTMANAGEDINTEGRATIONS_API MatterCapabilityReportAttribute & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTMANAGEDINTEGRATIONS_API MatterCapabilityReportAttribute(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTMANAGEDINTEGRATIONS_API MatterCapabilityReportAttribute()=default
AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue