AWS SDK for C++  1.8.129
AWS SDK for C++
UpdateConfigurationSetReputationMetricsEnabledRequest.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 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "UpdateConfigurationSetReputationMetricsEnabled"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  protected:
39  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40 
41  public:
42 
46  inline const Aws::String& GetConfigurationSetName() const{ return m_configurationSetName; }
47 
51  inline bool ConfigurationSetNameHasBeenSet() const { return m_configurationSetNameHasBeenSet; }
52 
56  inline void SetConfigurationSetName(const Aws::String& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = value; }
57 
61  inline void SetConfigurationSetName(Aws::String&& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = std::move(value); }
62 
66  inline void SetConfigurationSetName(const char* value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName.assign(value); }
67 
71  inline UpdateConfigurationSetReputationMetricsEnabledRequest& WithConfigurationSetName(const Aws::String& value) { SetConfigurationSetName(value); return *this;}
72 
76  inline UpdateConfigurationSetReputationMetricsEnabledRequest& WithConfigurationSetName(Aws::String&& value) { SetConfigurationSetName(std::move(value)); return *this;}
77 
81  inline UpdateConfigurationSetReputationMetricsEnabledRequest& WithConfigurationSetName(const char* value) { SetConfigurationSetName(value); return *this;}
82 
83 
88  inline bool GetEnabled() const{ return m_enabled; }
89 
94  inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
95 
100  inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
101 
106  inline UpdateConfigurationSetReputationMetricsEnabledRequest& WithEnabled(bool value) { SetEnabled(value); return *this;}
107 
108  private:
109 
110  Aws::String m_configurationSetName;
111  bool m_configurationSetNameHasBeenSet;
112 
113  bool m_enabled;
114  bool m_enabledHasBeenSet;
115  };
116 
117 } // namespace Model
118 } // namespace SES
119 } // namespace Aws
Aws::SES::Model::UpdateConfigurationSetReputationMetricsEnabledRequest::GetConfigurationSetName
const Aws::String & GetConfigurationSetName() const
Definition: UpdateConfigurationSetReputationMetricsEnabledRequest.h:46
Aws::SES::Model::UpdateConfigurationSetReputationMetricsEnabledRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateConfigurationSetReputationMetricsEnabledRequest.h:34
Aws::Http::URI
Definition: URI.h:32
Aws::SES::Model::UpdateConfigurationSetReputationMetricsEnabledRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::SES::Model::UpdateConfigurationSetReputationMetricsEnabledRequest::SetEnabled
void SetEnabled(bool value)
Definition: UpdateConfigurationSetReputationMetricsEnabledRequest.h:100
Aws::SES::Model::UpdateConfigurationSetReputationMetricsEnabledRequest::WithEnabled
UpdateConfigurationSetReputationMetricsEnabledRequest & WithEnabled(bool value)
Definition: UpdateConfigurationSetReputationMetricsEnabledRequest.h:106
Aws::SES::Model::UpdateConfigurationSetReputationMetricsEnabledRequest::GetEnabled
bool GetEnabled() const
Definition: UpdateConfigurationSetReputationMetricsEnabledRequest.h:88
Aws::SES::Model::UpdateConfigurationSetReputationMetricsEnabledRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SES::Model::UpdateConfigurationSetReputationMetricsEnabledRequest
Definition: UpdateConfigurationSetReputationMetricsEnabledRequest.h:26
Aws::SES::Model::UpdateConfigurationSetReputationMetricsEnabledRequest::WithConfigurationSetName
UpdateConfigurationSetReputationMetricsEnabledRequest & WithConfigurationSetName(const Aws::String &value)
Definition: UpdateConfigurationSetReputationMetricsEnabledRequest.h:71
SESRequest.h
Aws::SES::Model::UpdateConfigurationSetReputationMetricsEnabledRequest::WithConfigurationSetName
UpdateConfigurationSetReputationMetricsEnabledRequest & WithConfigurationSetName(Aws::String &&value)
Definition: UpdateConfigurationSetReputationMetricsEnabledRequest.h:76
Aws::SES::Model::UpdateConfigurationSetReputationMetricsEnabledRequest::SetConfigurationSetName
void SetConfigurationSetName(const char *value)
Definition: UpdateConfigurationSetReputationMetricsEnabledRequest.h:66
Aws::SES::Model::UpdateConfigurationSetReputationMetricsEnabledRequest::UpdateConfigurationSetReputationMetricsEnabledRequest
UpdateConfigurationSetReputationMetricsEnabledRequest()
AWSString.h
Aws::SES::Model::UpdateConfigurationSetReputationMetricsEnabledRequest::EnabledHasBeenSet
bool EnabledHasBeenSet() const
Definition: UpdateConfigurationSetReputationMetricsEnabledRequest.h:94
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::UpdateConfigurationSetReputationMetricsEnabledRequest::ConfigurationSetNameHasBeenSet
bool ConfigurationSetNameHasBeenSet() const
Definition: UpdateConfigurationSetReputationMetricsEnabledRequest.h:51
Aws
Definition: AccessManagementClient.h:15
Aws::SES::Model::UpdateConfigurationSetReputationMetricsEnabledRequest::SetConfigurationSetName
void SetConfigurationSetName(const Aws::String &value)
Definition: UpdateConfigurationSetReputationMetricsEnabledRequest.h:56
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SES::Model::UpdateConfigurationSetReputationMetricsEnabledRequest::WithConfigurationSetName
UpdateConfigurationSetReputationMetricsEnabledRequest & WithConfigurationSetName(const char *value)
Definition: UpdateConfigurationSetReputationMetricsEnabledRequest.h:81
Aws::SES::Model::UpdateConfigurationSetReputationMetricsEnabledRequest::SetConfigurationSetName
void SetConfigurationSetName(Aws::String &&value)
Definition: UpdateConfigurationSetReputationMetricsEnabledRequest.h:61