AWS SDK for C++  1.9.153
AWS SDK for C++
DeleteAssociationResult.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 DeleteAssociationResult& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;}
59 
63  inline DeleteAssociationResult& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;}
64 
68  inline DeleteAssociationResult& 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 DeleteAssociationResult& WithDestinationArn(const Aws::String& value) { SetDestinationArn(value); return *this;}
95 
99  inline DeleteAssociationResult& WithDestinationArn(Aws::String&& value) { SetDestinationArn(std::move(value)); return *this;}
100 
104  inline DeleteAssociationResult& 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::SageMaker::Model::DeleteAssociationResult::DeleteAssociationResult
DeleteAssociationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
SageMaker_EXPORTS.h
Aws::SageMaker::Model::DeleteAssociationResult::GetSourceArn
const Aws::String & GetSourceArn() const
Definition: DeleteAssociationResult.h:38
Aws::SageMaker::Model::DeleteAssociationResult::WithSourceArn
DeleteAssociationResult & WithSourceArn(const Aws::String &value)
Definition: DeleteAssociationResult.h:58
Aws::SageMaker::Model::DeleteAssociationResult::WithSourceArn
DeleteAssociationResult & WithSourceArn(Aws::String &&value)
Definition: DeleteAssociationResult.h:63
Aws::SageMaker::Model::DeleteAssociationResult::WithDestinationArn
DeleteAssociationResult & WithDestinationArn(Aws::String &&value)
Definition: DeleteAssociationResult.h:99
Aws::SageMaker::Model::DeleteAssociationResult::SetSourceArn
void SetSourceArn(Aws::String &&value)
Definition: DeleteAssociationResult.h:48
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::DeleteAssociationResult::GetDestinationArn
const Aws::String & GetDestinationArn() const
Definition: DeleteAssociationResult.h:74
Aws::SageMaker::Model::DeleteAssociationResult::operator=
DeleteAssociationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SageMaker::Model::DeleteAssociationResult
Definition: DeleteAssociationResult.h:28
Aws::SageMaker::Model::DeleteAssociationResult::SetSourceArn
void SetSourceArn(const Aws::String &value)
Definition: DeleteAssociationResult.h:43
Aws::SageMaker::Model::DeleteAssociationResult::DeleteAssociationResult
DeleteAssociationResult()
AWSString.h
Aws::SageMaker::Model::DeleteAssociationResult::SetDestinationArn
void SetDestinationArn(const char *value)
Definition: DeleteAssociationResult.h:89
Aws::SageMaker::Model::DeleteAssociationResult::SetDestinationArn
void SetDestinationArn(Aws::String &&value)
Definition: DeleteAssociationResult.h:84
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::DeleteAssociationResult::SetDestinationArn
void SetDestinationArn(const Aws::String &value)
Definition: DeleteAssociationResult.h:79
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::DeleteAssociationResult::WithSourceArn
DeleteAssociationResult & WithSourceArn(const char *value)
Definition: DeleteAssociationResult.h:68
Aws::SageMaker::Model::DeleteAssociationResult::SetSourceArn
void SetSourceArn(const char *value)
Definition: DeleteAssociationResult.h:53
Aws::SageMaker::Model::DeleteAssociationResult::WithDestinationArn
DeleteAssociationResult & WithDestinationArn(const Aws::String &value)
Definition: DeleteAssociationResult.h:94
Aws::SageMaker::Model::DeleteAssociationResult::WithDestinationArn
DeleteAssociationResult & WithDestinationArn(const char *value)
Definition: DeleteAssociationResult.h:104