AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
30 AWS_SES_API SetIdentityDkimEnabledRequest() = default;
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 template<typename IdentityT = Aws::String>
52 void SetIdentity(IdentityT&& value) { m_identityHasBeenSet = true; m_identity = std::forward<IdentityT>(value); }
53 template<typename IdentityT = Aws::String>
54 SetIdentityDkimEnabledRequest& WithIdentity(IdentityT&& value) { SetIdentity(std::forward<IdentityT>(value)); return *this;}
56
58
63 inline bool GetDkimEnabled() const { return m_dkimEnabled; }
64 inline bool DkimEnabledHasBeenSet() const { return m_dkimEnabledHasBeenSet; }
65 inline void SetDkimEnabled(bool value) { m_dkimEnabledHasBeenSet = true; m_dkimEnabled = value; }
66 inline SetIdentityDkimEnabledRequest& WithDkimEnabled(bool value) { SetDkimEnabled(value); return *this;}
68 private:
69
70 Aws::String m_identity;
71 bool m_identityHasBeenSet = false;
72
73 bool m_dkimEnabled{false};
74 bool m_dkimEnabledHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace SES
79} // 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