AWS SDK for C++  1.9.40
AWS SDK for C++
DeleteDomainRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace SageMaker
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "DeleteDomain"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
41  inline const Aws::String& GetDomainId() const{ return m_domainId; }
42 
46  inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
47 
51  inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; }
52 
56  inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); }
57 
61  inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); }
62 
66  inline DeleteDomainRequest& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
67 
71  inline DeleteDomainRequest& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
72 
76  inline DeleteDomainRequest& WithDomainId(const char* value) { SetDomainId(value); return *this;}
77 
78 
84  inline const RetentionPolicy& GetRetentionPolicy() const{ return m_retentionPolicy; }
85 
91  inline bool RetentionPolicyHasBeenSet() const { return m_retentionPolicyHasBeenSet; }
92 
98  inline void SetRetentionPolicy(const RetentionPolicy& value) { m_retentionPolicyHasBeenSet = true; m_retentionPolicy = value; }
99 
105  inline void SetRetentionPolicy(RetentionPolicy&& value) { m_retentionPolicyHasBeenSet = true; m_retentionPolicy = std::move(value); }
106 
112  inline DeleteDomainRequest& WithRetentionPolicy(const RetentionPolicy& value) { SetRetentionPolicy(value); return *this;}
113 
119  inline DeleteDomainRequest& WithRetentionPolicy(RetentionPolicy&& value) { SetRetentionPolicy(std::move(value)); return *this;}
120 
121  private:
122 
123  Aws::String m_domainId;
124  bool m_domainIdHasBeenSet;
125 
126  RetentionPolicy m_retentionPolicy;
127  bool m_retentionPolicyHasBeenSet;
128  };
129 
130 } // namespace Model
131 } // namespace SageMaker
132 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SageMaker::Model::DeleteDomainRequest::RetentionPolicyHasBeenSet
bool RetentionPolicyHasBeenSet() const
Definition: DeleteDomainRequest.h:91
Aws::SageMaker::Model::DeleteDomainRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SageMaker::Model::DeleteDomainRequest::WithRetentionPolicy
DeleteDomainRequest & WithRetentionPolicy(const RetentionPolicy &value)
Definition: DeleteDomainRequest.h:112
Aws::SageMaker::Model::DeleteDomainRequest
Definition: DeleteDomainRequest.h:23
Aws::SageMaker::Model::DeleteDomainRequest::GetRetentionPolicy
const RetentionPolicy & GetRetentionPolicy() const
Definition: DeleteDomainRequest.h:84
Aws::SageMaker::Model::DeleteDomainRequest::SetRetentionPolicy
void SetRetentionPolicy(const RetentionPolicy &value)
Definition: DeleteDomainRequest.h:98
Aws::SageMaker::SageMakerRequest
Definition: SageMakerRequest.h:17
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::DeleteDomainRequest::SetDomainId
void SetDomainId(const char *value)
Definition: DeleteDomainRequest.h:61
Aws::SageMaker::Model::RetentionPolicy
Definition: RetentionPolicy.h:33
Aws::SageMaker::Model::DeleteDomainRequest::DomainIdHasBeenSet
bool DomainIdHasBeenSet() const
Definition: DeleteDomainRequest.h:46
AWSString.h
Aws::SageMaker::Model::DeleteDomainRequest::WithDomainId
DeleteDomainRequest & WithDomainId(Aws::String &&value)
Definition: DeleteDomainRequest.h:71
Aws::SageMaker::Model::DeleteDomainRequest::GetDomainId
const Aws::String & GetDomainId() const
Definition: DeleteDomainRequest.h:41
Aws
Definition: AccessManagementClient.h:15
SageMakerRequest.h
Aws::SageMaker::Model::DeleteDomainRequest::SetDomainId
void SetDomainId(Aws::String &&value)
Definition: DeleteDomainRequest.h:56
Aws::SageMaker::Model::DeleteDomainRequest::WithRetentionPolicy
DeleteDomainRequest & WithRetentionPolicy(RetentionPolicy &&value)
Definition: DeleteDomainRequest.h:119
Aws::SageMaker::Model::DeleteDomainRequest::SetDomainId
void SetDomainId(const Aws::String &value)
Definition: DeleteDomainRequest.h:51
Aws::SageMaker::Model::DeleteDomainRequest::WithDomainId
DeleteDomainRequest & WithDomainId(const Aws::String &value)
Definition: DeleteDomainRequest.h:66
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::DeleteDomainRequest::DeleteDomainRequest
DeleteDomainRequest()
Aws::SageMaker::Model::DeleteDomainRequest::WithDomainId
DeleteDomainRequest & WithDomainId(const char *value)
Definition: DeleteDomainRequest.h:76
Aws::SageMaker::Model::DeleteDomainRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SageMaker::Model::DeleteDomainRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteDomainRequest.h:31
Aws::SageMaker::Model::DeleteDomainRequest::SetRetentionPolicy
void SetRetentionPolicy(RetentionPolicy &&value)
Definition: DeleteDomainRequest.h:105
RetentionPolicy.h