AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Relationship.h
1
6#pragma once
7#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoTTwinMaker
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_IOTTWINMAKER_API Relationship() = default;
36 AWS_IOTTWINMAKER_API Relationship(Aws::Utils::Json::JsonView jsonValue);
37 AWS_IOTTWINMAKER_API Relationship& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetTargetComponentTypeId() const { return m_targetComponentTypeId; }
46 inline bool TargetComponentTypeIdHasBeenSet() const { return m_targetComponentTypeIdHasBeenSet; }
47 template<typename TargetComponentTypeIdT = Aws::String>
48 void SetTargetComponentTypeId(TargetComponentTypeIdT&& value) { m_targetComponentTypeIdHasBeenSet = true; m_targetComponentTypeId = std::forward<TargetComponentTypeIdT>(value); }
49 template<typename TargetComponentTypeIdT = Aws::String>
50 Relationship& WithTargetComponentTypeId(TargetComponentTypeIdT&& value) { SetTargetComponentTypeId(std::forward<TargetComponentTypeIdT>(value)); return *this;}
52
54
57 inline const Aws::String& GetRelationshipType() const { return m_relationshipType; }
58 inline bool RelationshipTypeHasBeenSet() const { return m_relationshipTypeHasBeenSet; }
59 template<typename RelationshipTypeT = Aws::String>
60 void SetRelationshipType(RelationshipTypeT&& value) { m_relationshipTypeHasBeenSet = true; m_relationshipType = std::forward<RelationshipTypeT>(value); }
61 template<typename RelationshipTypeT = Aws::String>
62 Relationship& WithRelationshipType(RelationshipTypeT&& value) { SetRelationshipType(std::forward<RelationshipTypeT>(value)); return *this;}
64 private:
65
66 Aws::String m_targetComponentTypeId;
67 bool m_targetComponentTypeIdHasBeenSet = false;
68
69 Aws::String m_relationshipType;
70 bool m_relationshipTypeHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace IoTTwinMaker
75} // namespace Aws
void SetRelationshipType(RelationshipTypeT &&value)
const Aws::String & GetTargetComponentTypeId() const
AWS_IOTTWINMAKER_API Relationship()=default
void SetTargetComponentTypeId(TargetComponentTypeIdT &&value)
Relationship & WithRelationshipType(RelationshipTypeT &&value)
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetRelationshipType() const
Relationship & WithTargetComponentTypeId(TargetComponentTypeIdT &&value)
AWS_IOTTWINMAKER_API Relationship(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTTWINMAKER_API Relationship & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue