AWS SDK for C++  1.8.129
AWS SDK for C++
UpdateConfigurationSetTrackingOptionsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
8 #include <aws/email/SESRequest.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace SES
16 {
17 namespace Model
18 {
19 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "UpdateConfigurationSetTrackingOptions"; }
36 
37  Aws::String SerializePayload() const override;
38 
39  protected:
40  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
41 
42  public:
43 
48  inline const Aws::String& GetConfigurationSetName() const{ return m_configurationSetName; }
49 
54  inline bool ConfigurationSetNameHasBeenSet() const { return m_configurationSetNameHasBeenSet; }
55 
60  inline void SetConfigurationSetName(const Aws::String& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = value; }
61 
66  inline void SetConfigurationSetName(Aws::String&& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = std::move(value); }
67 
72  inline void SetConfigurationSetName(const char* value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName.assign(value); }
73 
78  inline UpdateConfigurationSetTrackingOptionsRequest& WithConfigurationSetName(const Aws::String& value) { SetConfigurationSetName(value); return *this;}
79 
84  inline UpdateConfigurationSetTrackingOptionsRequest& WithConfigurationSetName(Aws::String&& value) { SetConfigurationSetName(std::move(value)); return *this;}
85 
90  inline UpdateConfigurationSetTrackingOptionsRequest& WithConfigurationSetName(const char* value) { SetConfigurationSetName(value); return *this;}
91 
92 
93 
94  inline const TrackingOptions& GetTrackingOptions() const{ return m_trackingOptions; }
95 
96 
97  inline bool TrackingOptionsHasBeenSet() const { return m_trackingOptionsHasBeenSet; }
98 
99 
100  inline void SetTrackingOptions(const TrackingOptions& value) { m_trackingOptionsHasBeenSet = true; m_trackingOptions = value; }
101 
102 
103  inline void SetTrackingOptions(TrackingOptions&& value) { m_trackingOptionsHasBeenSet = true; m_trackingOptions = std::move(value); }
104 
105 
106  inline UpdateConfigurationSetTrackingOptionsRequest& WithTrackingOptions(const TrackingOptions& value) { SetTrackingOptions(value); return *this;}
107 
108 
109  inline UpdateConfigurationSetTrackingOptionsRequest& WithTrackingOptions(TrackingOptions&& value) { SetTrackingOptions(std::move(value)); return *this;}
110 
111  private:
112 
113  Aws::String m_configurationSetName;
114  bool m_configurationSetNameHasBeenSet;
115 
116  TrackingOptions m_trackingOptions;
117  bool m_trackingOptionsHasBeenSet;
118  };
119 
120 } // namespace Model
121 } // namespace SES
122 } // namespace Aws
Aws::SES::Model::UpdateConfigurationSetTrackingOptionsRequest::GetConfigurationSetName
const Aws::String & GetConfigurationSetName() const
Definition: UpdateConfigurationSetTrackingOptionsRequest.h:48
Aws::Http::URI
Definition: URI.h:32
Aws::SES::Model::UpdateConfigurationSetTrackingOptionsRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
TrackingOptions.h
Aws::SES::Model::UpdateConfigurationSetTrackingOptionsRequest::WithConfigurationSetName
UpdateConfigurationSetTrackingOptionsRequest & WithConfigurationSetName(Aws::String &&value)
Definition: UpdateConfigurationSetTrackingOptionsRequest.h:84
Aws::SES::Model::UpdateConfigurationSetTrackingOptionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateConfigurationSetTrackingOptionsRequest.h:35
Aws::SES::Model::UpdateConfigurationSetTrackingOptionsRequest::WithConfigurationSetName
UpdateConfigurationSetTrackingOptionsRequest & WithConfigurationSetName(const char *value)
Definition: UpdateConfigurationSetTrackingOptionsRequest.h:90
Aws::SES::Model::UpdateConfigurationSetTrackingOptionsRequest::SetConfigurationSetName
void SetConfigurationSetName(const Aws::String &value)
Definition: UpdateConfigurationSetTrackingOptionsRequest.h:60
Aws::SES::Model::UpdateConfigurationSetTrackingOptionsRequest::ConfigurationSetNameHasBeenSet
bool ConfigurationSetNameHasBeenSet() const
Definition: UpdateConfigurationSetTrackingOptionsRequest.h:54
Aws::SES::Model::UpdateConfigurationSetTrackingOptionsRequest::TrackingOptionsHasBeenSet
bool TrackingOptionsHasBeenSet() const
Definition: UpdateConfigurationSetTrackingOptionsRequest.h:97
SESRequest.h
Aws::SES::Model::UpdateConfigurationSetTrackingOptionsRequest::GetTrackingOptions
const TrackingOptions & GetTrackingOptions() const
Definition: UpdateConfigurationSetTrackingOptionsRequest.h:94
Aws::SES::Model::UpdateConfigurationSetTrackingOptionsRequest::UpdateConfigurationSetTrackingOptionsRequest
UpdateConfigurationSetTrackingOptionsRequest()
AWSString.h
SES_EXPORTS.h
Aws::SES::Model::UpdateConfigurationSetTrackingOptionsRequest::WithTrackingOptions
UpdateConfigurationSetTrackingOptionsRequest & WithTrackingOptions(TrackingOptions &&value)
Definition: UpdateConfigurationSetTrackingOptionsRequest.h:109
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::SESRequest
Definition: SESRequest.h:17
Aws::SES::Model::TrackingOptions
Definition: TrackingOptions.h:37
Aws::SES::Model::UpdateConfigurationSetTrackingOptionsRequest::WithTrackingOptions
UpdateConfigurationSetTrackingOptionsRequest & WithTrackingOptions(const TrackingOptions &value)
Definition: UpdateConfigurationSetTrackingOptionsRequest.h:106
Aws::SES::Model::UpdateConfigurationSetTrackingOptionsRequest::SetTrackingOptions
void SetTrackingOptions(const TrackingOptions &value)
Definition: UpdateConfigurationSetTrackingOptionsRequest.h:100
Aws
Definition: AccessManagementClient.h:15
Aws::SES::Model::UpdateConfigurationSetTrackingOptionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SES::Model::UpdateConfigurationSetTrackingOptionsRequest::WithConfigurationSetName
UpdateConfigurationSetTrackingOptionsRequest & WithConfigurationSetName(const Aws::String &value)
Definition: UpdateConfigurationSetTrackingOptionsRequest.h:78
Aws::SES::Model::UpdateConfigurationSetTrackingOptionsRequest::SetConfigurationSetName
void SetConfigurationSetName(const char *value)
Definition: UpdateConfigurationSetTrackingOptionsRequest.h:72
Aws::SES::Model::UpdateConfigurationSetTrackingOptionsRequest::SetConfigurationSetName
void SetConfigurationSetName(Aws::String &&value)
Definition: UpdateConfigurationSetTrackingOptionsRequest.h:66
Aws::SES::Model::UpdateConfigurationSetTrackingOptionsRequest
Definition: UpdateConfigurationSetTrackingOptionsRequest.h:27
Aws::SES::Model::UpdateConfigurationSetTrackingOptionsRequest::SetTrackingOptions
void SetTrackingOptions(TrackingOptions &&value)
Definition: UpdateConfigurationSetTrackingOptionsRequest.h:103