AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Edge.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/AssociationEdgeType.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SageMaker
23{
24namespace Model
25{
26
32 class Edge
33 {
34 public:
35 AWS_SAGEMAKER_API Edge() = default;
36 AWS_SAGEMAKER_API Edge(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SAGEMAKER_API Edge& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetSourceArn() const { return m_sourceArn; }
47 inline bool SourceArnHasBeenSet() const { return m_sourceArnHasBeenSet; }
48 template<typename SourceArnT = Aws::String>
49 void SetSourceArn(SourceArnT&& value) { m_sourceArnHasBeenSet = true; m_sourceArn = std::forward<SourceArnT>(value); }
50 template<typename SourceArnT = Aws::String>
51 Edge& WithSourceArn(SourceArnT&& value) { SetSourceArn(std::forward<SourceArnT>(value)); return *this;}
53
55
59 inline const Aws::String& GetDestinationArn() const { return m_destinationArn; }
60 inline bool DestinationArnHasBeenSet() const { return m_destinationArnHasBeenSet; }
61 template<typename DestinationArnT = Aws::String>
62 void SetDestinationArn(DestinationArnT&& value) { m_destinationArnHasBeenSet = true; m_destinationArn = std::forward<DestinationArnT>(value); }
63 template<typename DestinationArnT = Aws::String>
64 Edge& WithDestinationArn(DestinationArnT&& value) { SetDestinationArn(std::forward<DestinationArnT>(value)); return *this;}
66
68
73 inline AssociationEdgeType GetAssociationType() const { return m_associationType; }
74 inline bool AssociationTypeHasBeenSet() const { return m_associationTypeHasBeenSet; }
75 inline void SetAssociationType(AssociationEdgeType value) { m_associationTypeHasBeenSet = true; m_associationType = value; }
76 inline Edge& WithAssociationType(AssociationEdgeType value) { SetAssociationType(value); return *this;}
78 private:
79
80 Aws::String m_sourceArn;
81 bool m_sourceArnHasBeenSet = false;
82
83 Aws::String m_destinationArn;
84 bool m_destinationArnHasBeenSet = false;
85
87 bool m_associationTypeHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace SageMaker
92} // namespace Aws
bool SourceArnHasBeenSet() const
Definition Edge.h:47
AWS_SAGEMAKER_API Edge & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Edge()=default
void SetDestinationArn(DestinationArnT &&value)
Definition Edge.h:62
Edge & WithDestinationArn(DestinationArnT &&value)
Definition Edge.h:64
bool AssociationTypeHasBeenSet() const
Definition Edge.h:74
AssociationEdgeType GetAssociationType() const
Definition Edge.h:73
AWS_SAGEMAKER_API Edge(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
Edge & WithAssociationType(AssociationEdgeType value)
Definition Edge.h:76
const Aws::String & GetSourceArn() const
Definition Edge.h:46
const Aws::String & GetDestinationArn() const
Definition Edge.h:59
void SetSourceArn(SourceArnT &&value)
Definition Edge.h:49
void SetAssociationType(AssociationEdgeType value)
Definition Edge.h:75
bool DestinationArnHasBeenSet() const
Definition Edge.h:60
Edge & WithSourceArn(SourceArnT &&value)
Definition Edge.h:51
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue