AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ActionDefinition.h
1
6#pragma once
7#include <aws/iotsitewise/IoTSiteWise_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 IoTSiteWise
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_IOTSITEWISE_API ActionDefinition();
35 AWS_IOTSITEWISE_API ActionDefinition(Aws::Utils::Json::JsonView jsonValue);
36 AWS_IOTSITEWISE_API ActionDefinition& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetActionDefinitionId() const{ return m_actionDefinitionId; }
45 inline bool ActionDefinitionIdHasBeenSet() const { return m_actionDefinitionIdHasBeenSet; }
46 inline void SetActionDefinitionId(const Aws::String& value) { m_actionDefinitionIdHasBeenSet = true; m_actionDefinitionId = value; }
47 inline void SetActionDefinitionId(Aws::String&& value) { m_actionDefinitionIdHasBeenSet = true; m_actionDefinitionId = std::move(value); }
48 inline void SetActionDefinitionId(const char* value) { m_actionDefinitionIdHasBeenSet = true; m_actionDefinitionId.assign(value); }
49 inline ActionDefinition& WithActionDefinitionId(const Aws::String& value) { SetActionDefinitionId(value); return *this;}
50 inline ActionDefinition& WithActionDefinitionId(Aws::String&& value) { SetActionDefinitionId(std::move(value)); return *this;}
51 inline ActionDefinition& WithActionDefinitionId(const char* value) { SetActionDefinitionId(value); return *this;}
53
55
58 inline const Aws::String& GetActionName() const{ return m_actionName; }
59 inline bool ActionNameHasBeenSet() const { return m_actionNameHasBeenSet; }
60 inline void SetActionName(const Aws::String& value) { m_actionNameHasBeenSet = true; m_actionName = value; }
61 inline void SetActionName(Aws::String&& value) { m_actionNameHasBeenSet = true; m_actionName = std::move(value); }
62 inline void SetActionName(const char* value) { m_actionNameHasBeenSet = true; m_actionName.assign(value); }
63 inline ActionDefinition& WithActionName(const Aws::String& value) { SetActionName(value); return *this;}
64 inline ActionDefinition& WithActionName(Aws::String&& value) { SetActionName(std::move(value)); return *this;}
65 inline ActionDefinition& WithActionName(const char* value) { SetActionName(value); return *this;}
67
69
72 inline const Aws::String& GetActionType() const{ return m_actionType; }
73 inline bool ActionTypeHasBeenSet() const { return m_actionTypeHasBeenSet; }
74 inline void SetActionType(const Aws::String& value) { m_actionTypeHasBeenSet = true; m_actionType = value; }
75 inline void SetActionType(Aws::String&& value) { m_actionTypeHasBeenSet = true; m_actionType = std::move(value); }
76 inline void SetActionType(const char* value) { m_actionTypeHasBeenSet = true; m_actionType.assign(value); }
77 inline ActionDefinition& WithActionType(const Aws::String& value) { SetActionType(value); return *this;}
78 inline ActionDefinition& WithActionType(Aws::String&& value) { SetActionType(std::move(value)); return *this;}
79 inline ActionDefinition& WithActionType(const char* value) { SetActionType(value); return *this;}
81 private:
82
83 Aws::String m_actionDefinitionId;
84 bool m_actionDefinitionIdHasBeenSet = false;
85
86 Aws::String m_actionName;
87 bool m_actionNameHasBeenSet = false;
88
89 Aws::String m_actionType;
90 bool m_actionTypeHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace IoTSiteWise
95} // namespace Aws
const Aws::String & GetActionType() const
void SetActionType(const Aws::String &value)
void SetActionDefinitionId(const Aws::String &value)
ActionDefinition & WithActionName(const Aws::String &value)
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTSITEWISE_API ActionDefinition(Aws::Utils::Json::JsonView jsonValue)
ActionDefinition & WithActionName(Aws::String &&value)
ActionDefinition & WithActionDefinitionId(const char *value)
ActionDefinition & WithActionType(Aws::String &&value)
const Aws::String & GetActionName() const
ActionDefinition & WithActionName(const char *value)
void SetActionDefinitionId(Aws::String &&value)
void SetActionName(const Aws::String &value)
ActionDefinition & WithActionType(const char *value)
AWS_IOTSITEWISE_API ActionDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
ActionDefinition & WithActionDefinitionId(Aws::String &&value)
ActionDefinition & WithActionDefinitionId(const Aws::String &value)
const Aws::String & GetActionDefinitionId() const
ActionDefinition & WithActionType(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue