AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename SourceIdT = Aws::String>
48 void SetSourceId(SourceIdT&& value) { m_sourceIdHasBeenSet = true; m_sourceId = std::forward<SourceIdT>(value); }
49 template<typename SourceIdT = Aws::String>
50 Edge& WithSourceId(SourceIdT&& value) { SetSourceId(std::forward<SourceIdT>(value)); return *this;}
52
54
57 inline const Aws::String& GetDestinationId() const { return m_destinationId; }
58 inline bool DestinationIdHasBeenSet() const { return m_destinationIdHasBeenSet; }
59 template<typename DestinationIdT = Aws::String>
60 void SetDestinationId(DestinationIdT&& value) { m_destinationIdHasBeenSet = true; m_destinationId = std::forward<DestinationIdT>(value); }
61 template<typename DestinationIdT = Aws::String>
62 Edge& WithDestinationId(DestinationIdT&& value) { SetDestinationId(std::forward<DestinationIdT>(value)); return *this;}
64 private:
65
66 Aws::String m_sourceId;
67 bool m_sourceIdHasBeenSet = false;
68
69 Aws::String m_destinationId;
70 bool m_destinationIdHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace Glue
75} // namespace Aws
AWS_GLUE_API Edge()=default
void SetDestinationId(DestinationIdT &&value)
Definition Edge.h:60
const Aws::String & GetSourceId() const
Definition Edge.h:45
bool SourceIdHasBeenSet() const
Definition Edge.h:46
const Aws::String & GetDestinationId() const
Definition Edge.h:57
AWS_GLUE_API Edge(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
bool DestinationIdHasBeenSet() const
Definition Edge.h:58
Edge & WithDestinationId(DestinationIdT &&value)
Definition Edge.h:62
void SetSourceId(SourceIdT &&value)
Definition Edge.h:48
Edge & WithSourceId(SourceIdT &&value)
Definition Edge.h:50
AWS_GLUE_API Edge & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue