AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateEntityResult.h
1
6#pragma once
7#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/iottwinmaker/model/State.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace IoTTwinMaker
26{
27namespace Model
28{
30 {
31 public:
32 AWS_IOTTWINMAKER_API UpdateEntityResult() = default;
35
36
38
41 inline const Aws::Utils::DateTime& GetUpdateDateTime() const { return m_updateDateTime; }
42 template<typename UpdateDateTimeT = Aws::Utils::DateTime>
43 void SetUpdateDateTime(UpdateDateTimeT&& value) { m_updateDateTimeHasBeenSet = true; m_updateDateTime = std::forward<UpdateDateTimeT>(value); }
44 template<typename UpdateDateTimeT = Aws::Utils::DateTime>
45 UpdateEntityResult& WithUpdateDateTime(UpdateDateTimeT&& value) { SetUpdateDateTime(std::forward<UpdateDateTimeT>(value)); return *this;}
47
49
52 inline State GetState() const { return m_state; }
53 inline void SetState(State value) { m_stateHasBeenSet = true; m_state = value; }
54 inline UpdateEntityResult& WithState(State value) { SetState(value); return *this;}
56
58
59 inline const Aws::String& GetRequestId() const { return m_requestId; }
60 template<typename RequestIdT = Aws::String>
61 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
62 template<typename RequestIdT = Aws::String>
63 UpdateEntityResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
65 private:
66
67 Aws::Utils::DateTime m_updateDateTime{};
68 bool m_updateDateTimeHasBeenSet = false;
69
70 State m_state{State::NOT_SET};
71 bool m_stateHasBeenSet = false;
72
73 Aws::String m_requestId;
74 bool m_requestIdHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace IoTTwinMaker
79} // namespace Aws
AWS_IOTTWINMAKER_API UpdateEntityResult()=default
UpdateEntityResult & WithUpdateDateTime(UpdateDateTimeT &&value)
const Aws::Utils::DateTime & GetUpdateDateTime() const
UpdateEntityResult & WithRequestId(RequestIdT &&value)
UpdateEntityResult & WithState(State value)
void SetUpdateDateTime(UpdateDateTimeT &&value)
AWS_IOTTWINMAKER_API UpdateEntityResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_IOTTWINMAKER_API UpdateEntityResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue