AWS SDK for C++  1.9.155
AWS SDK for C++
AddAssociationResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace SageMaker
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Aws::String& GetSourceArn() const{ return m_sourceArn; }
39 
43  inline void SetSourceArn(const Aws::String& value) { m_sourceArn = value; }
44 
48  inline void SetSourceArn(Aws::String&& value) { m_sourceArn = std::move(value); }
49 
53  inline void SetSourceArn(const char* value) { m_sourceArn.assign(value); }
54 
58  inline AddAssociationResult& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;}
59 
63  inline AddAssociationResult& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;}
64 
68  inline AddAssociationResult& WithSourceArn(const char* value) { SetSourceArn(value); return *this;}
69 
70 
74  inline const Aws::String& GetDestinationArn() const{ return m_destinationArn; }
75 
79  inline void SetDestinationArn(const Aws::String& value) { m_destinationArn = value; }
80 
84  inline void SetDestinationArn(Aws::String&& value) { m_destinationArn = std::move(value); }
85 
89  inline void SetDestinationArn(const char* value) { m_destinationArn.assign(value); }
90 
94  inline AddAssociationResult& WithDestinationArn(const Aws::String& value) { SetDestinationArn(value); return *this;}
95 
99  inline AddAssociationResult& WithDestinationArn(Aws::String&& value) { SetDestinationArn(std::move(value)); return *this;}
100 
104  inline AddAssociationResult& WithDestinationArn(const char* value) { SetDestinationArn(value); return *this;}
105 
106  private:
107 
108  Aws::String m_sourceArn;
109 
110  Aws::String m_destinationArn;
111  };
112 
113 } // namespace Model
114 } // namespace SageMaker
115 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
SageMaker_EXPORTS.h
Aws::SageMaker::Model::AddAssociationResult::SetSourceArn
void SetSourceArn(const Aws::String &value)
Definition: AddAssociationResult.h:43
Aws::SageMaker::Model::AddAssociationResult::SetDestinationArn
void SetDestinationArn(Aws::String &&value)
Definition: AddAssociationResult.h:84
Aws::SageMaker::Model::AddAssociationResult::WithSourceArn
AddAssociationResult & WithSourceArn(const Aws::String &value)
Definition: AddAssociationResult.h:58
Aws::SageMaker::Model::AddAssociationResult::WithSourceArn
AddAssociationResult & WithSourceArn(Aws::String &&value)
Definition: AddAssociationResult.h:63
Aws::SageMaker::Model::AddAssociationResult::AddAssociationResult
AddAssociationResult()
Aws::SageMaker::Model::AddAssociationResult::GetSourceArn
const Aws::String & GetSourceArn() const
Definition: AddAssociationResult.h:38
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::AddAssociationResult::SetSourceArn
void SetSourceArn(const char *value)
Definition: AddAssociationResult.h:53
Aws::SageMaker::Model::AddAssociationResult::WithDestinationArn
AddAssociationResult & WithDestinationArn(Aws::String &&value)
Definition: AddAssociationResult.h:99
Aws::SageMaker::Model::AddAssociationResult
Definition: AddAssociationResult.h:28
AWSString.h
Aws::SageMaker::Model::AddAssociationResult::AddAssociationResult
AddAssociationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SageMaker::Model::AddAssociationResult::WithDestinationArn
AddAssociationResult & WithDestinationArn(const Aws::String &value)
Definition: AddAssociationResult.h:94
Aws::SageMaker::Model::AddAssociationResult::SetSourceArn
void SetSourceArn(Aws::String &&value)
Definition: AddAssociationResult.h:48
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::AddAssociationResult::WithDestinationArn
AddAssociationResult & WithDestinationArn(const char *value)
Definition: AddAssociationResult.h:104
Aws::SageMaker::Model::AddAssociationResult::SetDestinationArn
void SetDestinationArn(const char *value)
Definition: AddAssociationResult.h:89
Aws::SageMaker::Model::AddAssociationResult::GetDestinationArn
const Aws::String & GetDestinationArn() const
Definition: AddAssociationResult.h:74
Aws::SageMaker::Model::AddAssociationResult::WithSourceArn
AddAssociationResult & WithSourceArn(const char *value)
Definition: AddAssociationResult.h:68
Aws::SageMaker::Model::AddAssociationResult::SetDestinationArn
void SetDestinationArn(const Aws::String &value)
Definition: AddAssociationResult.h:79
Aws::SageMaker::Model::AddAssociationResult::operator=
AddAssociationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)