AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeActionResult.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 <aws/iotsitewise/model/ActionPayload.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace IoTSiteWise
27{
28namespace Model
29{
31 {
32 public:
33 AWS_IOTSITEWISE_API DescribeActionResult();
36
37
39
42 inline const Aws::String& GetActionId() const{ return m_actionId; }
43 inline void SetActionId(const Aws::String& value) { m_actionId = value; }
44 inline void SetActionId(Aws::String&& value) { m_actionId = std::move(value); }
45 inline void SetActionId(const char* value) { m_actionId.assign(value); }
46 inline DescribeActionResult& WithActionId(const Aws::String& value) { SetActionId(value); return *this;}
47 inline DescribeActionResult& WithActionId(Aws::String&& value) { SetActionId(std::move(value)); return *this;}
48 inline DescribeActionResult& WithActionId(const char* value) { SetActionId(value); return *this;}
50
52
55 inline const TargetResource& GetTargetResource() const{ return m_targetResource; }
56 inline void SetTargetResource(const TargetResource& value) { m_targetResource = value; }
57 inline void SetTargetResource(TargetResource&& value) { m_targetResource = std::move(value); }
58 inline DescribeActionResult& WithTargetResource(const TargetResource& value) { SetTargetResource(value); return *this;}
59 inline DescribeActionResult& WithTargetResource(TargetResource&& value) { SetTargetResource(std::move(value)); return *this;}
61
63
66 inline const Aws::String& GetActionDefinitionId() const{ return m_actionDefinitionId; }
67 inline void SetActionDefinitionId(const Aws::String& value) { m_actionDefinitionId = value; }
68 inline void SetActionDefinitionId(Aws::String&& value) { m_actionDefinitionId = std::move(value); }
69 inline void SetActionDefinitionId(const char* value) { m_actionDefinitionId.assign(value); }
71 inline DescribeActionResult& WithActionDefinitionId(Aws::String&& value) { SetActionDefinitionId(std::move(value)); return *this;}
72 inline DescribeActionResult& WithActionDefinitionId(const char* value) { SetActionDefinitionId(value); return *this;}
74
76
79 inline const ActionPayload& GetActionPayload() const{ return m_actionPayload; }
80 inline void SetActionPayload(const ActionPayload& value) { m_actionPayload = value; }
81 inline void SetActionPayload(ActionPayload&& value) { m_actionPayload = std::move(value); }
82 inline DescribeActionResult& WithActionPayload(const ActionPayload& value) { SetActionPayload(value); return *this;}
83 inline DescribeActionResult& WithActionPayload(ActionPayload&& value) { SetActionPayload(std::move(value)); return *this;}
85
87
90 inline const Aws::Utils::DateTime& GetExecutionTime() const{ return m_executionTime; }
91 inline void SetExecutionTime(const Aws::Utils::DateTime& value) { m_executionTime = value; }
92 inline void SetExecutionTime(Aws::Utils::DateTime&& value) { m_executionTime = std::move(value); }
93 inline DescribeActionResult& WithExecutionTime(const Aws::Utils::DateTime& value) { SetExecutionTime(value); return *this;}
94 inline DescribeActionResult& WithExecutionTime(Aws::Utils::DateTime&& value) { SetExecutionTime(std::move(value)); return *this;}
96
98
99 inline const Aws::String& GetRequestId() const{ return m_requestId; }
100 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
101 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
102 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
103 inline DescribeActionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
104 inline DescribeActionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
105 inline DescribeActionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
107 private:
108
109 Aws::String m_actionId;
110
111 TargetResource m_targetResource;
112
113 Aws::String m_actionDefinitionId;
114
115 ActionPayload m_actionPayload;
116
117 Aws::Utils::DateTime m_executionTime;
118
119 Aws::String m_requestId;
120 };
121
122} // namespace Model
123} // namespace IoTSiteWise
124} // namespace Aws
void SetTargetResource(const TargetResource &value)
DescribeActionResult & WithActionId(const Aws::String &value)
void SetActionPayload(const ActionPayload &value)
DescribeActionResult & WithTargetResource(const TargetResource &value)
void SetExecutionTime(const Aws::Utils::DateTime &value)
void SetActionDefinitionId(const Aws::String &value)
AWS_IOTSITEWISE_API DescribeActionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeActionResult & WithExecutionTime(const Aws::Utils::DateTime &value)
DescribeActionResult & WithRequestId(const char *value)
DescribeActionResult & WithActionPayload(const ActionPayload &value)
DescribeActionResult & WithRequestId(const Aws::String &value)
DescribeActionResult & WithRequestId(Aws::String &&value)
DescribeActionResult & WithExecutionTime(Aws::Utils::DateTime &&value)
AWS_IOTSITEWISE_API DescribeActionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeActionResult & WithActionDefinitionId(const Aws::String &value)
void SetExecutionTime(Aws::Utils::DateTime &&value)
DescribeActionResult & WithActionDefinitionId(const char *value)
DescribeActionResult & WithActionId(const char *value)
DescribeActionResult & WithTargetResource(TargetResource &&value)
DescribeActionResult & WithActionId(Aws::String &&value)
DescribeActionResult & WithActionDefinitionId(Aws::String &&value)
DescribeActionResult & WithActionPayload(ActionPayload &&value)
const Aws::Utils::DateTime & GetExecutionTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue