AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
AssociationSummary.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 <aws/core/utils/DateTime.h>
11#include <aws/sagemaker/model/UserContext.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace SageMaker
25{
26namespace Model
27{
28
37 {
38 public:
39 AWS_SAGEMAKER_API AssociationSummary() = default;
40 AWS_SAGEMAKER_API AssociationSummary(Aws::Utils::Json::JsonView jsonValue);
42 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetSourceArn() const { return m_sourceArn; }
50 inline bool SourceArnHasBeenSet() const { return m_sourceArnHasBeenSet; }
51 template<typename SourceArnT = Aws::String>
52 void SetSourceArn(SourceArnT&& value) { m_sourceArnHasBeenSet = true; m_sourceArn = std::forward<SourceArnT>(value); }
53 template<typename SourceArnT = Aws::String>
54 AssociationSummary& WithSourceArn(SourceArnT&& value) { SetSourceArn(std::forward<SourceArnT>(value)); return *this;}
56
58
61 inline const Aws::String& GetDestinationArn() const { return m_destinationArn; }
62 inline bool DestinationArnHasBeenSet() const { return m_destinationArnHasBeenSet; }
63 template<typename DestinationArnT = Aws::String>
64 void SetDestinationArn(DestinationArnT&& value) { m_destinationArnHasBeenSet = true; m_destinationArn = std::forward<DestinationArnT>(value); }
65 template<typename DestinationArnT = Aws::String>
66 AssociationSummary& WithDestinationArn(DestinationArnT&& value) { SetDestinationArn(std::forward<DestinationArnT>(value)); return *this;}
68
70
73 inline const Aws::String& GetSourceType() const { return m_sourceType; }
74 inline bool SourceTypeHasBeenSet() const { return m_sourceTypeHasBeenSet; }
75 template<typename SourceTypeT = Aws::String>
76 void SetSourceType(SourceTypeT&& value) { m_sourceTypeHasBeenSet = true; m_sourceType = std::forward<SourceTypeT>(value); }
77 template<typename SourceTypeT = Aws::String>
78 AssociationSummary& WithSourceType(SourceTypeT&& value) { SetSourceType(std::forward<SourceTypeT>(value)); return *this;}
80
82
85 inline const Aws::String& GetDestinationType() const { return m_destinationType; }
86 inline bool DestinationTypeHasBeenSet() const { return m_destinationTypeHasBeenSet; }
87 template<typename DestinationTypeT = Aws::String>
88 void SetDestinationType(DestinationTypeT&& value) { m_destinationTypeHasBeenSet = true; m_destinationType = std::forward<DestinationTypeT>(value); }
89 template<typename DestinationTypeT = Aws::String>
90 AssociationSummary& WithDestinationType(DestinationTypeT&& value) { SetDestinationType(std::forward<DestinationTypeT>(value)); return *this;}
92
94
97 inline AssociationEdgeType GetAssociationType() const { return m_associationType; }
98 inline bool AssociationTypeHasBeenSet() const { return m_associationTypeHasBeenSet; }
99 inline void SetAssociationType(AssociationEdgeType value) { m_associationTypeHasBeenSet = true; m_associationType = value; }
102
104
107 inline const Aws::String& GetSourceName() const { return m_sourceName; }
108 inline bool SourceNameHasBeenSet() const { return m_sourceNameHasBeenSet; }
109 template<typename SourceNameT = Aws::String>
110 void SetSourceName(SourceNameT&& value) { m_sourceNameHasBeenSet = true; m_sourceName = std::forward<SourceNameT>(value); }
111 template<typename SourceNameT = Aws::String>
112 AssociationSummary& WithSourceName(SourceNameT&& value) { SetSourceName(std::forward<SourceNameT>(value)); return *this;}
114
116
119 inline const Aws::String& GetDestinationName() const { return m_destinationName; }
120 inline bool DestinationNameHasBeenSet() const { return m_destinationNameHasBeenSet; }
121 template<typename DestinationNameT = Aws::String>
122 void SetDestinationName(DestinationNameT&& value) { m_destinationNameHasBeenSet = true; m_destinationName = std::forward<DestinationNameT>(value); }
123 template<typename DestinationNameT = Aws::String>
124 AssociationSummary& WithDestinationName(DestinationNameT&& value) { SetDestinationName(std::forward<DestinationNameT>(value)); return *this;}
126
128
131 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
132 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
133 template<typename CreationTimeT = Aws::Utils::DateTime>
134 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
135 template<typename CreationTimeT = Aws::Utils::DateTime>
136 AssociationSummary& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
138
140
141 inline const UserContext& GetCreatedBy() const { return m_createdBy; }
142 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
143 template<typename CreatedByT = UserContext>
144 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
145 template<typename CreatedByT = UserContext>
146 AssociationSummary& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
148 private:
149
150 Aws::String m_sourceArn;
151 bool m_sourceArnHasBeenSet = false;
152
153 Aws::String m_destinationArn;
154 bool m_destinationArnHasBeenSet = false;
155
156 Aws::String m_sourceType;
157 bool m_sourceTypeHasBeenSet = false;
158
159 Aws::String m_destinationType;
160 bool m_destinationTypeHasBeenSet = false;
161
163 bool m_associationTypeHasBeenSet = false;
164
165 Aws::String m_sourceName;
166 bool m_sourceNameHasBeenSet = false;
167
168 Aws::String m_destinationName;
169 bool m_destinationNameHasBeenSet = false;
170
171 Aws::Utils::DateTime m_creationTime{};
172 bool m_creationTimeHasBeenSet = false;
173
174 UserContext m_createdBy;
175 bool m_createdByHasBeenSet = false;
176 };
177
178} // namespace Model
179} // namespace SageMaker
180} // namespace Aws
AWS_SAGEMAKER_API AssociationSummary(Aws::Utils::Json::JsonView jsonValue)
AssociationSummary & WithSourceType(SourceTypeT &&value)
AssociationSummary & WithSourceArn(SourceArnT &&value)
AWS_SAGEMAKER_API AssociationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AssociationSummary & WithCreationTime(CreationTimeT &&value)
const Aws::String & GetDestinationArn() const
AssociationSummary & WithSourceName(SourceNameT &&value)
const Aws::String & GetDestinationName() const
AssociationSummary & WithDestinationName(DestinationNameT &&value)
void SetDestinationName(DestinationNameT &&value)
AssociationEdgeType GetAssociationType() const
AssociationSummary & WithCreatedBy(CreatedByT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
AWS_SAGEMAKER_API AssociationSummary()=default
void SetDestinationType(DestinationTypeT &&value)
AssociationSummary & WithDestinationArn(DestinationArnT &&value)
const Aws::String & GetDestinationType() const
AssociationSummary & WithAssociationType(AssociationEdgeType value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDestinationArn(DestinationArnT &&value)
void SetAssociationType(AssociationEdgeType value)
AssociationSummary & WithDestinationType(DestinationTypeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue