AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ActionSummary.h
1
6#pragma once
7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotsitewise/model/TargetResource.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 IoTSiteWise
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_IOTSITEWISE_API ActionSummary();
36 AWS_IOTSITEWISE_API ActionSummary(Aws::Utils::Json::JsonView jsonValue);
37 AWS_IOTSITEWISE_API ActionSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetActionId() const{ return m_actionId; }
46 inline bool ActionIdHasBeenSet() const { return m_actionIdHasBeenSet; }
47 inline void SetActionId(const Aws::String& value) { m_actionIdHasBeenSet = true; m_actionId = value; }
48 inline void SetActionId(Aws::String&& value) { m_actionIdHasBeenSet = true; m_actionId = std::move(value); }
49 inline void SetActionId(const char* value) { m_actionIdHasBeenSet = true; m_actionId.assign(value); }
50 inline ActionSummary& WithActionId(const Aws::String& value) { SetActionId(value); return *this;}
51 inline ActionSummary& WithActionId(Aws::String&& value) { SetActionId(std::move(value)); return *this;}
52 inline ActionSummary& WithActionId(const char* value) { SetActionId(value); return *this;}
54
56
59 inline const Aws::String& GetActionDefinitionId() const{ return m_actionDefinitionId; }
60 inline bool ActionDefinitionIdHasBeenSet() const { return m_actionDefinitionIdHasBeenSet; }
61 inline void SetActionDefinitionId(const Aws::String& value) { m_actionDefinitionIdHasBeenSet = true; m_actionDefinitionId = value; }
62 inline void SetActionDefinitionId(Aws::String&& value) { m_actionDefinitionIdHasBeenSet = true; m_actionDefinitionId = std::move(value); }
63 inline void SetActionDefinitionId(const char* value) { m_actionDefinitionIdHasBeenSet = true; m_actionDefinitionId.assign(value); }
64 inline ActionSummary& WithActionDefinitionId(const Aws::String& value) { SetActionDefinitionId(value); return *this;}
65 inline ActionSummary& WithActionDefinitionId(Aws::String&& value) { SetActionDefinitionId(std::move(value)); return *this;}
66 inline ActionSummary& WithActionDefinitionId(const char* value) { SetActionDefinitionId(value); return *this;}
68
70
73 inline const TargetResource& GetTargetResource() const{ return m_targetResource; }
74 inline bool TargetResourceHasBeenSet() const { return m_targetResourceHasBeenSet; }
75 inline void SetTargetResource(const TargetResource& value) { m_targetResourceHasBeenSet = true; m_targetResource = value; }
76 inline void SetTargetResource(TargetResource&& value) { m_targetResourceHasBeenSet = true; m_targetResource = std::move(value); }
77 inline ActionSummary& WithTargetResource(const TargetResource& value) { SetTargetResource(value); return *this;}
78 inline ActionSummary& WithTargetResource(TargetResource&& value) { SetTargetResource(std::move(value)); return *this;}
80 private:
81
82 Aws::String m_actionId;
83 bool m_actionIdHasBeenSet = false;
84
85 Aws::String m_actionDefinitionId;
86 bool m_actionDefinitionIdHasBeenSet = false;
87
88 TargetResource m_targetResource;
89 bool m_targetResourceHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace IoTSiteWise
94} // namespace Aws
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetActionDefinitionId(Aws::String &&value)
void SetActionDefinitionId(const char *value)
ActionSummary & WithActionDefinitionId(const char *value)
void SetActionId(const char *value)
void SetActionDefinitionId(const Aws::String &value)
AWS_IOTSITEWISE_API ActionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetActionId(Aws::String &&value)
ActionSummary & WithActionDefinitionId(const Aws::String &value)
AWS_IOTSITEWISE_API ActionSummary(Aws::Utils::Json::JsonView jsonValue)
ActionSummary & WithTargetResource(const TargetResource &value)
ActionSummary & WithTargetResource(TargetResource &&value)
void SetTargetResource(const TargetResource &value)
const Aws::String & GetActionId() const
void SetTargetResource(TargetResource &&value)
ActionSummary & WithActionId(const Aws::String &value)
ActionSummary & WithActionDefinitionId(Aws::String &&value)
void SetActionId(const Aws::String &value)
ActionSummary & WithActionId(const char *value)
const Aws::String & GetActionDefinitionId() const
ActionSummary & WithActionId(Aws::String &&value)
const TargetResource & GetTargetResource() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue