AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
CapabilityAction.h
1
6#pragma once
7#include <aws/core/utils/Document.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace IoTManagedIntegrations {
21namespace Model {
22
30 public:
31 AWS_IOTMANAGEDINTEGRATIONS_API CapabilityAction() = default;
32 AWS_IOTMANAGEDINTEGRATIONS_API CapabilityAction(Aws::Utils::Json::JsonView jsonValue);
33 AWS_IOTMANAGEDINTEGRATIONS_API CapabilityAction& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetName() const { return m_name; }
41 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
42 template <typename NameT = Aws::String>
43 void SetName(NameT&& value) {
44 m_nameHasBeenSet = true;
45 m_name = std::forward<NameT>(value);
46 }
47 template <typename NameT = Aws::String>
48 CapabilityAction& WithName(NameT&& value) {
49 SetName(std::forward<NameT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetRef() const { return m_ref; }
59 inline bool RefHasBeenSet() const { return m_refHasBeenSet; }
60 template <typename RefT = Aws::String>
61 void SetRef(RefT&& value) {
62 m_refHasBeenSet = true;
63 m_ref = std::forward<RefT>(value);
64 }
65 template <typename RefT = Aws::String>
66 CapabilityAction& WithRef(RefT&& value) {
67 SetRef(std::forward<RefT>(value));
68 return *this;
69 }
71
73
77 inline const Aws::String& GetActionTraceId() const { return m_actionTraceId; }
78 inline bool ActionTraceIdHasBeenSet() const { return m_actionTraceIdHasBeenSet; }
79 template <typename ActionTraceIdT = Aws::String>
80 void SetActionTraceId(ActionTraceIdT&& value) {
81 m_actionTraceIdHasBeenSet = true;
82 m_actionTraceId = std::forward<ActionTraceIdT>(value);
83 }
84 template <typename ActionTraceIdT = Aws::String>
85 CapabilityAction& WithActionTraceId(ActionTraceIdT&& value) {
86 SetActionTraceId(std::forward<ActionTraceIdT>(value));
87 return *this;
88 }
90
92
95 inline Aws::Utils::DocumentView GetParameters() const { return m_parameters; }
96 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
97 template <typename ParametersT = Aws::Utils::Document>
98 void SetParameters(ParametersT&& value) {
99 m_parametersHasBeenSet = true;
100 m_parameters = std::forward<ParametersT>(value);
101 }
102 template <typename ParametersT = Aws::Utils::Document>
103 CapabilityAction& WithParameters(ParametersT&& value) {
104 SetParameters(std::forward<ParametersT>(value));
105 return *this;
106 }
108 private:
109 Aws::String m_name;
110
111 Aws::String m_ref;
112
113 Aws::String m_actionTraceId;
114
115 Aws::Utils::Document m_parameters;
116 bool m_nameHasBeenSet = false;
117 bool m_refHasBeenSet = false;
118 bool m_actionTraceIdHasBeenSet = false;
119 bool m_parametersHasBeenSet = false;
120};
121
122} // namespace Model
123} // namespace IoTManagedIntegrations
124} // namespace Aws
AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
CapabilityAction & WithActionTraceId(ActionTraceIdT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API CapabilityAction & operator=(Aws::Utils::Json::JsonView jsonValue)
CapabilityAction & WithParameters(ParametersT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API CapabilityAction(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTMANAGEDINTEGRATIONS_API CapabilityAction()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue