AWS SDK for C++  1.8.127
AWS SDK for C++
SetIdentityFeedbackForwardingEnabledRequest.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 
29  {
30  public:
32 
33  // Service request name is the Operation name which will send this request out,
34  // each operation should has unique request name, so that we can get operation's name from this request.
35  // Note: this is not true for response, multiple operations may have the same response name,
36  // so we can not get operation's name from response.
37  inline virtual const char* GetServiceRequestName() const override { return "SetIdentityFeedbackForwardingEnabled"; }
38 
39  Aws::String SerializePayload() const override;
40 
41  protected:
42  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
43 
44  public:
45 
50  inline const Aws::String& GetIdentity() const{ return m_identity; }
51 
56  inline bool IdentityHasBeenSet() const { return m_identityHasBeenSet; }
57 
62  inline void SetIdentity(const Aws::String& value) { m_identityHasBeenSet = true; m_identity = value; }
63 
68  inline void SetIdentity(Aws::String&& value) { m_identityHasBeenSet = true; m_identity = std::move(value); }
69 
74  inline void SetIdentity(const char* value) { m_identityHasBeenSet = true; m_identity.assign(value); }
75 
80  inline SetIdentityFeedbackForwardingEnabledRequest& WithIdentity(const Aws::String& value) { SetIdentity(value); return *this;}
81 
86  inline SetIdentityFeedbackForwardingEnabledRequest& WithIdentity(Aws::String&& value) { SetIdentity(std::move(value)); return *this;}
87 
92  inline SetIdentityFeedbackForwardingEnabledRequest& WithIdentity(const char* value) { SetIdentity(value); return *this;}
93 
94 
104  inline bool GetForwardingEnabled() const{ return m_forwardingEnabled; }
105 
115  inline bool ForwardingEnabledHasBeenSet() const { return m_forwardingEnabledHasBeenSet; }
116 
126  inline void SetForwardingEnabled(bool value) { m_forwardingEnabledHasBeenSet = true; m_forwardingEnabled = value; }
127 
137  inline SetIdentityFeedbackForwardingEnabledRequest& WithForwardingEnabled(bool value) { SetForwardingEnabled(value); return *this;}
138 
139  private:
140 
141  Aws::String m_identity;
142  bool m_identityHasBeenSet;
143 
144  bool m_forwardingEnabled;
145  bool m_forwardingEnabledHasBeenSet;
146  };
147 
148 } // namespace Model
149 } // namespace SES
150 } // namespace Aws
Aws::SES::Model::SetIdentityFeedbackForwardingEnabledRequest::SetForwardingEnabled
void SetForwardingEnabled(bool value)
Definition: SetIdentityFeedbackForwardingEnabledRequest.h:126
Aws::SES::Model::SetIdentityFeedbackForwardingEnabledRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: SetIdentityFeedbackForwardingEnabledRequest.h:37
Aws::Http::URI
Definition: URI.h:32
Aws::SES::Model::SetIdentityFeedbackForwardingEnabledRequest::WithIdentity
SetIdentityFeedbackForwardingEnabledRequest & WithIdentity(Aws::String &&value)
Definition: SetIdentityFeedbackForwardingEnabledRequest.h:86
Aws::SES::Model::SetIdentityFeedbackForwardingEnabledRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SES::Model::SetIdentityFeedbackForwardingEnabledRequest::SetIdentityFeedbackForwardingEnabledRequest
SetIdentityFeedbackForwardingEnabledRequest()
Aws::SES::Model::SetIdentityFeedbackForwardingEnabledRequest
Definition: SetIdentityFeedbackForwardingEnabledRequest.h:29
Aws::SES::Model::SetIdentityFeedbackForwardingEnabledRequest::ForwardingEnabledHasBeenSet
bool ForwardingEnabledHasBeenSet() const
Definition: SetIdentityFeedbackForwardingEnabledRequest.h:115
Aws::SES::Model::SetIdentityFeedbackForwardingEnabledRequest::GetIdentity
const Aws::String & GetIdentity() const
Definition: SetIdentityFeedbackForwardingEnabledRequest.h:50
Aws::SES::Model::SetIdentityFeedbackForwardingEnabledRequest::WithForwardingEnabled
SetIdentityFeedbackForwardingEnabledRequest & WithForwardingEnabled(bool value)
Definition: SetIdentityFeedbackForwardingEnabledRequest.h:137
Aws::SES::Model::SetIdentityFeedbackForwardingEnabledRequest::SetIdentity
void SetIdentity(const char *value)
Definition: SetIdentityFeedbackForwardingEnabledRequest.h:74
SESRequest.h
Aws::SES::Model::SetIdentityFeedbackForwardingEnabledRequest::SetIdentity
void SetIdentity(const Aws::String &value)
Definition: SetIdentityFeedbackForwardingEnabledRequest.h:62
AWSString.h
SES_EXPORTS.h
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::SESRequest
Definition: SESRequest.h:17
Aws::SES::Model::SetIdentityFeedbackForwardingEnabledRequest::GetForwardingEnabled
bool GetForwardingEnabled() const
Definition: SetIdentityFeedbackForwardingEnabledRequest.h:104
Aws::SES::Model::SetIdentityFeedbackForwardingEnabledRequest::IdentityHasBeenSet
bool IdentityHasBeenSet() const
Definition: SetIdentityFeedbackForwardingEnabledRequest.h:56
Aws::SES::Model::SetIdentityFeedbackForwardingEnabledRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SES::Model::SetIdentityFeedbackForwardingEnabledRequest::SetIdentity
void SetIdentity(Aws::String &&value)
Definition: SetIdentityFeedbackForwardingEnabledRequest.h:68
Aws::SES::Model::SetIdentityFeedbackForwardingEnabledRequest::WithIdentity
SetIdentityFeedbackForwardingEnabledRequest & WithIdentity(const Aws::String &value)
Definition: SetIdentityFeedbackForwardingEnabledRequest.h:80
Aws::SES::Model::SetIdentityFeedbackForwardingEnabledRequest::WithIdentity
SetIdentityFeedbackForwardingEnabledRequest & WithIdentity(const char *value)
Definition: SetIdentityFeedbackForwardingEnabledRequest.h:92