AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ParentEntityUpdateRequest.h
1
6#pragma once
7#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
8#include <aws/iottwinmaker/model/ParentEntityUpdateType.h>
9#include <aws/core/utils/memory/stl/AWSString.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 IoTTwinMaker
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_IOTTWINMAKER_API ParentEntityUpdateRequest();
38 AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const ParentEntityUpdateType& GetUpdateType() const{ return m_updateType; }
46 inline bool UpdateTypeHasBeenSet() const { return m_updateTypeHasBeenSet; }
47 inline void SetUpdateType(const ParentEntityUpdateType& value) { m_updateTypeHasBeenSet = true; m_updateType = value; }
48 inline void SetUpdateType(ParentEntityUpdateType&& value) { m_updateTypeHasBeenSet = true; m_updateType = std::move(value); }
50 inline ParentEntityUpdateRequest& WithUpdateType(ParentEntityUpdateType&& value) { SetUpdateType(std::move(value)); return *this;}
52
54
57 inline const Aws::String& GetParentEntityId() const{ return m_parentEntityId; }
58 inline bool ParentEntityIdHasBeenSet() const { return m_parentEntityIdHasBeenSet; }
59 inline void SetParentEntityId(const Aws::String& value) { m_parentEntityIdHasBeenSet = true; m_parentEntityId = value; }
60 inline void SetParentEntityId(Aws::String&& value) { m_parentEntityIdHasBeenSet = true; m_parentEntityId = std::move(value); }
61 inline void SetParentEntityId(const char* value) { m_parentEntityIdHasBeenSet = true; m_parentEntityId.assign(value); }
62 inline ParentEntityUpdateRequest& WithParentEntityId(const Aws::String& value) { SetParentEntityId(value); return *this;}
63 inline ParentEntityUpdateRequest& WithParentEntityId(Aws::String&& value) { SetParentEntityId(std::move(value)); return *this;}
64 inline ParentEntityUpdateRequest& WithParentEntityId(const char* value) { SetParentEntityId(value); return *this;}
66 private:
67
68 ParentEntityUpdateType m_updateType;
69 bool m_updateTypeHasBeenSet = false;
70
71 Aws::String m_parentEntityId;
72 bool m_parentEntityIdHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace IoTTwinMaker
77} // namespace Aws
ParentEntityUpdateRequest & WithParentEntityId(const char *value)
ParentEntityUpdateRequest & WithUpdateType(const ParentEntityUpdateType &value)
AWS_IOTTWINMAKER_API ParentEntityUpdateRequest(Aws::Utils::Json::JsonView jsonValue)
void SetUpdateType(const ParentEntityUpdateType &value)
AWS_IOTTWINMAKER_API ParentEntityUpdateRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
ParentEntityUpdateRequest & WithUpdateType(ParentEntityUpdateType &&value)
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ParentEntityUpdateRequest & WithParentEntityId(const Aws::String &value)
ParentEntityUpdateRequest & WithParentEntityId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue