AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetSourceArn(const Aws::String& value) { m_sourceArnHasBeenSet = true; m_sourceArn = value; }
52 inline void SetSourceArn(Aws::String&& value) { m_sourceArnHasBeenSet = true; m_sourceArn = std::move(value); }
53 inline void SetSourceArn(const char* value) { m_sourceArnHasBeenSet = true; m_sourceArn.assign(value); }
54 inline AssociationSummary& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;}
55 inline AssociationSummary& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;}
56 inline AssociationSummary& WithSourceArn(const char* value) { SetSourceArn(value); return *this;}
58
60
63 inline const Aws::String& GetDestinationArn() const{ return m_destinationArn; }
64 inline bool DestinationArnHasBeenSet() const { return m_destinationArnHasBeenSet; }
65 inline void SetDestinationArn(const Aws::String& value) { m_destinationArnHasBeenSet = true; m_destinationArn = value; }
66 inline void SetDestinationArn(Aws::String&& value) { m_destinationArnHasBeenSet = true; m_destinationArn = std::move(value); }
67 inline void SetDestinationArn(const char* value) { m_destinationArnHasBeenSet = true; m_destinationArn.assign(value); }
68 inline AssociationSummary& WithDestinationArn(const Aws::String& value) { SetDestinationArn(value); return *this;}
69 inline AssociationSummary& WithDestinationArn(Aws::String&& value) { SetDestinationArn(std::move(value)); return *this;}
70 inline AssociationSummary& WithDestinationArn(const char* value) { SetDestinationArn(value); return *this;}
72
74
77 inline const Aws::String& GetSourceType() const{ return m_sourceType; }
78 inline bool SourceTypeHasBeenSet() const { return m_sourceTypeHasBeenSet; }
79 inline void SetSourceType(const Aws::String& value) { m_sourceTypeHasBeenSet = true; m_sourceType = value; }
80 inline void SetSourceType(Aws::String&& value) { m_sourceTypeHasBeenSet = true; m_sourceType = std::move(value); }
81 inline void SetSourceType(const char* value) { m_sourceTypeHasBeenSet = true; m_sourceType.assign(value); }
82 inline AssociationSummary& WithSourceType(const Aws::String& value) { SetSourceType(value); return *this;}
83 inline AssociationSummary& WithSourceType(Aws::String&& value) { SetSourceType(std::move(value)); return *this;}
84 inline AssociationSummary& WithSourceType(const char* value) { SetSourceType(value); return *this;}
86
88
91 inline const Aws::String& GetDestinationType() const{ return m_destinationType; }
92 inline bool DestinationTypeHasBeenSet() const { return m_destinationTypeHasBeenSet; }
93 inline void SetDestinationType(const Aws::String& value) { m_destinationTypeHasBeenSet = true; m_destinationType = value; }
94 inline void SetDestinationType(Aws::String&& value) { m_destinationTypeHasBeenSet = true; m_destinationType = std::move(value); }
95 inline void SetDestinationType(const char* value) { m_destinationTypeHasBeenSet = true; m_destinationType.assign(value); }
96 inline AssociationSummary& WithDestinationType(const Aws::String& value) { SetDestinationType(value); return *this;}
97 inline AssociationSummary& WithDestinationType(Aws::String&& value) { SetDestinationType(std::move(value)); return *this;}
98 inline AssociationSummary& WithDestinationType(const char* value) { SetDestinationType(value); return *this;}
100
102
105 inline const AssociationEdgeType& GetAssociationType() const{ return m_associationType; }
106 inline bool AssociationTypeHasBeenSet() const { return m_associationTypeHasBeenSet; }
107 inline void SetAssociationType(const AssociationEdgeType& value) { m_associationTypeHasBeenSet = true; m_associationType = value; }
108 inline void SetAssociationType(AssociationEdgeType&& value) { m_associationTypeHasBeenSet = true; m_associationType = std::move(value); }
110 inline AssociationSummary& WithAssociationType(AssociationEdgeType&& value) { SetAssociationType(std::move(value)); return *this;}
112
114
117 inline const Aws::String& GetSourceName() const{ return m_sourceName; }
118 inline bool SourceNameHasBeenSet() const { return m_sourceNameHasBeenSet; }
119 inline void SetSourceName(const Aws::String& value) { m_sourceNameHasBeenSet = true; m_sourceName = value; }
120 inline void SetSourceName(Aws::String&& value) { m_sourceNameHasBeenSet = true; m_sourceName = std::move(value); }
121 inline void SetSourceName(const char* value) { m_sourceNameHasBeenSet = true; m_sourceName.assign(value); }
122 inline AssociationSummary& WithSourceName(const Aws::String& value) { SetSourceName(value); return *this;}
123 inline AssociationSummary& WithSourceName(Aws::String&& value) { SetSourceName(std::move(value)); return *this;}
124 inline AssociationSummary& WithSourceName(const char* value) { SetSourceName(value); return *this;}
126
128
131 inline const Aws::String& GetDestinationName() const{ return m_destinationName; }
132 inline bool DestinationNameHasBeenSet() const { return m_destinationNameHasBeenSet; }
133 inline void SetDestinationName(const Aws::String& value) { m_destinationNameHasBeenSet = true; m_destinationName = value; }
134 inline void SetDestinationName(Aws::String&& value) { m_destinationNameHasBeenSet = true; m_destinationName = std::move(value); }
135 inline void SetDestinationName(const char* value) { m_destinationNameHasBeenSet = true; m_destinationName.assign(value); }
136 inline AssociationSummary& WithDestinationName(const Aws::String& value) { SetDestinationName(value); return *this;}
137 inline AssociationSummary& WithDestinationName(Aws::String&& value) { SetDestinationName(std::move(value)); return *this;}
138 inline AssociationSummary& WithDestinationName(const char* value) { SetDestinationName(value); return *this;}
140
142
145 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
146 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
147 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
148 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
149 inline AssociationSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
150 inline AssociationSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
152
154
155 inline const UserContext& GetCreatedBy() const{ return m_createdBy; }
156 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
157 inline void SetCreatedBy(const UserContext& value) { m_createdByHasBeenSet = true; m_createdBy = value; }
158 inline void SetCreatedBy(UserContext&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); }
159 inline AssociationSummary& WithCreatedBy(const UserContext& value) { SetCreatedBy(value); return *this;}
160 inline AssociationSummary& WithCreatedBy(UserContext&& value) { SetCreatedBy(std::move(value)); return *this;}
162 private:
163
164 Aws::String m_sourceArn;
165 bool m_sourceArnHasBeenSet = false;
166
167 Aws::String m_destinationArn;
168 bool m_destinationArnHasBeenSet = false;
169
170 Aws::String m_sourceType;
171 bool m_sourceTypeHasBeenSet = false;
172
173 Aws::String m_destinationType;
174 bool m_destinationTypeHasBeenSet = false;
175
176 AssociationEdgeType m_associationType;
177 bool m_associationTypeHasBeenSet = false;
178
179 Aws::String m_sourceName;
180 bool m_sourceNameHasBeenSet = false;
181
182 Aws::String m_destinationName;
183 bool m_destinationNameHasBeenSet = false;
184
185 Aws::Utils::DateTime m_creationTime;
186 bool m_creationTimeHasBeenSet = false;
187
188 UserContext m_createdBy;
189 bool m_createdByHasBeenSet = false;
190 };
191
192} // namespace Model
193} // namespace SageMaker
194} // namespace Aws
void SetCreationTime(Aws::Utils::DateTime &&value)
void SetDestinationType(const Aws::String &value)
const AssociationEdgeType & GetAssociationType() const
AssociationSummary & WithDestinationName(const char *value)
AWS_SAGEMAKER_API AssociationSummary(Aws::Utils::Json::JsonView jsonValue)
AssociationSummary & WithCreationTime(const Aws::Utils::DateTime &value)
void SetSourceType(const Aws::String &value)
AssociationSummary & WithSourceArn(const char *value)
AssociationSummary & WithAssociationType(AssociationEdgeType &&value)
AssociationSummary & WithCreatedBy(const UserContext &value)
AssociationSummary & WithSourceName(Aws::String &&value)
void SetDestinationArn(const Aws::String &value)
AWS_SAGEMAKER_API AssociationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AssociationSummary & WithCreationTime(Aws::Utils::DateTime &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
AssociationSummary & WithDestinationArn(Aws::String &&value)
const Aws::String & GetDestinationArn() const
const Aws::String & GetDestinationName() const
AssociationSummary & WithSourceArn(Aws::String &&value)
void SetAssociationType(AssociationEdgeType &&value)
void SetCreatedBy(const UserContext &value)
AssociationSummary & WithDestinationName(Aws::String &&value)
AssociationSummary & WithAssociationType(const AssociationEdgeType &value)
const Aws::Utils::DateTime & GetCreationTime() const
AssociationSummary & WithSourceArn(const Aws::String &value)
AssociationSummary & WithDestinationType(const char *value)
AssociationSummary & WithDestinationType(const Aws::String &value)
AssociationSummary & WithSourceType(const Aws::String &value)
AssociationSummary & WithSourceType(Aws::String &&value)
const Aws::String & GetDestinationType() const
AssociationSummary & WithSourceName(const Aws::String &value)
AssociationSummary & WithCreatedBy(UserContext &&value)
void SetSourceName(const Aws::String &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AssociationSummary & WithDestinationName(const Aws::String &value)
AssociationSummary & WithSourceType(const char *value)
void SetAssociationType(const AssociationEdgeType &value)
void SetSourceArn(const Aws::String &value)
void SetDestinationName(const Aws::String &value)
AssociationSummary & WithSourceName(const char *value)
AssociationSummary & WithDestinationArn(const char *value)
AssociationSummary & WithDestinationType(Aws::String &&value)
AssociationSummary & WithDestinationArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue