AWS SDK for C++
1.8.129
AWS SDK for C++
aws-cpp-sdk-dlm
include
aws
dlm
model
DeleteLifecyclePolicyRequest.h
Go to the documentation of this file.
1
6
#pragma once
7
#include <
aws/dlm/DLM_EXPORTS.h
>
8
#include <
aws/dlm/DLMRequest.h
>
9
#include <
aws/core/utils/memory/stl/AWSString.h
>
10
#include <utility>
11
12
namespace
Aws
13
{
14
namespace
DLM
15
{
16
namespace
Model
17
{
18
21
class
AWS_DLM_API
DeleteLifecyclePolicyRequest
:
public
DLMRequest
22
{
23
public
:
24
DeleteLifecyclePolicyRequest
();
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
"DeleteLifecyclePolicy"
; }
31
32
Aws::String
SerializePayload
()
const override
;
33
34
38
inline
const
Aws::String
&
GetPolicyId
()
const
{
return
m_policyId; }
39
43
inline
bool
PolicyIdHasBeenSet
()
const
{
return
m_policyIdHasBeenSet; }
44
48
inline
void
SetPolicyId
(
const
Aws::String
& value) { m_policyIdHasBeenSet =
true
; m_policyId = value; }
49
53
inline
void
SetPolicyId
(
Aws::String
&& value) { m_policyIdHasBeenSet =
true
; m_policyId = std::move(value); }
54
58
inline
void
SetPolicyId
(
const
char
* value) { m_policyIdHasBeenSet =
true
; m_policyId.assign(value); }
59
63
inline
DeleteLifecyclePolicyRequest
&
WithPolicyId
(
const
Aws::String
& value) { SetPolicyId(value);
return
*
this
;}
64
68
inline
DeleteLifecyclePolicyRequest
&
WithPolicyId
(
Aws::String
&& value) { SetPolicyId(std::move(value));
return
*
this
;}
69
73
inline
DeleteLifecyclePolicyRequest
&
WithPolicyId
(
const
char
* value) { SetPolicyId(value);
return
*
this
;}
74
75
private
:
76
77
Aws::String
m_policyId;
78
bool
m_policyIdHasBeenSet;
79
};
80
81
}
// namespace Model
82
}
// namespace DLM
83
}
// namespace Aws
Aws::DLM::Model::DeleteLifecyclePolicyRequest::WithPolicyId
DeleteLifecyclePolicyRequest & WithPolicyId(const Aws::String &value)
Definition:
DeleteLifecyclePolicyRequest.h:63
DLM_EXPORTS.h
Aws::DLM::Model::DeleteLifecyclePolicyRequest::WithPolicyId
DeleteLifecyclePolicyRequest & WithPolicyId(Aws::String &&value)
Definition:
DeleteLifecyclePolicyRequest.h:68
Aws::DLM::Model::DeleteLifecyclePolicyRequest::SetPolicyId
void SetPolicyId(const Aws::String &value)
Definition:
DeleteLifecyclePolicyRequest.h:48
Aws::DLM::DLMRequest
Definition:
DLMRequest.h:17
Aws::DLM::Model::DeleteLifecyclePolicyRequest
Definition:
DeleteLifecyclePolicyRequest.h:22
DLMRequest.h
Aws::DLM::Model::DeleteLifecyclePolicyRequest::WithPolicyId
DeleteLifecyclePolicyRequest & WithPolicyId(const char *value)
Definition:
DeleteLifecyclePolicyRequest.h:73
AWS_DLM_API
#define AWS_DLM_API
Definition:
DLM_EXPORTS.h:28
Aws::DLM::Model::DeleteLifecyclePolicyRequest::SetPolicyId
void SetPolicyId(Aws::String &&value)
Definition:
DeleteLifecyclePolicyRequest.h:53
AWSString.h
Aws::DLM::Model::DeleteLifecyclePolicyRequest::SetPolicyId
void SetPolicyId(const char *value)
Definition:
DeleteLifecyclePolicyRequest.h:58
Aws::DLM::Model::DeleteLifecyclePolicyRequest::GetPolicyId
const Aws::String & GetPolicyId() const
Definition:
DeleteLifecyclePolicyRequest.h:38
Aws
Definition:
AccessManagementClient.h:15
Aws::DLM::Model::DeleteLifecyclePolicyRequest::PolicyIdHasBeenSet
bool PolicyIdHasBeenSet() const
Definition:
DeleteLifecyclePolicyRequest.h:43
Aws::DLM::Model::DeleteLifecyclePolicyRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition:
DeleteLifecyclePolicyRequest.h:30
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition:
AWSString.h:97
Aws::DLM::Model::DeleteLifecyclePolicyRequest::DeleteLifecyclePolicyRequest
DeleteLifecyclePolicyRequest()
Aws::DLM::Model::DeleteLifecyclePolicyRequest::SerializePayload
Aws::String SerializePayload() const override
Generated by
1.8.19
Privacy |
Site terms |
Cookie preferences