AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
35
36
38
41 inline const Aws::Utils::DateTime& GetUpdateDateTime() const{ return m_updateDateTime; }
42 inline void SetUpdateDateTime(const Aws::Utils::DateTime& value) { m_updateDateTime = value; }
43 inline void SetUpdateDateTime(Aws::Utils::DateTime&& value) { m_updateDateTime = std::move(value); }
44 inline UpdateEntityResult& WithUpdateDateTime(const Aws::Utils::DateTime& value) { SetUpdateDateTime(value); return *this;}
45 inline UpdateEntityResult& WithUpdateDateTime(Aws::Utils::DateTime&& value) { SetUpdateDateTime(std::move(value)); return *this;}
47
49
52 inline const State& GetState() const{ return m_state; }
53 inline void SetState(const State& value) { m_state = value; }
54 inline void SetState(State&& value) { m_state = std::move(value); }
55 inline UpdateEntityResult& WithState(const State& value) { SetState(value); return *this;}
56 inline UpdateEntityResult& WithState(State&& value) { SetState(std::move(value)); return *this;}
58
60
61 inline const Aws::String& GetRequestId() const{ return m_requestId; }
62 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
63 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
64 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
65 inline UpdateEntityResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
66 inline UpdateEntityResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
67 inline UpdateEntityResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
69 private:
70
71 Aws::Utils::DateTime m_updateDateTime;
72
73 State m_state;
74
75 Aws::String m_requestId;
76 };
77
78} // namespace Model
79} // namespace IoTTwinMaker
80} // namespace Aws
UpdateEntityResult & WithRequestId(Aws::String &&value)
void SetUpdateDateTime(const Aws::Utils::DateTime &value)
UpdateEntityResult & WithRequestId(const char *value)
UpdateEntityResult & WithState(State &&value)
UpdateEntityResult & WithState(const State &value)
const Aws::Utils::DateTime & GetUpdateDateTime() const
UpdateEntityResult & WithUpdateDateTime(Aws::Utils::DateTime &&value)
UpdateEntityResult & WithUpdateDateTime(const Aws::Utils::DateTime &value)
AWS_IOTTWINMAKER_API UpdateEntityResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetUpdateDateTime(Aws::Utils::DateTime &&value)
AWS_IOTTWINMAKER_API UpdateEntityResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateEntityResult & WithRequestId(const Aws::String &value)
void SetRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue