AWS SDK for C++  1.8.127
AWS SDK for C++
CreateConfigurationSetTrackingOptionsRequest.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 "CreateConfigurationSetTrackingOptions"; }
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 CreateConfigurationSetTrackingOptionsRequest& WithConfigurationSetName(const Aws::String& value) { SetConfigurationSetName(value); return *this;}
79 
84  inline CreateConfigurationSetTrackingOptionsRequest& WithConfigurationSetName(Aws::String&& value) { SetConfigurationSetName(std::move(value)); return *this;}
85 
90  inline CreateConfigurationSetTrackingOptionsRequest& 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 CreateConfigurationSetTrackingOptionsRequest& WithTrackingOptions(const TrackingOptions& value) { SetTrackingOptions(value); return *this;}
107 
108 
109  inline CreateConfigurationSetTrackingOptionsRequest& 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::Http::URI
Definition: URI.h:32
Aws::SES::Model::CreateConfigurationSetTrackingOptionsRequest::TrackingOptionsHasBeenSet
bool TrackingOptionsHasBeenSet() const
Definition: CreateConfigurationSetTrackingOptionsRequest.h:97
TrackingOptions.h
Aws::SES::Model::CreateConfigurationSetTrackingOptionsRequest::WithTrackingOptions
CreateConfigurationSetTrackingOptionsRequest & WithTrackingOptions(const TrackingOptions &value)
Definition: CreateConfigurationSetTrackingOptionsRequest.h:106
Aws::SES::Model::CreateConfigurationSetTrackingOptionsRequest::SetTrackingOptions
void SetTrackingOptions(const TrackingOptions &value)
Definition: CreateConfigurationSetTrackingOptionsRequest.h:100
Aws::SES::Model::CreateConfigurationSetTrackingOptionsRequest::SetConfigurationSetName
void SetConfigurationSetName(const Aws::String &value)
Definition: CreateConfigurationSetTrackingOptionsRequest.h:60
Aws::SES::Model::CreateConfigurationSetTrackingOptionsRequest::SetConfigurationSetName
void SetConfigurationSetName(Aws::String &&value)
Definition: CreateConfigurationSetTrackingOptionsRequest.h:66
Aws::SES::Model::CreateConfigurationSetTrackingOptionsRequest::CreateConfigurationSetTrackingOptionsRequest
CreateConfigurationSetTrackingOptionsRequest()
Aws::SES::Model::CreateConfigurationSetTrackingOptionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateConfigurationSetTrackingOptionsRequest.h:35
SESRequest.h
AWSString.h
Aws::SES::Model::CreateConfigurationSetTrackingOptionsRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
SES_EXPORTS.h
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::Model::CreateConfigurationSetTrackingOptionsRequest::SetTrackingOptions
void SetTrackingOptions(TrackingOptions &&value)
Definition: CreateConfigurationSetTrackingOptionsRequest.h:103
Aws::SES::SESRequest
Definition: SESRequest.h:17
Aws::SES::Model::CreateConfigurationSetTrackingOptionsRequest::WithConfigurationSetName
CreateConfigurationSetTrackingOptionsRequest & WithConfigurationSetName(const char *value)
Definition: CreateConfigurationSetTrackingOptionsRequest.h:90
Aws::SES::Model::TrackingOptions
Definition: TrackingOptions.h:37
Aws::SES::Model::CreateConfigurationSetTrackingOptionsRequest::ConfigurationSetNameHasBeenSet
bool ConfigurationSetNameHasBeenSet() const
Definition: CreateConfigurationSetTrackingOptionsRequest.h:54
Aws::SES::Model::CreateConfigurationSetTrackingOptionsRequest::WithTrackingOptions
CreateConfigurationSetTrackingOptionsRequest & WithTrackingOptions(TrackingOptions &&value)
Definition: CreateConfigurationSetTrackingOptionsRequest.h:109
Aws::SES::Model::CreateConfigurationSetTrackingOptionsRequest::SetConfigurationSetName
void SetConfigurationSetName(const char *value)
Definition: CreateConfigurationSetTrackingOptionsRequest.h:72
Aws::SES::Model::CreateConfigurationSetTrackingOptionsRequest::GetConfigurationSetName
const Aws::String & GetConfigurationSetName() const
Definition: CreateConfigurationSetTrackingOptionsRequest.h:48
Aws
Definition: AccessManagementClient.h:15
Aws::SES::Model::CreateConfigurationSetTrackingOptionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SES::Model::CreateConfigurationSetTrackingOptionsRequest::GetTrackingOptions
const TrackingOptions & GetTrackingOptions() const
Definition: CreateConfigurationSetTrackingOptionsRequest.h:94
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SES::Model::CreateConfigurationSetTrackingOptionsRequest::WithConfigurationSetName
CreateConfigurationSetTrackingOptionsRequest & WithConfigurationSetName(Aws::String &&value)
Definition: CreateConfigurationSetTrackingOptionsRequest.h:84
Aws::SES::Model::CreateConfigurationSetTrackingOptionsRequest
Definition: CreateConfigurationSetTrackingOptionsRequest.h:27
Aws::SES::Model::CreateConfigurationSetTrackingOptionsRequest::WithConfigurationSetName
CreateConfigurationSetTrackingOptionsRequest & WithConfigurationSetName(const Aws::String &value)
Definition: CreateConfigurationSetTrackingOptionsRequest.h:78