AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Edge.h
1
6#pragma once
7#include <aws/glue/Glue_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 Glue
22{
23namespace Model
24{
25
32 class Edge
33 {
34 public:
35 AWS_GLUE_API Edge();
36 AWS_GLUE_API Edge(Aws::Utils::Json::JsonView jsonValue);
37 AWS_GLUE_API Edge& operator=(Aws::Utils::Json::JsonView jsonValue);
39
40
42
45 inline const Aws::String& GetSourceId() const{ return m_sourceId; }
46 inline bool SourceIdHasBeenSet() const { return m_sourceIdHasBeenSet; }
47 inline void SetSourceId(const Aws::String& value) { m_sourceIdHasBeenSet = true; m_sourceId = value; }
48 inline void SetSourceId(Aws::String&& value) { m_sourceIdHasBeenSet = true; m_sourceId = std::move(value); }
49 inline void SetSourceId(const char* value) { m_sourceIdHasBeenSet = true; m_sourceId.assign(value); }
50 inline Edge& WithSourceId(const Aws::String& value) { SetSourceId(value); return *this;}
51 inline Edge& WithSourceId(Aws::String&& value) { SetSourceId(std::move(value)); return *this;}
52 inline Edge& WithSourceId(const char* value) { SetSourceId(value); return *this;}
54
56
59 inline const Aws::String& GetDestinationId() const{ return m_destinationId; }
60 inline bool DestinationIdHasBeenSet() const { return m_destinationIdHasBeenSet; }
61 inline void SetDestinationId(const Aws::String& value) { m_destinationIdHasBeenSet = true; m_destinationId = value; }
62 inline void SetDestinationId(Aws::String&& value) { m_destinationIdHasBeenSet = true; m_destinationId = std::move(value); }
63 inline void SetDestinationId(const char* value) { m_destinationIdHasBeenSet = true; m_destinationId.assign(value); }
64 inline Edge& WithDestinationId(const Aws::String& value) { SetDestinationId(value); return *this;}
65 inline Edge& WithDestinationId(Aws::String&& value) { SetDestinationId(std::move(value)); return *this;}
66 inline Edge& WithDestinationId(const char* value) { SetDestinationId(value); return *this;}
68 private:
69
70 Aws::String m_sourceId;
71 bool m_sourceIdHasBeenSet = false;
72
73 Aws::String m_destinationId;
74 bool m_destinationIdHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace Glue
79} // namespace Aws
Edge & WithDestinationId(const Aws::String &value)
Definition Edge.h:64
Edge & WithDestinationId(const char *value)
Definition Edge.h:66
void SetDestinationId(const Aws::String &value)
Definition Edge.h:61
const Aws::String & GetSourceId() const
Definition Edge.h:45
void SetSourceId(const char *value)
Definition Edge.h:49
bool SourceIdHasBeenSet() const
Definition Edge.h:46
void SetDestinationId(Aws::String &&value)
Definition Edge.h:62
const Aws::String & GetDestinationId() const
Definition Edge.h:59
AWS_GLUE_API Edge(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
Edge & WithSourceId(Aws::String &&value)
Definition Edge.h:51
bool DestinationIdHasBeenSet() const
Definition Edge.h:60
AWS_GLUE_API Edge()
void SetSourceId(Aws::String &&value)
Definition Edge.h:48
void SetDestinationId(const char *value)
Definition Edge.h:63
Edge & WithSourceId(const char *value)
Definition Edge.h:52
Edge & WithSourceId(const Aws::String &value)
Definition Edge.h:50
AWS_GLUE_API Edge & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSourceId(const Aws::String &value)
Definition Edge.h:47
Edge & WithDestinationId(Aws::String &&value)
Definition Edge.h:65
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue