AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
MqttTopicConfig.h
1
6#pragma once
7#include <aws/iotfleetwise/IoTFleetWise_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 IoTFleetWise
22{
23namespace Model
24{
25
40 {
41 public:
42 AWS_IOTFLEETWISE_API MqttTopicConfig() = default;
43 AWS_IOTFLEETWISE_API MqttTopicConfig(Aws::Utils::Json::JsonView jsonValue);
44 AWS_IOTFLEETWISE_API MqttTopicConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
52 inline const Aws::String& GetMqttTopicArn() const { return m_mqttTopicArn; }
53 inline bool MqttTopicArnHasBeenSet() const { return m_mqttTopicArnHasBeenSet; }
54 template<typename MqttTopicArnT = Aws::String>
55 void SetMqttTopicArn(MqttTopicArnT&& value) { m_mqttTopicArnHasBeenSet = true; m_mqttTopicArn = std::forward<MqttTopicArnT>(value); }
56 template<typename MqttTopicArnT = Aws::String>
57 MqttTopicConfig& WithMqttTopicArn(MqttTopicArnT&& value) { SetMqttTopicArn(std::forward<MqttTopicArnT>(value)); return *this;}
59
61
65 inline const Aws::String& GetExecutionRoleArn() const { return m_executionRoleArn; }
66 inline bool ExecutionRoleArnHasBeenSet() const { return m_executionRoleArnHasBeenSet; }
67 template<typename ExecutionRoleArnT = Aws::String>
68 void SetExecutionRoleArn(ExecutionRoleArnT&& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = std::forward<ExecutionRoleArnT>(value); }
69 template<typename ExecutionRoleArnT = Aws::String>
70 MqttTopicConfig& WithExecutionRoleArn(ExecutionRoleArnT&& value) { SetExecutionRoleArn(std::forward<ExecutionRoleArnT>(value)); return *this;}
72 private:
73
74 Aws::String m_mqttTopicArn;
75 bool m_mqttTopicArnHasBeenSet = false;
76
77 Aws::String m_executionRoleArn;
78 bool m_executionRoleArnHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace IoTFleetWise
83} // namespace Aws
void SetExecutionRoleArn(ExecutionRoleArnT &&value)
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTFLEETWISE_API MqttTopicConfig(Aws::Utils::Json::JsonView jsonValue)
MqttTopicConfig & WithExecutionRoleArn(ExecutionRoleArnT &&value)
const Aws::String & GetExecutionRoleArn() const
AWS_IOTFLEETWISE_API MqttTopicConfig()=default
void SetMqttTopicArn(MqttTopicArnT &&value)
MqttTopicConfig & WithMqttTopicArn(MqttTopicArnT &&value)
AWS_IOTFLEETWISE_API MqttTopicConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetMqttTopicArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue