AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateEntityResult.h
1
6#pragma once
7#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/iottwinmaker/model/State.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 CreateEntityResult();
35
36
38
41 inline const Aws::String& GetEntityId() const{ return m_entityId; }
42 inline void SetEntityId(const Aws::String& value) { m_entityId = value; }
43 inline void SetEntityId(Aws::String&& value) { m_entityId = std::move(value); }
44 inline void SetEntityId(const char* value) { m_entityId.assign(value); }
45 inline CreateEntityResult& WithEntityId(const Aws::String& value) { SetEntityId(value); return *this;}
46 inline CreateEntityResult& WithEntityId(Aws::String&& value) { SetEntityId(std::move(value)); return *this;}
47 inline CreateEntityResult& WithEntityId(const char* value) { SetEntityId(value); return *this;}
49
51
54 inline const Aws::String& GetArn() const{ return m_arn; }
55 inline void SetArn(const Aws::String& value) { m_arn = value; }
56 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
57 inline void SetArn(const char* value) { m_arn.assign(value); }
58 inline CreateEntityResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
59 inline CreateEntityResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
60 inline CreateEntityResult& WithArn(const char* value) { SetArn(value); return *this;}
62
64
67 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
68 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTime = value; }
69 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTime = std::move(value); }
71 inline CreateEntityResult& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
73
75
78 inline const State& GetState() const{ return m_state; }
79 inline void SetState(const State& value) { m_state = value; }
80 inline void SetState(State&& value) { m_state = std::move(value); }
81 inline CreateEntityResult& WithState(const State& value) { SetState(value); return *this;}
82 inline CreateEntityResult& WithState(State&& value) { SetState(std::move(value)); return *this;}
84
86
87 inline const Aws::String& GetRequestId() const{ return m_requestId; }
88 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
89 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
90 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
91 inline CreateEntityResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
92 inline CreateEntityResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
93 inline CreateEntityResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
95 private:
96
97 Aws::String m_entityId;
98
99 Aws::String m_arn;
100
101 Aws::Utils::DateTime m_creationDateTime;
102
103 State m_state;
104
105 Aws::String m_requestId;
106 };
107
108} // namespace Model
109} // namespace IoTTwinMaker
110} // namespace Aws
CreateEntityResult & WithState(State &&value)
CreateEntityResult & WithRequestId(const char *value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
CreateEntityResult & WithArn(Aws::String &&value)
CreateEntityResult & WithArn(const Aws::String &value)
CreateEntityResult & WithCreationDateTime(const Aws::Utils::DateTime &value)
CreateEntityResult & WithRequestId(Aws::String &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
void SetRequestId(const Aws::String &value)
CreateEntityResult & WithCreationDateTime(Aws::Utils::DateTime &&value)
void SetCreationDateTime(Aws::Utils::DateTime &&value)
CreateEntityResult & WithState(const State &value)
AWS_IOTTWINMAKER_API CreateEntityResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateEntityResult & WithRequestId(const Aws::String &value)
CreateEntityResult & WithEntityId(const Aws::String &value)
CreateEntityResult & WithEntityId(const char *value)
AWS_IOTTWINMAKER_API CreateEntityResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateEntityResult & WithEntityId(Aws::String &&value)
CreateEntityResult & WithArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue