AWS SDK for C++  1.8.127
AWS SDK for C++
DeleteIdentityRequest.h
Go to the documentation of this file.
1 
6 #pragma once
8 #include <aws/email/SESRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace SES
15 {
16 namespace Model
17 {
18 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "DeleteIdentity"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  protected:
39  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40 
41  public:
42 
47  inline const Aws::String& GetIdentity() const{ return m_identity; }
48 
53  inline bool IdentityHasBeenSet() const { return m_identityHasBeenSet; }
54 
59  inline void SetIdentity(const Aws::String& value) { m_identityHasBeenSet = true; m_identity = value; }
60 
65  inline void SetIdentity(Aws::String&& value) { m_identityHasBeenSet = true; m_identity = std::move(value); }
66 
71  inline void SetIdentity(const char* value) { m_identityHasBeenSet = true; m_identity.assign(value); }
72 
77  inline DeleteIdentityRequest& WithIdentity(const Aws::String& value) { SetIdentity(value); return *this;}
78 
83  inline DeleteIdentityRequest& WithIdentity(Aws::String&& value) { SetIdentity(std::move(value)); return *this;}
84 
89  inline DeleteIdentityRequest& WithIdentity(const char* value) { SetIdentity(value); return *this;}
90 
91  private:
92 
93  Aws::String m_identity;
94  bool m_identityHasBeenSet;
95  };
96 
97 } // namespace Model
98 } // namespace SES
99 } // namespace Aws
Aws::SES::Model::DeleteIdentityRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteIdentityRequest.h:34
Aws::SES::Model::DeleteIdentityRequest::SetIdentity
void SetIdentity(const char *value)
Definition: DeleteIdentityRequest.h:71
Aws::Http::URI
Definition: URI.h:32
Aws::SES::Model::DeleteIdentityRequest
Definition: DeleteIdentityRequest.h:26
Aws::SES::Model::DeleteIdentityRequest::GetIdentity
const Aws::String & GetIdentity() const
Definition: DeleteIdentityRequest.h:47
Aws::SES::Model::DeleteIdentityRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SES::Model::DeleteIdentityRequest::WithIdentity
DeleteIdentityRequest & WithIdentity(const char *value)
Definition: DeleteIdentityRequest.h:89
Aws::SES::Model::DeleteIdentityRequest::SetIdentity
void SetIdentity(Aws::String &&value)
Definition: DeleteIdentityRequest.h:65
Aws::SES::Model::DeleteIdentityRequest::WithIdentity
DeleteIdentityRequest & WithIdentity(Aws::String &&value)
Definition: DeleteIdentityRequest.h:83
Aws::SES::Model::DeleteIdentityRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::SES::Model::DeleteIdentityRequest::IdentityHasBeenSet
bool IdentityHasBeenSet() const
Definition: DeleteIdentityRequest.h:53
SESRequest.h
AWSString.h
SES_EXPORTS.h
Aws::SES::Model::DeleteIdentityRequest::SetIdentity
void SetIdentity(const Aws::String &value)
Definition: DeleteIdentityRequest.h:59
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::SESRequest
Definition: SESRequest.h:17
Aws
Definition: AccessManagementClient.h:15
Aws::SES::Model::DeleteIdentityRequest::WithIdentity
DeleteIdentityRequest & WithIdentity(const Aws::String &value)
Definition: DeleteIdentityRequest.h:77
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SES::Model::DeleteIdentityRequest::DeleteIdentityRequest
DeleteIdentityRequest()