AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
CreateConfigurationSetTrackingOptionsRequest.h
1
6#pragma once
7#include <aws/email/SES_EXPORTS.h>
8#include <aws/email/SESRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/email/model/TrackingOptions.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SES
16{
17namespace 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_SES_API Aws::String SerializePayload() const override;
38
39 protected:
40 AWS_SES_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
41
42 public:
43
45
49 inline const Aws::String& GetConfigurationSetName() const { return m_configurationSetName; }
50 inline bool ConfigurationSetNameHasBeenSet() const { return m_configurationSetNameHasBeenSet; }
51 template<typename ConfigurationSetNameT = Aws::String>
52 void SetConfigurationSetName(ConfigurationSetNameT&& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = std::forward<ConfigurationSetNameT>(value); }
53 template<typename ConfigurationSetNameT = Aws::String>
54 CreateConfigurationSetTrackingOptionsRequest& WithConfigurationSetName(ConfigurationSetNameT&& value) { SetConfigurationSetName(std::forward<ConfigurationSetNameT>(value)); return *this;}
56
58
59 inline const TrackingOptions& GetTrackingOptions() const { return m_trackingOptions; }
60 inline bool TrackingOptionsHasBeenSet() const { return m_trackingOptionsHasBeenSet; }
61 template<typename TrackingOptionsT = TrackingOptions>
62 void SetTrackingOptions(TrackingOptionsT&& value) { m_trackingOptionsHasBeenSet = true; m_trackingOptions = std::forward<TrackingOptionsT>(value); }
63 template<typename TrackingOptionsT = TrackingOptions>
64 CreateConfigurationSetTrackingOptionsRequest& WithTrackingOptions(TrackingOptionsT&& value) { SetTrackingOptions(std::forward<TrackingOptionsT>(value)); return *this;}
66 private:
67
68 Aws::String m_configurationSetName;
69 bool m_configurationSetNameHasBeenSet = false;
70
71 TrackingOptions m_trackingOptions;
72 bool m_trackingOptionsHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace SES
77} // namespace Aws
CreateConfigurationSetTrackingOptionsRequest & WithTrackingOptions(TrackingOptionsT &&value)
AWS_SES_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CreateConfigurationSetTrackingOptionsRequest & WithConfigurationSetName(ConfigurationSetNameT &&value)
AWS_SES_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String