AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetConfigurationSetResult.h
1
6#pragma once
7#include <aws/pinpoint-email/PinpointEmail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/pinpoint-email/model/TrackingOptions.h>
10#include <aws/pinpoint-email/model/DeliveryOptions.h>
11#include <aws/pinpoint-email/model/ReputationOptions.h>
12#include <aws/pinpoint-email/model/SendingOptions.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/pinpoint-email/model/Tag.h>
15#include <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace PinpointEmail
30{
31namespace Model
32{
39 {
40 public:
41 AWS_PINPOINTEMAIL_API GetConfigurationSetResult() = default;
44
45
47
50 inline const Aws::String& GetConfigurationSetName() const { return m_configurationSetName; }
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 GetConfigurationSetResult& WithConfigurationSetName(ConfigurationSetNameT&& value) { SetConfigurationSetName(std::forward<ConfigurationSetNameT>(value)); return *this;}
56
58
62 inline const TrackingOptions& GetTrackingOptions() const { return m_trackingOptions; }
63 template<typename TrackingOptionsT = TrackingOptions>
64 void SetTrackingOptions(TrackingOptionsT&& value) { m_trackingOptionsHasBeenSet = true; m_trackingOptions = std::forward<TrackingOptionsT>(value); }
65 template<typename TrackingOptionsT = TrackingOptions>
66 GetConfigurationSetResult& WithTrackingOptions(TrackingOptionsT&& value) { SetTrackingOptions(std::forward<TrackingOptionsT>(value)); return *this;}
68
70
74 inline const DeliveryOptions& GetDeliveryOptions() const { return m_deliveryOptions; }
75 template<typename DeliveryOptionsT = DeliveryOptions>
76 void SetDeliveryOptions(DeliveryOptionsT&& value) { m_deliveryOptionsHasBeenSet = true; m_deliveryOptions = std::forward<DeliveryOptionsT>(value); }
77 template<typename DeliveryOptionsT = DeliveryOptions>
78 GetConfigurationSetResult& WithDeliveryOptions(DeliveryOptionsT&& value) { SetDeliveryOptions(std::forward<DeliveryOptionsT>(value)); return *this;}
80
82
86 inline const ReputationOptions& GetReputationOptions() const { return m_reputationOptions; }
87 template<typename ReputationOptionsT = ReputationOptions>
88 void SetReputationOptions(ReputationOptionsT&& value) { m_reputationOptionsHasBeenSet = true; m_reputationOptions = std::forward<ReputationOptionsT>(value); }
89 template<typename ReputationOptionsT = ReputationOptions>
90 GetConfigurationSetResult& WithReputationOptions(ReputationOptionsT&& value) { SetReputationOptions(std::forward<ReputationOptionsT>(value)); return *this;}
92
94
98 inline const SendingOptions& GetSendingOptions() const { return m_sendingOptions; }
99 template<typename SendingOptionsT = SendingOptions>
100 void SetSendingOptions(SendingOptionsT&& value) { m_sendingOptionsHasBeenSet = true; m_sendingOptions = std::forward<SendingOptionsT>(value); }
101 template<typename SendingOptionsT = SendingOptions>
102 GetConfigurationSetResult& WithSendingOptions(SendingOptionsT&& value) { SetSendingOptions(std::forward<SendingOptionsT>(value)); return *this;}
104
106
110 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
111 template<typename TagsT = Aws::Vector<Tag>>
112 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
113 template<typename TagsT = Aws::Vector<Tag>>
114 GetConfigurationSetResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
115 template<typename TagsT = Tag>
116 GetConfigurationSetResult& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
118
120
121 inline const Aws::String& GetRequestId() const { return m_requestId; }
122 template<typename RequestIdT = Aws::String>
123 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
124 template<typename RequestIdT = Aws::String>
125 GetConfigurationSetResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
127 private:
128
129 Aws::String m_configurationSetName;
130 bool m_configurationSetNameHasBeenSet = false;
131
132 TrackingOptions m_trackingOptions;
133 bool m_trackingOptionsHasBeenSet = false;
134
135 DeliveryOptions m_deliveryOptions;
136 bool m_deliveryOptionsHasBeenSet = false;
137
138 ReputationOptions m_reputationOptions;
139 bool m_reputationOptionsHasBeenSet = false;
140
141 SendingOptions m_sendingOptions;
142 bool m_sendingOptionsHasBeenSet = false;
143
144 Aws::Vector<Tag> m_tags;
145 bool m_tagsHasBeenSet = false;
146
147 Aws::String m_requestId;
148 bool m_requestIdHasBeenSet = false;
149 };
150
151} // namespace Model
152} // namespace PinpointEmail
153} // namespace Aws
GetConfigurationSetResult & WithTags(TagsT &&value)
GetConfigurationSetResult & WithRequestId(RequestIdT &&value)
AWS_PINPOINTEMAIL_API GetConfigurationSetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetConfigurationSetResult & WithSendingOptions(SendingOptionsT &&value)
GetConfigurationSetResult & WithDeliveryOptions(DeliveryOptionsT &&value)
GetConfigurationSetResult & WithTrackingOptions(TrackingOptionsT &&value)
AWS_PINPOINTEMAIL_API GetConfigurationSetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetConfigurationSetResult & WithReputationOptions(ReputationOptionsT &&value)
GetConfigurationSetResult & WithConfigurationSetName(ConfigurationSetNameT &&value)
AWS_PINPOINTEMAIL_API GetConfigurationSetResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue