AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateConfigurationSetRequest.h
1
6#pragma once
7#include <aws/pinpoint-email/PinpointEmail_EXPORTS.h>
8#include <aws/pinpoint-email/PinpointEmailRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/pinpoint-email/model/TrackingOptions.h>
11#include <aws/pinpoint-email/model/DeliveryOptions.h>
12#include <aws/pinpoint-email/model/ReputationOptions.h>
13#include <aws/pinpoint-email/model/SendingOptions.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/pinpoint-email/model/Tag.h>
16#include <utility>
17
18namespace Aws
19{
20namespace PinpointEmail
21{
22namespace Model
23{
24
31 {
32 public:
33 AWS_PINPOINTEMAIL_API CreateConfigurationSetRequest();
34
35 // Service request name is the Operation name which will send this request out,
36 // each operation should has unique request name, so that we can get operation's name from this request.
37 // Note: this is not true for response, multiple operations may have the same response name,
38 // so we can not get operation's name from response.
39 inline virtual const char* GetServiceRequestName() const override { return "CreateConfigurationSet"; }
40
41 AWS_PINPOINTEMAIL_API Aws::String SerializePayload() const override;
42
43
45
48 inline const Aws::String& GetConfigurationSetName() const{ return m_configurationSetName; }
49 inline bool ConfigurationSetNameHasBeenSet() const { return m_configurationSetNameHasBeenSet; }
50 inline void SetConfigurationSetName(const Aws::String& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = value; }
51 inline void SetConfigurationSetName(Aws::String&& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = std::move(value); }
52 inline void SetConfigurationSetName(const char* value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName.assign(value); }
55 inline CreateConfigurationSetRequest& WithConfigurationSetName(const char* value) { SetConfigurationSetName(value); return *this;}
57
59
63 inline const TrackingOptions& GetTrackingOptions() const{ return m_trackingOptions; }
64 inline bool TrackingOptionsHasBeenSet() const { return m_trackingOptionsHasBeenSet; }
65 inline void SetTrackingOptions(const TrackingOptions& value) { m_trackingOptionsHasBeenSet = true; m_trackingOptions = value; }
66 inline void SetTrackingOptions(TrackingOptions&& value) { m_trackingOptionsHasBeenSet = true; m_trackingOptions = std::move(value); }
68 inline CreateConfigurationSetRequest& WithTrackingOptions(TrackingOptions&& value) { SetTrackingOptions(std::move(value)); return *this;}
70
72
76 inline const DeliveryOptions& GetDeliveryOptions() const{ return m_deliveryOptions; }
77 inline bool DeliveryOptionsHasBeenSet() const { return m_deliveryOptionsHasBeenSet; }
78 inline void SetDeliveryOptions(const DeliveryOptions& value) { m_deliveryOptionsHasBeenSet = true; m_deliveryOptions = value; }
79 inline void SetDeliveryOptions(DeliveryOptions&& value) { m_deliveryOptionsHasBeenSet = true; m_deliveryOptions = std::move(value); }
81 inline CreateConfigurationSetRequest& WithDeliveryOptions(DeliveryOptions&& value) { SetDeliveryOptions(std::move(value)); return *this;}
83
85
89 inline const ReputationOptions& GetReputationOptions() const{ return m_reputationOptions; }
90 inline bool ReputationOptionsHasBeenSet() const { return m_reputationOptionsHasBeenSet; }
91 inline void SetReputationOptions(const ReputationOptions& value) { m_reputationOptionsHasBeenSet = true; m_reputationOptions = value; }
92 inline void SetReputationOptions(ReputationOptions&& value) { m_reputationOptionsHasBeenSet = true; m_reputationOptions = std::move(value); }
96
98
102 inline const SendingOptions& GetSendingOptions() const{ return m_sendingOptions; }
103 inline bool SendingOptionsHasBeenSet() const { return m_sendingOptionsHasBeenSet; }
104 inline void SetSendingOptions(const SendingOptions& value) { m_sendingOptionsHasBeenSet = true; m_sendingOptions = value; }
105 inline void SetSendingOptions(SendingOptions&& value) { m_sendingOptionsHasBeenSet = true; m_sendingOptions = std::move(value); }
107 inline CreateConfigurationSetRequest& WithSendingOptions(SendingOptions&& value) { SetSendingOptions(std::move(value)); return *this;}
109
111
115 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
116 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
117 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
118 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
119 inline CreateConfigurationSetRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
120 inline CreateConfigurationSetRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
121 inline CreateConfigurationSetRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
122 inline CreateConfigurationSetRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
124 private:
125
126 Aws::String m_configurationSetName;
127 bool m_configurationSetNameHasBeenSet = false;
128
129 TrackingOptions m_trackingOptions;
130 bool m_trackingOptionsHasBeenSet = false;
131
132 DeliveryOptions m_deliveryOptions;
133 bool m_deliveryOptionsHasBeenSet = false;
134
135 ReputationOptions m_reputationOptions;
136 bool m_reputationOptionsHasBeenSet = false;
137
138 SendingOptions m_sendingOptions;
139 bool m_sendingOptionsHasBeenSet = false;
140
141 Aws::Vector<Tag> m_tags;
142 bool m_tagsHasBeenSet = false;
143 };
144
145} // namespace Model
146} // namespace PinpointEmail
147} // namespace Aws
CreateConfigurationSetRequest & WithConfigurationSetName(const char *value)
CreateConfigurationSetRequest & WithDeliveryOptions(const DeliveryOptions &value)
CreateConfigurationSetRequest & WithTrackingOptions(TrackingOptions &&value)
CreateConfigurationSetRequest & WithConfigurationSetName(const Aws::String &value)
CreateConfigurationSetRequest & WithConfigurationSetName(Aws::String &&value)
CreateConfigurationSetRequest & WithDeliveryOptions(DeliveryOptions &&value)
CreateConfigurationSetRequest & WithTags(const Aws::Vector< Tag > &value)
CreateConfigurationSetRequest & WithReputationOptions(ReputationOptions &&value)
CreateConfigurationSetRequest & WithSendingOptions(const SendingOptions &value)
CreateConfigurationSetRequest & WithReputationOptions(const ReputationOptions &value)
CreateConfigurationSetRequest & WithTags(Aws::Vector< Tag > &&value)
CreateConfigurationSetRequest & WithTrackingOptions(const TrackingOptions &value)
CreateConfigurationSetRequest & WithSendingOptions(SendingOptions &&value)
CreateConfigurationSetRequest & AddTags(const Tag &value)
AWS_PINPOINTEMAIL_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector