AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MessageSignal.h
1
6#pragma once
7#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotfleetwise/model/StructuredMessage.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 IoTFleetWise
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_IOTFLEETWISE_API MessageSignal();
37 AWS_IOTFLEETWISE_API MessageSignal(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTFLEETWISE_API MessageSignal& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetTopicName() const{ return m_topicName; }
48 inline bool TopicNameHasBeenSet() const { return m_topicNameHasBeenSet; }
49 inline void SetTopicName(const Aws::String& value) { m_topicNameHasBeenSet = true; m_topicName = value; }
50 inline void SetTopicName(Aws::String&& value) { m_topicNameHasBeenSet = true; m_topicName = std::move(value); }
51 inline void SetTopicName(const char* value) { m_topicNameHasBeenSet = true; m_topicName.assign(value); }
52 inline MessageSignal& WithTopicName(const Aws::String& value) { SetTopicName(value); return *this;}
53 inline MessageSignal& WithTopicName(Aws::String&& value) { SetTopicName(std::move(value)); return *this;}
54 inline MessageSignal& WithTopicName(const char* value) { SetTopicName(value); return *this;}
56
58
64 inline const StructuredMessage& GetStructuredMessage() const{ return m_structuredMessage; }
65 inline bool StructuredMessageHasBeenSet() const { return m_structuredMessageHasBeenSet; }
66 inline void SetStructuredMessage(const StructuredMessage& value) { m_structuredMessageHasBeenSet = true; m_structuredMessage = value; }
67 inline void SetStructuredMessage(StructuredMessage&& value) { m_structuredMessageHasBeenSet = true; m_structuredMessage = std::move(value); }
68 inline MessageSignal& WithStructuredMessage(const StructuredMessage& value) { SetStructuredMessage(value); return *this;}
69 inline MessageSignal& WithStructuredMessage(StructuredMessage&& value) { SetStructuredMessage(std::move(value)); return *this;}
71 private:
72
73 Aws::String m_topicName;
74 bool m_topicNameHasBeenSet = false;
75
76 StructuredMessage m_structuredMessage;
77 bool m_structuredMessageHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace IoTFleetWise
82} // namespace Aws
MessageSignal & WithStructuredMessage(StructuredMessage &&value)
AWS_IOTFLEETWISE_API MessageSignal & operator=(Aws::Utils::Json::JsonView jsonValue)
MessageSignal & WithStructuredMessage(const StructuredMessage &value)
void SetStructuredMessage(const StructuredMessage &value)
void SetTopicName(const Aws::String &value)
MessageSignal & WithTopicName(Aws::String &&value)
MessageSignal & WithTopicName(const Aws::String &value)
const StructuredMessage & GetStructuredMessage() const
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTFLEETWISE_API MessageSignal(Aws::Utils::Json::JsonView jsonValue)
MessageSignal & WithTopicName(const char *value)
AWS_IOTFLEETWISE_API MessageSignal()
void SetTopicName(Aws::String &&value)
void SetStructuredMessage(StructuredMessage &&value)
const Aws::String & GetTopicName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue