AWS SDK for C++

AWS SDK for C++ Version 1.11.613

Loading...
Searching...
No Matches
CapabilityAction.h
1
6#pragma once
7#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/Document.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 IoTManagedIntegrations
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_IOTMANAGEDINTEGRATIONS_API CapabilityAction() = default;
37 AWS_IOTMANAGEDINTEGRATIONS_API CapabilityAction(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTMANAGEDINTEGRATIONS_API CapabilityAction& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetName() const { return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 template<typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
50 template<typename NameT = Aws::String>
51 CapabilityAction& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
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) { m_refHasBeenSet = true; m_ref = std::forward<RefT>(value); }
62 template<typename RefT = Aws::String>
63 CapabilityAction& WithRef(RefT&& value) { SetRef(std::forward<RefT>(value)); return *this;}
65
67
71 inline const Aws::String& GetActionTraceId() const { return m_actionTraceId; }
72 inline bool ActionTraceIdHasBeenSet() const { return m_actionTraceIdHasBeenSet; }
73 template<typename ActionTraceIdT = Aws::String>
74 void SetActionTraceId(ActionTraceIdT&& value) { m_actionTraceIdHasBeenSet = true; m_actionTraceId = std::forward<ActionTraceIdT>(value); }
75 template<typename ActionTraceIdT = Aws::String>
76 CapabilityAction& WithActionTraceId(ActionTraceIdT&& value) { SetActionTraceId(std::forward<ActionTraceIdT>(value)); return *this;}
78
80
83 inline Aws::Utils::DocumentView GetParameters() const { return m_parameters; }
84 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
85 template<typename ParametersT = Aws::Utils::Document>
86 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet = true; m_parameters = std::forward<ParametersT>(value); }
87 template<typename ParametersT = Aws::Utils::Document>
88 CapabilityAction& WithParameters(ParametersT&& value) { SetParameters(std::forward<ParametersT>(value)); return *this;}
90 private:
91
92 Aws::String m_name;
93 bool m_nameHasBeenSet = false;
94
95 Aws::String m_ref;
96 bool m_refHasBeenSet = false;
97
98 Aws::String m_actionTraceId;
99 bool m_actionTraceIdHasBeenSet = false;
100
101 Aws::Utils::Document m_parameters;
102 bool m_parametersHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace IoTManagedIntegrations
107} // 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