AWS SDK for C++  1.9.131
AWS SDK for C++
DeleteAssociationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace SageMaker
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "DeleteAssociation"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetSourceArn() const{ return m_sourceArn; }
41 
45  inline bool SourceArnHasBeenSet() const { return m_sourceArnHasBeenSet; }
46 
50  inline void SetSourceArn(const Aws::String& value) { m_sourceArnHasBeenSet = true; m_sourceArn = value; }
51 
55  inline void SetSourceArn(Aws::String&& value) { m_sourceArnHasBeenSet = true; m_sourceArn = std::move(value); }
56 
60  inline void SetSourceArn(const char* value) { m_sourceArnHasBeenSet = true; m_sourceArn.assign(value); }
61 
65  inline DeleteAssociationRequest& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;}
66 
70  inline DeleteAssociationRequest& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;}
71 
75  inline DeleteAssociationRequest& WithSourceArn(const char* value) { SetSourceArn(value); return *this;}
76 
77 
81  inline const Aws::String& GetDestinationArn() const{ return m_destinationArn; }
82 
86  inline bool DestinationArnHasBeenSet() const { return m_destinationArnHasBeenSet; }
87 
91  inline void SetDestinationArn(const Aws::String& value) { m_destinationArnHasBeenSet = true; m_destinationArn = value; }
92 
96  inline void SetDestinationArn(Aws::String&& value) { m_destinationArnHasBeenSet = true; m_destinationArn = std::move(value); }
97 
101  inline void SetDestinationArn(const char* value) { m_destinationArnHasBeenSet = true; m_destinationArn.assign(value); }
102 
106  inline DeleteAssociationRequest& WithDestinationArn(const Aws::String& value) { SetDestinationArn(value); return *this;}
107 
111  inline DeleteAssociationRequest& WithDestinationArn(Aws::String&& value) { SetDestinationArn(std::move(value)); return *this;}
112 
116  inline DeleteAssociationRequest& WithDestinationArn(const char* value) { SetDestinationArn(value); return *this;}
117 
118  private:
119 
120  Aws::String m_sourceArn;
121  bool m_sourceArnHasBeenSet;
122 
123  Aws::String m_destinationArn;
124  bool m_destinationArnHasBeenSet;
125  };
126 
127 } // namespace Model
128 } // namespace SageMaker
129 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::DeleteAssociationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SageMaker::Model::DeleteAssociationRequest::WithDestinationArn
DeleteAssociationRequest & WithDestinationArn(const Aws::String &value)
Definition: DeleteAssociationRequest.h:106
Aws::SageMaker::Model::DeleteAssociationRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SageMaker::Model::DeleteAssociationRequest::SetDestinationArn
void SetDestinationArn(const char *value)
Definition: DeleteAssociationRequest.h:101
Aws::SageMaker::Model::DeleteAssociationRequest::DeleteAssociationRequest
DeleteAssociationRequest()
Aws::SageMaker::Model::DeleteAssociationRequest::WithSourceArn
DeleteAssociationRequest & WithSourceArn(const char *value)
Definition: DeleteAssociationRequest.h:75
Aws::SageMaker::Model::DeleteAssociationRequest::SetDestinationArn
void SetDestinationArn(Aws::String &&value)
Definition: DeleteAssociationRequest.h:96
Aws::SageMaker::Model::DeleteAssociationRequest::SetSourceArn
void SetSourceArn(Aws::String &&value)
Definition: DeleteAssociationRequest.h:55
Aws::SageMaker::Model::DeleteAssociationRequest::SourceArnHasBeenSet
bool SourceArnHasBeenSet() const
Definition: DeleteAssociationRequest.h:45
Aws::SageMaker::SageMakerRequest
Definition: SageMakerRequest.h:17
Aws::SageMaker::Model::DeleteAssociationRequest::WithDestinationArn
DeleteAssociationRequest & WithDestinationArn(Aws::String &&value)
Definition: DeleteAssociationRequest.h:111
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::DeleteAssociationRequest::WithDestinationArn
DeleteAssociationRequest & WithDestinationArn(const char *value)
Definition: DeleteAssociationRequest.h:116
Aws::SageMaker::Model::DeleteAssociationRequest::DestinationArnHasBeenSet
bool DestinationArnHasBeenSet() const
Definition: DeleteAssociationRequest.h:86
Aws::SageMaker::Model::DeleteAssociationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteAssociationRequest.h:30
Aws::SageMaker::Model::DeleteAssociationRequest::SetDestinationArn
void SetDestinationArn(const Aws::String &value)
Definition: DeleteAssociationRequest.h:91
AWSString.h
Aws::SageMaker::Model::DeleteAssociationRequest::SetSourceArn
void SetSourceArn(const Aws::String &value)
Definition: DeleteAssociationRequest.h:50
Aws::SageMaker::Model::DeleteAssociationRequest::SetSourceArn
void SetSourceArn(const char *value)
Definition: DeleteAssociationRequest.h:60
Aws::SageMaker::Model::DeleteAssociationRequest
Definition: DeleteAssociationRequest.h:22
Aws
Definition: AccessManagementClient.h:15
SageMakerRequest.h
Aws::SageMaker::Model::DeleteAssociationRequest::GetSourceArn
const Aws::String & GetSourceArn() const
Definition: DeleteAssociationRequest.h:40
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::DeleteAssociationRequest::GetDestinationArn
const Aws::String & GetDestinationArn() const
Definition: DeleteAssociationRequest.h:81
Aws::SageMaker::Model::DeleteAssociationRequest::WithSourceArn
DeleteAssociationRequest & WithSourceArn(Aws::String &&value)
Definition: DeleteAssociationRequest.h:70
Aws::SageMaker::Model::DeleteAssociationRequest::WithSourceArn
DeleteAssociationRequest & WithSourceArn(const Aws::String &value)
Definition: DeleteAssociationRequest.h:65