AWS SDK for C++

AWS SDK for C++ Version 1.11.766

Loading...
Searching...
No Matches
SetIdentityDkimEnabledRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/email/SESRequest.h>
9#include <aws/email/SES_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace SES {
15namespace Model {
16
26 public:
27 AWS_SES_API SetIdentityDkimEnabledRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "SetIdentityDkimEnabled"; }
34
35 AWS_SES_API Aws::String SerializePayload() const override;
36
37 protected:
38 AWS_SES_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
39
40 public:
42
45 inline const Aws::String& GetIdentity() const { return m_identity; }
46 inline bool IdentityHasBeenSet() const { return m_identityHasBeenSet; }
47 template <typename IdentityT = Aws::String>
48 void SetIdentity(IdentityT&& value) {
49 m_identityHasBeenSet = true;
50 m_identity = std::forward<IdentityT>(value);
51 }
52 template <typename IdentityT = Aws::String>
54 SetIdentity(std::forward<IdentityT>(value));
55 return *this;
56 }
58
60
65 inline bool GetDkimEnabled() const { return m_dkimEnabled; }
66 inline bool DkimEnabledHasBeenSet() const { return m_dkimEnabledHasBeenSet; }
67 inline void SetDkimEnabled(bool value) {
68 m_dkimEnabledHasBeenSet = true;
69 m_dkimEnabled = value;
70 }
72 SetDkimEnabled(value);
73 return *this;
74 }
76 private:
77 Aws::String m_identity;
78
79 bool m_dkimEnabled{false};
80 bool m_identityHasBeenSet = false;
81 bool m_dkimEnabledHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace SES
86} // namespace Aws
SetIdentityDkimEnabledRequest & WithDkimEnabled(bool value)
AWS_SES_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
AWS_SES_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
SetIdentityDkimEnabledRequest & WithIdentity(IdentityT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String