AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
AssociationInfo.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMaker_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SageMaker {
20namespace Model {
21
29 public:
30 AWS_SAGEMAKER_API AssociationInfo() = default;
31 AWS_SAGEMAKER_API AssociationInfo(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetSourceArn() const { return m_sourceArn; }
41 inline bool SourceArnHasBeenSet() const { return m_sourceArnHasBeenSet; }
42 template <typename SourceArnT = Aws::String>
43 void SetSourceArn(SourceArnT&& value) {
44 m_sourceArnHasBeenSet = true;
45 m_sourceArn = std::forward<SourceArnT>(value);
46 }
47 template <typename SourceArnT = Aws::String>
48 AssociationInfo& WithSourceArn(SourceArnT&& value) {
49 SetSourceArn(std::forward<SourceArnT>(value));
50 return *this;
51 }
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) {
63 m_destinationArnHasBeenSet = true;
64 m_destinationArn = std::forward<DestinationArnT>(value);
65 }
66 template <typename DestinationArnT = Aws::String>
67 AssociationInfo& WithDestinationArn(DestinationArnT&& value) {
68 SetDestinationArn(std::forward<DestinationArnT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_sourceArn;
74
75 Aws::String m_destinationArn;
76 bool m_sourceArnHasBeenSet = false;
77 bool m_destinationArnHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace SageMaker
82} // namespace Aws
AWS_SAGEMAKER_API AssociationInfo()=default
const Aws::String & GetDestinationArn() const
AssociationInfo & WithDestinationArn(DestinationArnT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API AssociationInfo(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API AssociationInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
AssociationInfo & WithSourceArn(SourceArnT &&value)
const Aws::String & GetSourceArn() const
void SetSourceArn(SourceArnT &&value)
void SetDestinationArn(DestinationArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue