AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InputDefinition.h
1
6#pragma once
7#include <aws/iotevents/IoTEvents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/iotevents/model/Attribute.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace IoTEvents
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_IOTEVENTS_API InputDefinition();
36 AWS_IOTEVENTS_API InputDefinition(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
50 inline const Aws::Vector<Attribute>& GetAttributes() const{ return m_attributes; }
51 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
52 inline void SetAttributes(const Aws::Vector<Attribute>& value) { m_attributesHasBeenSet = true; m_attributes = value; }
53 inline void SetAttributes(Aws::Vector<Attribute>&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); }
54 inline InputDefinition& WithAttributes(const Aws::Vector<Attribute>& value) { SetAttributes(value); return *this;}
55 inline InputDefinition& WithAttributes(Aws::Vector<Attribute>&& value) { SetAttributes(std::move(value)); return *this;}
56 inline InputDefinition& AddAttributes(const Attribute& value) { m_attributesHasBeenSet = true; m_attributes.push_back(value); return *this; }
57 inline InputDefinition& AddAttributes(Attribute&& value) { m_attributesHasBeenSet = true; m_attributes.push_back(std::move(value)); return *this; }
59 private:
60
61 Aws::Vector<Attribute> m_attributes;
62 bool m_attributesHasBeenSet = false;
63 };
64
65} // namespace Model
66} // namespace IoTEvents
67} // namespace Aws
InputDefinition & AddAttributes(Attribute &&value)
const Aws::Vector< Attribute > & GetAttributes() const
AWS_IOTEVENTS_API InputDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAttributes(Aws::Vector< Attribute > &&value)
void SetAttributes(const Aws::Vector< Attribute > &value)
AWS_IOTEVENTS_API InputDefinition(Aws::Utils::Json::JsonView jsonValue)
InputDefinition & WithAttributes(Aws::Vector< Attribute > &&value)
InputDefinition & WithAttributes(const Aws::Vector< Attribute > &value)
AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
InputDefinition & AddAttributes(const Attribute &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue