AWS SDK for C++  1.8.127
AWS SDK for C++
SetIdentityDkimEnabledRequest.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 
28  {
29  public:
31 
32  // Service request name is the Operation name which will send this request out,
33  // each operation should has unique request name, so that we can get operation's name from this request.
34  // Note: this is not true for response, multiple operations may have the same response name,
35  // so we can not get operation's name from response.
36  inline virtual const char* GetServiceRequestName() const override { return "SetIdentityDkimEnabled"; }
37 
38  Aws::String SerializePayload() const override;
39 
40  protected:
41  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
42 
43  public:
44 
48  inline const Aws::String& GetIdentity() const{ return m_identity; }
49 
53  inline bool IdentityHasBeenSet() const { return m_identityHasBeenSet; }
54 
58  inline void SetIdentity(const Aws::String& value) { m_identityHasBeenSet = true; m_identity = value; }
59 
63  inline void SetIdentity(Aws::String&& value) { m_identityHasBeenSet = true; m_identity = std::move(value); }
64 
68  inline void SetIdentity(const char* value) { m_identityHasBeenSet = true; m_identity.assign(value); }
69 
73  inline SetIdentityDkimEnabledRequest& WithIdentity(const Aws::String& value) { SetIdentity(value); return *this;}
74 
78  inline SetIdentityDkimEnabledRequest& WithIdentity(Aws::String&& value) { SetIdentity(std::move(value)); return *this;}
79 
83  inline SetIdentityDkimEnabledRequest& WithIdentity(const char* value) { SetIdentity(value); return *this;}
84 
85 
91  inline bool GetDkimEnabled() const{ return m_dkimEnabled; }
92 
98  inline bool DkimEnabledHasBeenSet() const { return m_dkimEnabledHasBeenSet; }
99 
105  inline void SetDkimEnabled(bool value) { m_dkimEnabledHasBeenSet = true; m_dkimEnabled = value; }
106 
112  inline SetIdentityDkimEnabledRequest& WithDkimEnabled(bool value) { SetDkimEnabled(value); return *this;}
113 
114  private:
115 
116  Aws::String m_identity;
117  bool m_identityHasBeenSet;
118 
119  bool m_dkimEnabled;
120  bool m_dkimEnabledHasBeenSet;
121  };
122 
123 } // namespace Model
124 } // namespace SES
125 } // namespace Aws
Aws::SES::Model::SetIdentityDkimEnabledRequest::SetIdentity
void SetIdentity(const char *value)
Definition: SetIdentityDkimEnabledRequest.h:68
Aws::Http::URI
Definition: URI.h:32
Aws::SES::Model::SetIdentityDkimEnabledRequest::SetIdentityDkimEnabledRequest
SetIdentityDkimEnabledRequest()
Aws::SES::Model::SetIdentityDkimEnabledRequest::WithIdentity
SetIdentityDkimEnabledRequest & WithIdentity(const Aws::String &value)
Definition: SetIdentityDkimEnabledRequest.h:73
Aws::SES::Model::SetIdentityDkimEnabledRequest::SetDkimEnabled
void SetDkimEnabled(bool value)
Definition: SetIdentityDkimEnabledRequest.h:105
Aws::SES::Model::SetIdentityDkimEnabledRequest::WithDkimEnabled
SetIdentityDkimEnabledRequest & WithDkimEnabled(bool value)
Definition: SetIdentityDkimEnabledRequest.h:112
Aws::SES::Model::SetIdentityDkimEnabledRequest::GetIdentity
const Aws::String & GetIdentity() const
Definition: SetIdentityDkimEnabledRequest.h:48
Aws::SES::Model::SetIdentityDkimEnabledRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: SetIdentityDkimEnabledRequest.h:36
SESRequest.h
Aws::SES::Model::SetIdentityDkimEnabledRequest::WithIdentity
SetIdentityDkimEnabledRequest & WithIdentity(Aws::String &&value)
Definition: SetIdentityDkimEnabledRequest.h:78
AWSString.h
Aws::SES::Model::SetIdentityDkimEnabledRequest
Definition: SetIdentityDkimEnabledRequest.h:28
SES_EXPORTS.h
Aws::SES::Model::SetIdentityDkimEnabledRequest::SetIdentity
void SetIdentity(const Aws::String &value)
Definition: SetIdentityDkimEnabledRequest.h:58
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::Model::SetIdentityDkimEnabledRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SES::SESRequest
Definition: SESRequest.h:17
Aws::SES::Model::SetIdentityDkimEnabledRequest::DkimEnabledHasBeenSet
bool DkimEnabledHasBeenSet() const
Definition: SetIdentityDkimEnabledRequest.h:98
Aws::SES::Model::SetIdentityDkimEnabledRequest::WithIdentity
SetIdentityDkimEnabledRequest & WithIdentity(const char *value)
Definition: SetIdentityDkimEnabledRequest.h:83
Aws
Definition: AccessManagementClient.h:15
Aws::SES::Model::SetIdentityDkimEnabledRequest::IdentityHasBeenSet
bool IdentityHasBeenSet() const
Definition: SetIdentityDkimEnabledRequest.h:53
Aws::SES::Model::SetIdentityDkimEnabledRequest::SetIdentity
void SetIdentity(Aws::String &&value)
Definition: SetIdentityDkimEnabledRequest.h:63
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SES::Model::SetIdentityDkimEnabledRequest::GetDkimEnabled
bool GetDkimEnabled() const
Definition: SetIdentityDkimEnabledRequest.h:91
Aws::SES::Model::SetIdentityDkimEnabledRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override