AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetJsonPath(const Aws::String& value) { m_jsonPathHasBeenSet = true; m_jsonPath = value; }
58 inline void SetJsonPath(Aws::String&& value) { m_jsonPathHasBeenSet = true; m_jsonPath = std::move(value); }
59 inline void SetJsonPath(const char* value) { m_jsonPathHasBeenSet = true; m_jsonPath.assign(value); }
60 inline Attribute& WithJsonPath(const Aws::String& value) { SetJsonPath(value); return *this;}
61 inline Attribute& WithJsonPath(Aws::String&& value) { SetJsonPath(std::move(value)); return *this;}
62 inline Attribute& WithJsonPath(const char* value) { SetJsonPath(value); return *this;}
64 private:
65
66 Aws::String m_jsonPath;
67 bool m_jsonPathHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace IoTEvents
72} // namespace Aws
Attribute & WithJsonPath(const char *value)
Definition Attribute.h:62
const Aws::String & GetJsonPath() const
Definition Attribute.h:55
void SetJsonPath(const Aws::String &value)
Definition Attribute.h:57
Attribute & WithJsonPath(Aws::String &&value)
Definition Attribute.h:61
void SetJsonPath(const char *value)
Definition Attribute.h:59
AWS_IOTEVENTS_API Attribute & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
Attribute & WithJsonPath(const Aws::String &value)
Definition Attribute.h:60
void SetJsonPath(Aws::String &&value)
Definition Attribute.h:58
AWS_IOTEVENTS_API Attribute(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTEVENTS_API Attribute()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue