AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
ParentEntityUpdateRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
9#include <aws/iottwinmaker/model/ParentEntityUpdateType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace IoTTwinMaker {
21namespace Model {
22
29 public:
30 AWS_IOTTWINMAKER_API ParentEntityUpdateRequest() = default;
33 AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline ParentEntityUpdateType GetUpdateType() const { return m_updateType; }
40 inline bool UpdateTypeHasBeenSet() const { return m_updateTypeHasBeenSet; }
42 m_updateTypeHasBeenSet = true;
43 m_updateType = value;
44 }
46 SetUpdateType(value);
47 return *this;
48 }
50
52
55 inline const Aws::String& GetParentEntityId() const { return m_parentEntityId; }
56 inline bool ParentEntityIdHasBeenSet() const { return m_parentEntityIdHasBeenSet; }
57 template <typename ParentEntityIdT = Aws::String>
58 void SetParentEntityId(ParentEntityIdT&& value) {
59 m_parentEntityIdHasBeenSet = true;
60 m_parentEntityId = std::forward<ParentEntityIdT>(value);
61 }
62 template <typename ParentEntityIdT = Aws::String>
64 SetParentEntityId(std::forward<ParentEntityIdT>(value));
65 return *this;
66 }
68 private:
70
71 Aws::String m_parentEntityId;
72 bool m_updateTypeHasBeenSet = false;
73 bool m_parentEntityIdHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace IoTTwinMaker
78} // namespace Aws
AWS_IOTTWINMAKER_API ParentEntityUpdateRequest(Aws::Utils::Json::JsonView jsonValue)
ParentEntityUpdateRequest & WithUpdateType(ParentEntityUpdateType value)
AWS_IOTTWINMAKER_API ParentEntityUpdateRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
ParentEntityUpdateRequest & WithParentEntityId(ParentEntityIdT &&value)
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTTWINMAKER_API ParentEntityUpdateRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue