7#include <aws/connect/ConnectRequest.h>
8#include <aws/connect/Connect_EXPORTS.h>
9#include <aws/connect/model/ContactConfiguration.h>
10#include <aws/connect/model/DeviceType.h>
11#include <aws/core/utils/UUID.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
30 inline virtual const char*
GetServiceRequestName()
const override {
return "CreatePushNotificationRegistration"; }
42 template <
typename InstanceIdT = Aws::String>
44 m_instanceIdHasBeenSet =
true;
45 m_instanceId = std::forward<InstanceIdT>(value);
47 template <
typename InstanceIdT = Aws::String>
64 template <
typename ClientTokenT = Aws::String>
66 m_clientTokenHasBeenSet =
true;
67 m_clientToken = std::forward<ClientTokenT>(value);
69 template <
typename ClientTokenT = Aws::String>
82 template <
typename Pinpo
intAppArnT = Aws::String>
84 m_pinpointAppArnHasBeenSet =
true;
85 m_pinpointAppArn = std::forward<PinpointAppArnT>(value);
87 template <
typename Pinpo
intAppArnT = Aws::String>
100 template <
typename DeviceTokenT = Aws::String>
102 m_deviceTokenHasBeenSet =
true;
103 m_deviceToken = std::forward<DeviceTokenT>(value);
105 template <
typename DeviceTokenT = Aws::String>
119 m_deviceTypeHasBeenSet =
true;
120 m_deviceType = value;
134 template <
typename ContactConfigurationT = ContactConfiguration>
136 m_contactConfigurationHasBeenSet =
true;
137 m_contactConfiguration = std::forward<ContactConfigurationT>(value);
139 template <
typename ContactConfigurationT = ContactConfiguration>
147 bool m_instanceIdHasBeenSet =
false;
150 bool m_clientTokenHasBeenSet =
true;
153 bool m_pinpointAppArnHasBeenSet =
false;
156 bool m_deviceTokenHasBeenSet =
false;
159 bool m_deviceTypeHasBeenSet =
false;
161 ContactConfiguration m_contactConfiguration;
162 bool m_contactConfigurationHasBeenSet =
false;
void SetInstanceId(InstanceIdT &&value)
AWS_CONNECT_API Aws::String SerializePayload() const override
DeviceType GetDeviceType() const
AWS_CONNECT_API CreatePushNotificationRegistrationRequest()=default
CreatePushNotificationRegistrationRequest & WithPinpointAppArn(PinpointAppArnT &&value)
const Aws::String & GetDeviceToken() const
bool ClientTokenHasBeenSet() const
const Aws::String & GetClientToken() const
void SetContactConfiguration(ContactConfigurationT &&value)
void SetClientToken(ClientTokenT &&value)
bool DeviceTypeHasBeenSet() const
const ContactConfiguration & GetContactConfiguration() const
bool DeviceTokenHasBeenSet() const
CreatePushNotificationRegistrationRequest & WithDeviceType(DeviceType value)
CreatePushNotificationRegistrationRequest & WithClientToken(ClientTokenT &&value)
bool PinpointAppArnHasBeenSet() const
bool InstanceIdHasBeenSet() const
bool ContactConfigurationHasBeenSet() const
void SetPinpointAppArn(PinpointAppArnT &&value)
CreatePushNotificationRegistrationRequest & WithDeviceToken(DeviceTokenT &&value)
CreatePushNotificationRegistrationRequest & WithInstanceId(InstanceIdT &&value)
const Aws::String & GetPinpointAppArn() const
void SetDeviceToken(DeviceTokenT &&value)
void SetDeviceType(DeviceType value)
CreatePushNotificationRegistrationRequest & WithContactConfiguration(ContactConfigurationT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetInstanceId() const
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String