AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetTargetComponentTypeId(const Aws::String& value) { m_targetComponentTypeIdHasBeenSet = true; m_targetComponentTypeId = value; }
48 inline void SetTargetComponentTypeId(Aws::String&& value) { m_targetComponentTypeIdHasBeenSet = true; m_targetComponentTypeId = std::move(value); }
49 inline void SetTargetComponentTypeId(const char* value) { m_targetComponentTypeIdHasBeenSet = true; m_targetComponentTypeId.assign(value); }
50 inline Relationship& WithTargetComponentTypeId(const Aws::String& value) { SetTargetComponentTypeId(value); return *this;}
51 inline Relationship& WithTargetComponentTypeId(Aws::String&& value) { SetTargetComponentTypeId(std::move(value)); return *this;}
52 inline Relationship& WithTargetComponentTypeId(const char* value) { SetTargetComponentTypeId(value); return *this;}
54
56
59 inline const Aws::String& GetRelationshipType() const{ return m_relationshipType; }
60 inline bool RelationshipTypeHasBeenSet() const { return m_relationshipTypeHasBeenSet; }
61 inline void SetRelationshipType(const Aws::String& value) { m_relationshipTypeHasBeenSet = true; m_relationshipType = value; }
62 inline void SetRelationshipType(Aws::String&& value) { m_relationshipTypeHasBeenSet = true; m_relationshipType = std::move(value); }
63 inline void SetRelationshipType(const char* value) { m_relationshipTypeHasBeenSet = true; m_relationshipType.assign(value); }
64 inline Relationship& WithRelationshipType(const Aws::String& value) { SetRelationshipType(value); return *this;}
65 inline Relationship& WithRelationshipType(Aws::String&& value) { SetRelationshipType(std::move(value)); return *this;}
66 inline Relationship& WithRelationshipType(const char* value) { SetRelationshipType(value); return *this;}
68 private:
69
70 Aws::String m_targetComponentTypeId;
71 bool m_targetComponentTypeIdHasBeenSet = false;
72
73 Aws::String m_relationshipType;
74 bool m_relationshipTypeHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace IoTTwinMaker
79} // namespace Aws
Relationship & WithTargetComponentTypeId(const Aws::String &value)
void SetRelationshipType(const Aws::String &value)
void SetRelationshipType(const char *value)
Relationship & WithTargetComponentTypeId(const char *value)
const Aws::String & GetTargetComponentTypeId() const
Relationship & WithRelationshipType(Aws::String &&value)
Relationship & WithTargetComponentTypeId(Aws::String &&value)
void SetTargetComponentTypeId(const char *value)
void SetRelationshipType(Aws::String &&value)
AWS_IOTTWINMAKER_API Relationship()
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetRelationshipType() const
void SetTargetComponentTypeId(const Aws::String &value)
Relationship & WithRelationshipType(const char *value)
AWS_IOTTWINMAKER_API Relationship(Aws::Utils::Json::JsonView jsonValue)
void SetTargetComponentTypeId(Aws::String &&value)
Relationship & WithRelationshipType(const Aws::String &value)
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