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/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();
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 inline void SetSourceArn(const Aws::String& value) { m_sourceArnHasBeenSet = true; m_sourceArn = value; }
49 inline void SetSourceArn(Aws::String&& value) { m_sourceArnHasBeenSet = true; m_sourceArn = std::move(value); }
50 inline void SetSourceArn(const char* value) { m_sourceArnHasBeenSet = true; m_sourceArn.assign(value); }
51 inline Edge& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;}
52 inline Edge& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;}
53 inline Edge& WithSourceArn(const char* value) { SetSourceArn(value); return *this;}
55
57
61 inline const Aws::String& GetDestinationArn() const{ return m_destinationArn; }
62 inline bool DestinationArnHasBeenSet() const { return m_destinationArnHasBeenSet; }
63 inline void SetDestinationArn(const Aws::String& value) { m_destinationArnHasBeenSet = true; m_destinationArn = value; }
64 inline void SetDestinationArn(Aws::String&& value) { m_destinationArnHasBeenSet = true; m_destinationArn = std::move(value); }
65 inline void SetDestinationArn(const char* value) { m_destinationArnHasBeenSet = true; m_destinationArn.assign(value); }
66 inline Edge& WithDestinationArn(const Aws::String& value) { SetDestinationArn(value); return *this;}
67 inline Edge& WithDestinationArn(Aws::String&& value) { SetDestinationArn(std::move(value)); return *this;}
68 inline Edge& WithDestinationArn(const char* value) { SetDestinationArn(value); return *this;}
70
72
77 inline const AssociationEdgeType& GetAssociationType() const{ return m_associationType; }
78 inline bool AssociationTypeHasBeenSet() const { return m_associationTypeHasBeenSet; }
79 inline void SetAssociationType(const AssociationEdgeType& value) { m_associationTypeHasBeenSet = true; m_associationType = value; }
80 inline void SetAssociationType(AssociationEdgeType&& value) { m_associationTypeHasBeenSet = true; m_associationType = std::move(value); }
81 inline Edge& WithAssociationType(const AssociationEdgeType& value) { SetAssociationType(value); return *this;}
82 inline Edge& WithAssociationType(AssociationEdgeType&& value) { SetAssociationType(std::move(value)); return *this;}
84 private:
85
86 Aws::String m_sourceArn;
87 bool m_sourceArnHasBeenSet = false;
88
89 Aws::String m_destinationArn;
90 bool m_destinationArnHasBeenSet = false;
91
92 AssociationEdgeType m_associationType;
93 bool m_associationTypeHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace SageMaker
98} // namespace Aws
void SetDestinationArn(const Aws::String &value)
Definition Edge.h:63
void SetAssociationType(AssociationEdgeType &&value)
Definition Edge.h:80
void SetSourceArn(const Aws::String &value)
Definition Edge.h:48
bool SourceArnHasBeenSet() const
Definition Edge.h:47
void SetSourceArn(Aws::String &&value)
Definition Edge.h:49
Edge & WithAssociationType(AssociationEdgeType &&value)
Definition Edge.h:82
Edge & WithSourceArn(Aws::String &&value)
Definition Edge.h:52
AWS_SAGEMAKER_API Edge & operator=(Aws::Utils::Json::JsonView jsonValue)
const AssociationEdgeType & GetAssociationType() const
Definition Edge.h:77
Edge & WithDestinationArn(const char *value)
Definition Edge.h:68
void SetDestinationArn(const char *value)
Definition Edge.h:65
void SetDestinationArn(Aws::String &&value)
Definition Edge.h:64
Edge & WithSourceArn(const Aws::String &value)
Definition Edge.h:51
bool AssociationTypeHasBeenSet() const
Definition Edge.h:78
Edge & WithDestinationArn(Aws::String &&value)
Definition Edge.h:67
AWS_SAGEMAKER_API Edge(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
Edge & WithDestinationArn(const Aws::String &value)
Definition Edge.h:66
const Aws::String & GetSourceArn() const
Definition Edge.h:46
const Aws::String & GetDestinationArn() const
Definition Edge.h:61
Edge & WithAssociationType(const AssociationEdgeType &value)
Definition Edge.h:81
AWS_SAGEMAKER_API Edge()
Edge & WithSourceArn(const char *value)
Definition Edge.h:53
void SetAssociationType(const AssociationEdgeType &value)
Definition Edge.h:79
void SetSourceArn(const char *value)
Definition Edge.h:50
bool DestinationArnHasBeenSet() const
Definition Edge.h:62
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue