AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteDomainRequest.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sagemaker/model/RetentionPolicy.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SageMaker
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_SAGEMAKER_API DeleteDomainRequest();
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_SAGEMAKER_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetDomainId() const{ return m_domainId; }
43 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
44 inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; }
45 inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); }
46 inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); }
47 inline DeleteDomainRequest& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
48 inline DeleteDomainRequest& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
49 inline DeleteDomainRequest& WithDomainId(const char* value) { SetDomainId(value); return *this;}
51
53
58 inline const RetentionPolicy& GetRetentionPolicy() const{ return m_retentionPolicy; }
59 inline bool RetentionPolicyHasBeenSet() const { return m_retentionPolicyHasBeenSet; }
60 inline void SetRetentionPolicy(const RetentionPolicy& value) { m_retentionPolicyHasBeenSet = true; m_retentionPolicy = value; }
61 inline void SetRetentionPolicy(RetentionPolicy&& value) { m_retentionPolicyHasBeenSet = true; m_retentionPolicy = std::move(value); }
62 inline DeleteDomainRequest& WithRetentionPolicy(const RetentionPolicy& value) { SetRetentionPolicy(value); return *this;}
63 inline DeleteDomainRequest& WithRetentionPolicy(RetentionPolicy&& value) { SetRetentionPolicy(std::move(value)); return *this;}
65 private:
66
67 Aws::String m_domainId;
68 bool m_domainIdHasBeenSet = false;
69
70 RetentionPolicy m_retentionPolicy;
71 bool m_retentionPolicyHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace SageMaker
76} // namespace Aws
DeleteDomainRequest & WithRetentionPolicy(const RetentionPolicy &value)
DeleteDomainRequest & WithDomainId(const char *value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetDomainId(const Aws::String &value)
void SetRetentionPolicy(RetentionPolicy &&value)
virtual const char * GetServiceRequestName() const override
DeleteDomainRequest & WithDomainId(Aws::String &&value)
DeleteDomainRequest & WithDomainId(const Aws::String &value)
const RetentionPolicy & GetRetentionPolicy() const
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
void SetRetentionPolicy(const RetentionPolicy &value)
DeleteDomainRequest & WithRetentionPolicy(RetentionPolicy &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String