AWS SDK for C++  1.9.175
AWS SDK for C++
DeleteCustomDataIdentifierRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Macie2
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 "DeleteCustomDataIdentifier"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
39  inline const Aws::String& GetId() const{ return m_id; }
40 
45  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
46 
51  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
52 
57  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
58 
63  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
64 
69  inline DeleteCustomDataIdentifierRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
70 
75  inline DeleteCustomDataIdentifierRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
76 
81  inline DeleteCustomDataIdentifierRequest& WithId(const char* value) { SetId(value); return *this;}
82 
83  private:
84 
85  Aws::String m_id;
86  bool m_idHasBeenSet;
87  };
88 
89 } // namespace Model
90 } // namespace Macie2
91 } // namespace Aws
AWS_MACIE2_API
#define AWS_MACIE2_API
Definition: Macie2_EXPORTS.h:28
Aws::Macie2::Model::DeleteCustomDataIdentifierRequest::SetId
void SetId(const char *value)
Definition: DeleteCustomDataIdentifierRequest.h:63
Aws::Macie2::Model::DeleteCustomDataIdentifierRequest::WithId
DeleteCustomDataIdentifierRequest & WithId(Aws::String &&value)
Definition: DeleteCustomDataIdentifierRequest.h:75
Macie2_EXPORTS.h
Aws::Macie2::Model::DeleteCustomDataIdentifierRequest
Definition: DeleteCustomDataIdentifierRequest.h:22
Aws::Macie2::Macie2Request
Definition: Macie2Request.h:17
Macie2Request.h
AWSString.h
Aws::Macie2::Model::DeleteCustomDataIdentifierRequest::WithId
DeleteCustomDataIdentifierRequest & WithId(const Aws::String &value)
Definition: DeleteCustomDataIdentifierRequest.h:69
Aws
Definition: AccessManagementClient.h:15
Aws::Macie2::Model::DeleteCustomDataIdentifierRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Macie2::Model::DeleteCustomDataIdentifierRequest::SetId
void SetId(Aws::String &&value)
Definition: DeleteCustomDataIdentifierRequest.h:57
Aws::Macie2::Model::DeleteCustomDataIdentifierRequest::SetId
void SetId(const Aws::String &value)
Definition: DeleteCustomDataIdentifierRequest.h:51
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Macie2::Model::DeleteCustomDataIdentifierRequest::GetId
const Aws::String & GetId() const
Definition: DeleteCustomDataIdentifierRequest.h:39
Aws::Macie2::Model::DeleteCustomDataIdentifierRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteCustomDataIdentifierRequest.h:30
Aws::Macie2::Model::DeleteCustomDataIdentifierRequest::DeleteCustomDataIdentifierRequest
DeleteCustomDataIdentifierRequest()
Aws::Macie2::Model::DeleteCustomDataIdentifierRequest::WithId
DeleteCustomDataIdentifierRequest & WithId(const char *value)
Definition: DeleteCustomDataIdentifierRequest.h:81
Aws::Macie2::Model::DeleteCustomDataIdentifierRequest::IdHasBeenSet
bool IdHasBeenSet() const
Definition: DeleteCustomDataIdentifierRequest.h:45