AWS SDK for C++  1.9.161
AWS SDK for C++
PutConfigurationSetReputationOptionsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace SESV2
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 "PutConfigurationSetReputationOptions"; }
35 
36  Aws::String SerializePayload() const override;
37 
38 
42  inline const Aws::String& GetConfigurationSetName() const{ return m_configurationSetName; }
43 
47  inline bool ConfigurationSetNameHasBeenSet() const { return m_configurationSetNameHasBeenSet; }
48 
52  inline void SetConfigurationSetName(const Aws::String& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = value; }
53 
57  inline void SetConfigurationSetName(Aws::String&& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = std::move(value); }
58 
62  inline void SetConfigurationSetName(const char* value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName.assign(value); }
63 
67  inline PutConfigurationSetReputationOptionsRequest& WithConfigurationSetName(const Aws::String& value) { SetConfigurationSetName(value); return *this;}
68 
72  inline PutConfigurationSetReputationOptionsRequest& WithConfigurationSetName(Aws::String&& value) { SetConfigurationSetName(std::move(value)); return *this;}
73 
77  inline PutConfigurationSetReputationOptionsRequest& WithConfigurationSetName(const char* value) { SetConfigurationSetName(value); return *this;}
78 
79 
85  inline bool GetReputationMetricsEnabled() const{ return m_reputationMetricsEnabled; }
86 
92  inline bool ReputationMetricsEnabledHasBeenSet() const { return m_reputationMetricsEnabledHasBeenSet; }
93 
99  inline void SetReputationMetricsEnabled(bool value) { m_reputationMetricsEnabledHasBeenSet = true; m_reputationMetricsEnabled = value; }
100 
106  inline PutConfigurationSetReputationOptionsRequest& WithReputationMetricsEnabled(bool value) { SetReputationMetricsEnabled(value); return *this;}
107 
108  private:
109 
110  Aws::String m_configurationSetName;
111  bool m_configurationSetNameHasBeenSet;
112 
113  bool m_reputationMetricsEnabled;
114  bool m_reputationMetricsEnabledHasBeenSet;
115  };
116 
117 } // namespace Model
118 } // namespace SESV2
119 } // namespace Aws
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::PutConfigurationSetReputationOptionsRequest::GetConfigurationSetName
const Aws::String & GetConfigurationSetName() const
Definition: PutConfigurationSetReputationOptionsRequest.h:42
Aws::SESV2::Model::PutConfigurationSetReputationOptionsRequest::SetConfigurationSetName
void SetConfigurationSetName(const Aws::String &value)
Definition: PutConfigurationSetReputationOptionsRequest.h:52
Aws::SESV2::Model::PutConfigurationSetReputationOptionsRequest::WithConfigurationSetName
PutConfigurationSetReputationOptionsRequest & WithConfigurationSetName(const char *value)
Definition: PutConfigurationSetReputationOptionsRequest.h:77
Aws::SESV2::Model::PutConfigurationSetReputationOptionsRequest::GetReputationMetricsEnabled
bool GetReputationMetricsEnabled() const
Definition: PutConfigurationSetReputationOptionsRequest.h:85
Aws::SESV2::Model::PutConfigurationSetReputationOptionsRequest::PutConfigurationSetReputationOptionsRequest
PutConfigurationSetReputationOptionsRequest()
Aws::SESV2::Model::PutConfigurationSetReputationOptionsRequest::ReputationMetricsEnabledHasBeenSet
bool ReputationMetricsEnabledHasBeenSet() const
Definition: PutConfigurationSetReputationOptionsRequest.h:92
Aws::SESV2::Model::PutConfigurationSetReputationOptionsRequest::SetConfigurationSetName
void SetConfigurationSetName(Aws::String &&value)
Definition: PutConfigurationSetReputationOptionsRequest.h:57
Aws::SESV2::Model::PutConfigurationSetReputationOptionsRequest::ConfigurationSetNameHasBeenSet
bool ConfigurationSetNameHasBeenSet() const
Definition: PutConfigurationSetReputationOptionsRequest.h:47
Aws::SESV2::Model::PutConfigurationSetReputationOptionsRequest::SetConfigurationSetName
void SetConfigurationSetName(const char *value)
Definition: PutConfigurationSetReputationOptionsRequest.h:62
Aws::SESV2::Model::PutConfigurationSetReputationOptionsRequest::SetReputationMetricsEnabled
void SetReputationMetricsEnabled(bool value)
Definition: PutConfigurationSetReputationOptionsRequest.h:99
Aws::SESV2::SESV2Request
Definition: SESV2Request.h:17
Aws::SESV2::Model::PutConfigurationSetReputationOptionsRequest
Definition: PutConfigurationSetReputationOptionsRequest.h:26
Aws::SESV2::Model::PutConfigurationSetReputationOptionsRequest::WithConfigurationSetName
PutConfigurationSetReputationOptionsRequest & WithConfigurationSetName(Aws::String &&value)
Definition: PutConfigurationSetReputationOptionsRequest.h:72
AWSString.h
Aws::SESV2::Model::PutConfigurationSetReputationOptionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SESV2::Model::PutConfigurationSetReputationOptionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: PutConfigurationSetReputationOptionsRequest.h:34
SESV2_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::PutConfigurationSetReputationOptionsRequest::WithReputationMetricsEnabled
PutConfigurationSetReputationOptionsRequest & WithReputationMetricsEnabled(bool value)
Definition: PutConfigurationSetReputationOptionsRequest.h:106
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
SESV2Request.h
Aws::SESV2::Model::PutConfigurationSetReputationOptionsRequest::WithConfigurationSetName
PutConfigurationSetReputationOptionsRequest & WithConfigurationSetName(const Aws::String &value)
Definition: PutConfigurationSetReputationOptionsRequest.h:67