AWS SDK for C++  1.9.153
AWS SDK for C++
DeleteContactListRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace SESV2
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 "DeleteContactList"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetContactListName() const{ return m_contactListName; }
39 
43  inline bool ContactListNameHasBeenSet() const { return m_contactListNameHasBeenSet; }
44 
48  inline void SetContactListName(const Aws::String& value) { m_contactListNameHasBeenSet = true; m_contactListName = value; }
49 
53  inline void SetContactListName(Aws::String&& value) { m_contactListNameHasBeenSet = true; m_contactListName = std::move(value); }
54 
58  inline void SetContactListName(const char* value) { m_contactListNameHasBeenSet = true; m_contactListName.assign(value); }
59 
63  inline DeleteContactListRequest& WithContactListName(const Aws::String& value) { SetContactListName(value); return *this;}
64 
68  inline DeleteContactListRequest& WithContactListName(Aws::String&& value) { SetContactListName(std::move(value)); return *this;}
69 
73  inline DeleteContactListRequest& WithContactListName(const char* value) { SetContactListName(value); return *this;}
74 
75  private:
76 
77  Aws::String m_contactListName;
78  bool m_contactListNameHasBeenSet;
79  };
80 
81 } // namespace Model
82 } // namespace SESV2
83 } // namespace Aws
Aws::SESV2::Model::DeleteContactListRequest::SetContactListName
void SetContactListName(const char *value)
Definition: DeleteContactListRequest.h:58
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::DeleteContactListRequest::WithContactListName
DeleteContactListRequest & WithContactListName(Aws::String &&value)
Definition: DeleteContactListRequest.h:68
Aws::SESV2::Model::DeleteContactListRequest
Definition: DeleteContactListRequest.h:22
Aws::SESV2::Model::DeleteContactListRequest::ContactListNameHasBeenSet
bool ContactListNameHasBeenSet() const
Definition: DeleteContactListRequest.h:43
Aws::SESV2::Model::DeleteContactListRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SESV2::Model::DeleteContactListRequest::SetContactListName
void SetContactListName(const Aws::String &value)
Definition: DeleteContactListRequest.h:48
Aws::SESV2::SESV2Request
Definition: SESV2Request.h:17
AWSString.h
Aws::SESV2::Model::DeleteContactListRequest::WithContactListName
DeleteContactListRequest & WithContactListName(const char *value)
Definition: DeleteContactListRequest.h:73
Aws::SESV2::Model::DeleteContactListRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteContactListRequest.h:30
SESV2_EXPORTS.h
Aws::SESV2::Model::DeleteContactListRequest::WithContactListName
DeleteContactListRequest & WithContactListName(const Aws::String &value)
Definition: DeleteContactListRequest.h:63
Aws::SESV2::Model::DeleteContactListRequest::GetContactListName
const Aws::String & GetContactListName() const
Definition: DeleteContactListRequest.h:38
Aws::SESV2::Model::DeleteContactListRequest::SetContactListName
void SetContactListName(Aws::String &&value)
Definition: DeleteContactListRequest.h:53
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
SESV2Request.h
Aws::SESV2::Model::DeleteContactListRequest::DeleteContactListRequest
DeleteContactListRequest()