AWS SDK for C++  1.8.70
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
SetIdentityDkimEnabledRequest & WithDkimEnabled(bool value)
SetIdentityDkimEnabledRequest & WithIdentity(const char *value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
SetIdentityDkimEnabledRequest & WithIdentity(const Aws::String &value)
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
SetIdentityDkimEnabledRequest & WithIdentity(Aws::String &&value)