AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SetIdentityDkimEnabledRequest.h
1
6#pragma once
7#include <aws/email/SES_EXPORTS.h>
8#include <aws/email/SESRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace SES
15{
16namespace 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_SES_API Aws::String SerializePayload() const override;
39
40 protected:
41 AWS_SES_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
42
43 public:
44
46
49 inline const Aws::String& GetIdentity() const{ return m_identity; }
50 inline bool IdentityHasBeenSet() const { return m_identityHasBeenSet; }
51 inline void SetIdentity(const Aws::String& value) { m_identityHasBeenSet = true; m_identity = value; }
52 inline void SetIdentity(Aws::String&& value) { m_identityHasBeenSet = true; m_identity = std::move(value); }
53 inline void SetIdentity(const char* value) { m_identityHasBeenSet = true; m_identity.assign(value); }
54 inline SetIdentityDkimEnabledRequest& WithIdentity(const Aws::String& value) { SetIdentity(value); return *this;}
55 inline SetIdentityDkimEnabledRequest& WithIdentity(Aws::String&& value) { SetIdentity(std::move(value)); return *this;}
56 inline SetIdentityDkimEnabledRequest& WithIdentity(const char* value) { SetIdentity(value); return *this;}
58
60
65 inline bool GetDkimEnabled() const{ return m_dkimEnabled; }
66 inline bool DkimEnabledHasBeenSet() const { return m_dkimEnabledHasBeenSet; }
67 inline void SetDkimEnabled(bool value) { m_dkimEnabledHasBeenSet = true; m_dkimEnabled = value; }
68 inline SetIdentityDkimEnabledRequest& WithDkimEnabled(bool value) { SetDkimEnabled(value); return *this;}
70 private:
71
72 Aws::String m_identity;
73 bool m_identityHasBeenSet = false;
74
75 bool m_dkimEnabled;
76 bool m_dkimEnabledHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace SES
81} // namespace Aws
SetIdentityDkimEnabledRequest & WithDkimEnabled(bool value)
AWS_SES_API Aws::String SerializePayload() const override
SetIdentityDkimEnabledRequest & WithIdentity(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
SetIdentityDkimEnabledRequest & WithIdentity(const char *value)
SetIdentityDkimEnabledRequest & WithIdentity(const Aws::String &value)
AWS_SES_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String