AWS SDK for C++

AWS SDK for C++ Version 1.11.933

Loading...
Searching...
No Matches
MqttTopicConfig.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace IoTFleetWise {
20namespace Model {
21
36 public:
37 AWS_IOTFLEETWISE_API MqttTopicConfig() = default;
38 AWS_IOTFLEETWISE_API MqttTopicConfig(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTFLEETWISE_API MqttTopicConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
43
46 inline const Aws::String& GetMqttTopicArn() const { return m_mqttTopicArn; }
47 inline bool MqttTopicArnHasBeenSet() const { return m_mqttTopicArnHasBeenSet; }
48 template <typename MqttTopicArnT = Aws::String>
49 void SetMqttTopicArn(MqttTopicArnT&& value) {
50 m_mqttTopicArnHasBeenSet = true;
51 m_mqttTopicArn = std::forward<MqttTopicArnT>(value);
52 }
53 template <typename MqttTopicArnT = Aws::String>
54 MqttTopicConfig& WithMqttTopicArn(MqttTopicArnT&& value) {
55 SetMqttTopicArn(std::forward<MqttTopicArnT>(value));
56 return *this;
57 }
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) {
69 m_executionRoleArnHasBeenSet = true;
70 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
71 }
72 template <typename ExecutionRoleArnT = Aws::String>
73 MqttTopicConfig& WithExecutionRoleArn(ExecutionRoleArnT&& value) {
74 SetExecutionRoleArn(std::forward<ExecutionRoleArnT>(value));
75 return *this;
76 }
78 private:
79 Aws::String m_mqttTopicArn;
80
81 Aws::String m_executionRoleArn;
82 bool m_mqttTopicArnHasBeenSet = false;
83 bool m_executionRoleArnHasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace IoTFleetWise
88} // 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