AWS SDK for C++  1.9.124
AWS SDK for C++
Attribute.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace IoTEvents
22 {
23 namespace Model
24 {
25 
37  {
38  public:
43 
44 
54  inline const Aws::String& GetJsonPath() const{ return m_jsonPath; }
55 
65  inline bool JsonPathHasBeenSet() const { return m_jsonPathHasBeenSet; }
66 
76  inline void SetJsonPath(const Aws::String& value) { m_jsonPathHasBeenSet = true; m_jsonPath = value; }
77 
87  inline void SetJsonPath(Aws::String&& value) { m_jsonPathHasBeenSet = true; m_jsonPath = std::move(value); }
88 
98  inline void SetJsonPath(const char* value) { m_jsonPathHasBeenSet = true; m_jsonPath.assign(value); }
99 
109  inline Attribute& WithJsonPath(const Aws::String& value) { SetJsonPath(value); return *this;}
110 
120  inline Attribute& WithJsonPath(Aws::String&& value) { SetJsonPath(std::move(value)); return *this;}
121 
131  inline Attribute& WithJsonPath(const char* value) { SetJsonPath(value); return *this;}
132 
133  private:
134 
135  Aws::String m_jsonPath;
136  bool m_jsonPathHasBeenSet;
137  };
138 
139 } // namespace Model
140 } // namespace IoTEvents
141 } // namespace Aws
Aws::IoTEvents::Model::Attribute::WithJsonPath
Attribute & WithJsonPath(const char *value)
Definition: Attribute.h:131
Aws::IoTEvents::Model::Attribute::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoTEvents::Model::Attribute::GetJsonPath
const Aws::String & GetJsonPath() const
Definition: Attribute.h:54
Aws::IoTEvents::Model::Attribute::JsonPathHasBeenSet
bool JsonPathHasBeenSet() const
Definition: Attribute.h:65
Aws::IoTEvents::Model::Attribute::WithJsonPath
Attribute & WithJsonPath(const Aws::String &value)
Definition: Attribute.h:109
Aws::IoTEvents::Model::Attribute::SetJsonPath
void SetJsonPath(const Aws::String &value)
Definition: Attribute.h:76
Aws::IoTEvents::Model::Attribute::WithJsonPath
Attribute & WithJsonPath(Aws::String &&value)
Definition: Attribute.h:120
Aws::IoTEvents::Model::Attribute::SetJsonPath
void SetJsonPath(const char *value)
Definition: Attribute.h:98
Aws::IoTEvents::Model::Attribute::Attribute
Attribute(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoTEvents::Model::Attribute
Definition: Attribute.h:37
Aws::IoTEvents::Model::Attribute::operator=
Attribute & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTEvents::Model::Attribute::SetJsonPath
void SetJsonPath(Aws::String &&value)
Definition: Attribute.h:87
Aws
Definition: AccessManagementClient.h:15
IoTEvents_EXPORTS.h
AWS_IOTEVENTS_API
#define AWS_IOTEVENTS_API
Definition: IoTEvents_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTEvents::Model::Attribute::Attribute
Attribute()