AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
Attribute.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iotevents/IoTEvents_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace IoTEvents {
20namespace Model {
21
32class Attribute {
33 public:
34 AWS_IOTEVENTS_API Attribute() = default;
35 AWS_IOTEVENTS_API Attribute(Aws::Utils::Json::JsonView jsonValue);
36 AWS_IOTEVENTS_API Attribute& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
49 inline const Aws::String& GetJsonPath() const { return m_jsonPath; }
50 inline bool JsonPathHasBeenSet() const { return m_jsonPathHasBeenSet; }
51 template <typename JsonPathT = Aws::String>
52 void SetJsonPath(JsonPathT&& value) {
53 m_jsonPathHasBeenSet = true;
54 m_jsonPath = std::forward<JsonPathT>(value);
55 }
56 template <typename JsonPathT = Aws::String>
57 Attribute& WithJsonPath(JsonPathT&& value) {
58 SetJsonPath(std::forward<JsonPathT>(value));
59 return *this;
60 }
62 private:
63 Aws::String m_jsonPath;
64 bool m_jsonPathHasBeenSet = false;
65};
66
67} // namespace Model
68} // namespace IoTEvents
69} // namespace Aws
const Aws::String & GetJsonPath() const
Definition Attribute.h:49
AWS_IOTEVENTS_API Attribute & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTEVENTS_API Attribute()=default
AWS_IOTEVENTS_API Attribute(Aws::Utils::Json::JsonView jsonValue)
void SetJsonPath(JsonPathT &&value)
Definition Attribute.h:52
Attribute & WithJsonPath(JsonPathT &&value)
Definition Attribute.h:57
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue