AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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