AWS SDK for C++  1.9.159
AWS SDK for C++
AssociationSummary.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace SageMaker
25 {
26 namespace Model
27 {
28 
37  {
38  public:
43 
44 
48  inline const Aws::String& GetSourceArn() const{ return m_sourceArn; }
49 
53  inline bool SourceArnHasBeenSet() const { return m_sourceArnHasBeenSet; }
54 
58  inline void SetSourceArn(const Aws::String& value) { m_sourceArnHasBeenSet = true; m_sourceArn = value; }
59 
63  inline void SetSourceArn(Aws::String&& value) { m_sourceArnHasBeenSet = true; m_sourceArn = std::move(value); }
64 
68  inline void SetSourceArn(const char* value) { m_sourceArnHasBeenSet = true; m_sourceArn.assign(value); }
69 
73  inline AssociationSummary& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;}
74 
78  inline AssociationSummary& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;}
79 
83  inline AssociationSummary& WithSourceArn(const char* value) { SetSourceArn(value); return *this;}
84 
85 
89  inline const Aws::String& GetDestinationArn() const{ return m_destinationArn; }
90 
94  inline bool DestinationArnHasBeenSet() const { return m_destinationArnHasBeenSet; }
95 
99  inline void SetDestinationArn(const Aws::String& value) { m_destinationArnHasBeenSet = true; m_destinationArn = value; }
100 
104  inline void SetDestinationArn(Aws::String&& value) { m_destinationArnHasBeenSet = true; m_destinationArn = std::move(value); }
105 
109  inline void SetDestinationArn(const char* value) { m_destinationArnHasBeenSet = true; m_destinationArn.assign(value); }
110 
114  inline AssociationSummary& WithDestinationArn(const Aws::String& value) { SetDestinationArn(value); return *this;}
115 
119  inline AssociationSummary& WithDestinationArn(Aws::String&& value) { SetDestinationArn(std::move(value)); return *this;}
120 
124  inline AssociationSummary& WithDestinationArn(const char* value) { SetDestinationArn(value); return *this;}
125 
126 
130  inline const Aws::String& GetSourceType() const{ return m_sourceType; }
131 
135  inline bool SourceTypeHasBeenSet() const { return m_sourceTypeHasBeenSet; }
136 
140  inline void SetSourceType(const Aws::String& value) { m_sourceTypeHasBeenSet = true; m_sourceType = value; }
141 
145  inline void SetSourceType(Aws::String&& value) { m_sourceTypeHasBeenSet = true; m_sourceType = std::move(value); }
146 
150  inline void SetSourceType(const char* value) { m_sourceTypeHasBeenSet = true; m_sourceType.assign(value); }
151 
155  inline AssociationSummary& WithSourceType(const Aws::String& value) { SetSourceType(value); return *this;}
156 
160  inline AssociationSummary& WithSourceType(Aws::String&& value) { SetSourceType(std::move(value)); return *this;}
161 
165  inline AssociationSummary& WithSourceType(const char* value) { SetSourceType(value); return *this;}
166 
167 
171  inline const Aws::String& GetDestinationType() const{ return m_destinationType; }
172 
176  inline bool DestinationTypeHasBeenSet() const { return m_destinationTypeHasBeenSet; }
177 
181  inline void SetDestinationType(const Aws::String& value) { m_destinationTypeHasBeenSet = true; m_destinationType = value; }
182 
186  inline void SetDestinationType(Aws::String&& value) { m_destinationTypeHasBeenSet = true; m_destinationType = std::move(value); }
187 
191  inline void SetDestinationType(const char* value) { m_destinationTypeHasBeenSet = true; m_destinationType.assign(value); }
192 
196  inline AssociationSummary& WithDestinationType(const Aws::String& value) { SetDestinationType(value); return *this;}
197 
201  inline AssociationSummary& WithDestinationType(Aws::String&& value) { SetDestinationType(std::move(value)); return *this;}
202 
206  inline AssociationSummary& WithDestinationType(const char* value) { SetDestinationType(value); return *this;}
207 
208 
212  inline const AssociationEdgeType& GetAssociationType() const{ return m_associationType; }
213 
217  inline bool AssociationTypeHasBeenSet() const { return m_associationTypeHasBeenSet; }
218 
222  inline void SetAssociationType(const AssociationEdgeType& value) { m_associationTypeHasBeenSet = true; m_associationType = value; }
223 
227  inline void SetAssociationType(AssociationEdgeType&& value) { m_associationTypeHasBeenSet = true; m_associationType = std::move(value); }
228 
232  inline AssociationSummary& WithAssociationType(const AssociationEdgeType& value) { SetAssociationType(value); return *this;}
233 
237  inline AssociationSummary& WithAssociationType(AssociationEdgeType&& value) { SetAssociationType(std::move(value)); return *this;}
238 
239 
243  inline const Aws::String& GetSourceName() const{ return m_sourceName; }
244 
248  inline bool SourceNameHasBeenSet() const { return m_sourceNameHasBeenSet; }
249 
253  inline void SetSourceName(const Aws::String& value) { m_sourceNameHasBeenSet = true; m_sourceName = value; }
254 
258  inline void SetSourceName(Aws::String&& value) { m_sourceNameHasBeenSet = true; m_sourceName = std::move(value); }
259 
263  inline void SetSourceName(const char* value) { m_sourceNameHasBeenSet = true; m_sourceName.assign(value); }
264 
268  inline AssociationSummary& WithSourceName(const Aws::String& value) { SetSourceName(value); return *this;}
269 
273  inline AssociationSummary& WithSourceName(Aws::String&& value) { SetSourceName(std::move(value)); return *this;}
274 
278  inline AssociationSummary& WithSourceName(const char* value) { SetSourceName(value); return *this;}
279 
280 
284  inline const Aws::String& GetDestinationName() const{ return m_destinationName; }
285 
289  inline bool DestinationNameHasBeenSet() const { return m_destinationNameHasBeenSet; }
290 
294  inline void SetDestinationName(const Aws::String& value) { m_destinationNameHasBeenSet = true; m_destinationName = value; }
295 
299  inline void SetDestinationName(Aws::String&& value) { m_destinationNameHasBeenSet = true; m_destinationName = std::move(value); }
300 
304  inline void SetDestinationName(const char* value) { m_destinationNameHasBeenSet = true; m_destinationName.assign(value); }
305 
309  inline AssociationSummary& WithDestinationName(const Aws::String& value) { SetDestinationName(value); return *this;}
310 
314  inline AssociationSummary& WithDestinationName(Aws::String&& value) { SetDestinationName(std::move(value)); return *this;}
315 
319  inline AssociationSummary& WithDestinationName(const char* value) { SetDestinationName(value); return *this;}
320 
321 
325  inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
326 
330  inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
331 
335  inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
336 
340  inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
341 
345  inline AssociationSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
346 
350  inline AssociationSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
351 
352 
353 
354  inline const UserContext& GetCreatedBy() const{ return m_createdBy; }
355 
356 
357  inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
358 
359 
360  inline void SetCreatedBy(const UserContext& value) { m_createdByHasBeenSet = true; m_createdBy = value; }
361 
362 
363  inline void SetCreatedBy(UserContext&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); }
364 
365 
366  inline AssociationSummary& WithCreatedBy(const UserContext& value) { SetCreatedBy(value); return *this;}
367 
368 
369  inline AssociationSummary& WithCreatedBy(UserContext&& value) { SetCreatedBy(std::move(value)); return *this;}
370 
371  private:
372 
373  Aws::String m_sourceArn;
374  bool m_sourceArnHasBeenSet;
375 
376  Aws::String m_destinationArn;
377  bool m_destinationArnHasBeenSet;
378 
379  Aws::String m_sourceType;
380  bool m_sourceTypeHasBeenSet;
381 
382  Aws::String m_destinationType;
383  bool m_destinationTypeHasBeenSet;
384 
385  AssociationEdgeType m_associationType;
386  bool m_associationTypeHasBeenSet;
387 
388  Aws::String m_sourceName;
389  bool m_sourceNameHasBeenSet;
390 
391  Aws::String m_destinationName;
392  bool m_destinationNameHasBeenSet;
393 
394  Aws::Utils::DateTime m_creationTime;
395  bool m_creationTimeHasBeenSet;
396 
397  UserContext m_createdBy;
398  bool m_createdByHasBeenSet;
399  };
400 
401 } // namespace Model
402 } // namespace SageMaker
403 } // namespace Aws
Aws::SageMaker::Model::AssociationSummary::SetCreationTime
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition: AssociationSummary.h:340
Aws::SageMaker::Model::AssociationSummary::CreationTimeHasBeenSet
bool CreationTimeHasBeenSet() const
Definition: AssociationSummary.h:330
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SageMaker::Model::AssociationSummary::WithDestinationName
AssociationSummary & WithDestinationName(const char *value)
Definition: AssociationSummary.h:319
Aws::SageMaker::Model::AssociationSummary::WithCreatedBy
AssociationSummary & WithCreatedBy(UserContext &&value)
Definition: AssociationSummary.h:369
Aws::SageMaker::Model::AssociationSummary::WithSourceType
AssociationSummary & WithSourceType(const char *value)
Definition: AssociationSummary.h:165
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::AssociationSummary::WithSourceName
AssociationSummary & WithSourceName(Aws::String &&value)
Definition: AssociationSummary.h:273
Aws::SageMaker::Model::AssociationSummary::SetDestinationArn
void SetDestinationArn(const Aws::String &value)
Definition: AssociationSummary.h:99
Aws::SageMaker::Model::UserContext
Definition: UserContext.h:33
SageMaker_EXPORTS.h
Aws::SageMaker::Model::AssociationSummary::WithDestinationArn
AssociationSummary & WithDestinationArn(const Aws::String &value)
Definition: AssociationSummary.h:114
Aws::SageMaker::Model::AssociationSummary::SetDestinationType
void SetDestinationType(const char *value)
Definition: AssociationSummary.h:191
Aws::SageMaker::Model::AssociationSummary::GetDestinationType
const Aws::String & GetDestinationType() const
Definition: AssociationSummary.h:171
Aws::SageMaker::Model::AssociationSummary::SourceTypeHasBeenSet
bool SourceTypeHasBeenSet() const
Definition: AssociationSummary.h:135
Aws::SageMaker::Model::AssociationSummary::SetSourceArn
void SetSourceArn(Aws::String &&value)
Definition: AssociationSummary.h:63
Aws::SageMaker::Model::AssociationSummary::WithDestinationType
AssociationSummary & WithDestinationType(const char *value)
Definition: AssociationSummary.h:206
Aws::SageMaker::Model::AssociationSummary::SetSourceType
void SetSourceType(const Aws::String &value)
Definition: AssociationSummary.h:140
DateTime.h
Aws::SageMaker::Model::AssociationSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::AssociationSummary::SourceArnHasBeenSet
bool SourceArnHasBeenSet() const
Definition: AssociationSummary.h:53
Aws::SageMaker::Model::AssociationSummary::SetDestinationType
void SetDestinationType(const Aws::String &value)
Definition: AssociationSummary.h:181
Aws::SageMaker::Model::AssociationSummary::SetCreationTime
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition: AssociationSummary.h:335
Aws::SageMaker::Model::AssociationSummary::WithSourceName
AssociationSummary & WithSourceName(const Aws::String &value)
Definition: AssociationSummary.h:268
Aws::SageMaker::Model::AssociationSummary::GetCreationTime
const Aws::Utils::DateTime & GetCreationTime() const
Definition: AssociationSummary.h:325
Aws::SageMaker::Model::AssociationSummary::AssociationTypeHasBeenSet
bool AssociationTypeHasBeenSet() const
Definition: AssociationSummary.h:217
Aws::SageMaker::Model::AssociationSummary::DestinationTypeHasBeenSet
bool DestinationTypeHasBeenSet() const
Definition: AssociationSummary.h:176
Aws::SageMaker::Model::AssociationSummary::SetSourceName
void SetSourceName(Aws::String &&value)
Definition: AssociationSummary.h:258
UserContext.h
Aws::SageMaker::Model::AssociationSummary::WithDestinationArn
AssociationSummary & WithDestinationArn(const char *value)
Definition: AssociationSummary.h:124
Aws::SageMaker::Model::AssociationSummary::SetDestinationName
void SetDestinationName(const Aws::String &value)
Definition: AssociationSummary.h:294
Aws::SageMaker::Model::AssociationSummary::WithDestinationArn
AssociationSummary & WithDestinationArn(Aws::String &&value)
Definition: AssociationSummary.h:119
Aws::SageMaker::Model::AssociationSummary::WithSourceType
AssociationSummary & WithSourceType(Aws::String &&value)
Definition: AssociationSummary.h:160
Aws::SageMaker::Model::AssociationSummary::SetSourceType
void SetSourceType(Aws::String &&value)
Definition: AssociationSummary.h:145
Aws::SageMaker::Model::AssociationSummary::WithCreationTime
AssociationSummary & WithCreationTime(const Aws::Utils::DateTime &value)
Definition: AssociationSummary.h:345
Aws::SageMaker::Model::AssociationSummary::AssociationSummary
AssociationSummary()
Aws::SageMaker::Model::AssociationSummary::WithAssociationType
AssociationSummary & WithAssociationType(const AssociationEdgeType &value)
Definition: AssociationSummary.h:232
Aws::SageMaker::Model::AssociationSummary::SetSourceType
void SetSourceType(const char *value)
Definition: AssociationSummary.h:150
Aws::SageMaker::Model::AssociationSummary::SetDestinationArn
void SetDestinationArn(Aws::String &&value)
Definition: AssociationSummary.h:104
Aws::SageMaker::Model::AssociationSummary::SetDestinationName
void SetDestinationName(Aws::String &&value)
Definition: AssociationSummary.h:299
Aws::SageMaker::Model::AssociationSummary::SetSourceArn
void SetSourceArn(const Aws::String &value)
Definition: AssociationSummary.h:58
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::AssociationSummary::DestinationNameHasBeenSet
bool DestinationNameHasBeenSet() const
Definition: AssociationSummary.h:289
Aws::SageMaker::Model::AssociationSummary::SetAssociationType
void SetAssociationType(const AssociationEdgeType &value)
Definition: AssociationSummary.h:222
Aws::SageMaker::Model::AssociationSummary::SourceNameHasBeenSet
bool SourceNameHasBeenSet() const
Definition: AssociationSummary.h:248
AssociationEdgeType.h
Aws::SageMaker::Model::AssociationSummary::SetCreatedBy
void SetCreatedBy(UserContext &&value)
Definition: AssociationSummary.h:363
Aws::SageMaker::Model::AssociationSummary::SetSourceArn
void SetSourceArn(const char *value)
Definition: AssociationSummary.h:68
Aws::SageMaker::Model::AssociationSummary::SetSourceName
void SetSourceName(const char *value)
Definition: AssociationSummary.h:263
Aws::SageMaker::Model::AssociationSummary::GetSourceName
const Aws::String & GetSourceName() const
Definition: AssociationSummary.h:243
Aws::SageMaker::Model::AssociationSummary::WithAssociationType
AssociationSummary & WithAssociationType(AssociationEdgeType &&value)
Definition: AssociationSummary.h:237
Aws::SageMaker::Model::AssociationSummary::WithDestinationName
AssociationSummary & WithDestinationName(Aws::String &&value)
Definition: AssociationSummary.h:314
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::SageMaker::Model::AssociationSummary::WithCreatedBy
AssociationSummary & WithCreatedBy(const UserContext &value)
Definition: AssociationSummary.h:366
AWSString.h
Aws::SageMaker::Model::AssociationSummary::WithDestinationType
AssociationSummary & WithDestinationType(Aws::String &&value)
Definition: AssociationSummary.h:201
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::AssociationSummary::GetSourceType
const Aws::String & GetSourceType() const
Definition: AssociationSummary.h:130
Aws::SageMaker::Model::AssociationSummary::WithDestinationName
AssociationSummary & WithDestinationName(const Aws::String &value)
Definition: AssociationSummary.h:309
Aws::SageMaker::Model::AssociationSummary::WithDestinationType
AssociationSummary & WithDestinationType(const Aws::String &value)
Definition: AssociationSummary.h:196
Aws::SageMaker::Model::AssociationSummary::SetAssociationType
void SetAssociationType(AssociationEdgeType &&value)
Definition: AssociationSummary.h:227
Aws::SageMaker::Model::AssociationSummary::SetDestinationArn
void SetDestinationArn(const char *value)
Definition: AssociationSummary.h:109
Aws::SageMaker::Model::AssociationSummary::DestinationArnHasBeenSet
bool DestinationArnHasBeenSet() const
Definition: AssociationSummary.h:94
Aws::SageMaker::Model::AssociationSummary::WithSourceType
AssociationSummary & WithSourceType(const Aws::String &value)
Definition: AssociationSummary.h:155
Aws::SageMaker::Model::AssociationSummary::GetDestinationName
const Aws::String & GetDestinationName() const
Definition: AssociationSummary.h:284
Aws::SageMaker::Model::AssociationSummary::GetSourceArn
const Aws::String & GetSourceArn() const
Definition: AssociationSummary.h:48
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::AssociationEdgeType
AssociationEdgeType
Definition: AssociationEdgeType.h:17
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::AssociationSummary::GetAssociationType
const AssociationEdgeType & GetAssociationType() const
Definition: AssociationSummary.h:212
Aws::SageMaker::Model::AssociationSummary::GetCreatedBy
const UserContext & GetCreatedBy() const
Definition: AssociationSummary.h:354
Aws::SageMaker::Model::AssociationSummary::SetSourceName
void SetSourceName(const Aws::String &value)
Definition: AssociationSummary.h:253
Aws::SageMaker::Model::AssociationSummary
Definition: AssociationSummary.h:37
Aws::SageMaker::Model::AssociationSummary::SetDestinationType
void SetDestinationType(Aws::String &&value)
Definition: AssociationSummary.h:186
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::AssociationSummary::SetDestinationName
void SetDestinationName(const char *value)
Definition: AssociationSummary.h:304
Aws::SageMaker::Model::AssociationSummary::WithCreationTime
AssociationSummary & WithCreationTime(Aws::Utils::DateTime &&value)
Definition: AssociationSummary.h:350
Aws::SageMaker::Model::AssociationSummary::CreatedByHasBeenSet
bool CreatedByHasBeenSet() const
Definition: AssociationSummary.h:357
Aws::SageMaker::Model::AssociationSummary::WithSourceName
AssociationSummary & WithSourceName(const char *value)
Definition: AssociationSummary.h:278
Aws::SageMaker::Model::AssociationSummary::AssociationSummary
AssociationSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::AssociationSummary::WithSourceArn
AssociationSummary & WithSourceArn(Aws::String &&value)
Definition: AssociationSummary.h:78
Aws::SageMaker::Model::AssociationSummary::WithSourceArn
AssociationSummary & WithSourceArn(const char *value)
Definition: AssociationSummary.h:83
Aws::SageMaker::Model::AssociationSummary::GetDestinationArn
const Aws::String & GetDestinationArn() const
Definition: AssociationSummary.h:89
Aws::SageMaker::Model::AssociationSummary::operator=
AssociationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::AssociationSummary::SetCreatedBy
void SetCreatedBy(const UserContext &value)
Definition: AssociationSummary.h:360
Aws::SageMaker::Model::AssociationSummary::WithSourceArn
AssociationSummary & WithSourceArn(const Aws::String &value)
Definition: AssociationSummary.h:73