7#include <aws/mturk-requester/MTurk_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mturk-requester/model/NotificationTransport.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/mturk-requester/model/EventType.h>
54 template<
typename DestinationT = Aws::String>
55 void SetDestination(DestinationT&& value) { m_destinationHasBeenSet =
true; m_destination = std::forward<DestinationT>(value); }
56 template<
typename DestinationT = Aws::String>
77 template<
typename VersionT = Aws::String>
78 void SetVersion(VersionT&& value) { m_versionHasBeenSet =
true; m_version = std::forward<VersionT>(value); }
79 template<
typename VersionT = Aws::String>
93 template<
typename EventTypesT = Aws::Vector<EventType>>
94 void SetEventTypes(EventTypesT&& value) { m_eventTypesHasBeenSet =
true; m_eventTypes = std::forward<EventTypesT>(value); }
95 template<
typename EventTypesT = Aws::Vector<EventType>>
102 bool m_destinationHasBeenSet =
false;
105 bool m_transportHasBeenSet =
false;
108 bool m_versionHasBeenSet =
false;
111 bool m_eventTypesHasBeenSet =
false;
bool DestinationHasBeenSet() const
AWS_MTURK_API NotificationSpecification(Aws::Utils::Json::JsonView jsonValue)
void SetVersion(VersionT &&value)
const Aws::String & GetDestination() const
bool EventTypesHasBeenSet() const
bool TransportHasBeenSet() const
AWS_MTURK_API NotificationSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
NotificationSpecification & AddEventTypes(EventType value)
void SetTransport(NotificationTransport value)
NotificationSpecification & WithTransport(NotificationTransport value)
NotificationSpecification & WithVersion(VersionT &&value)
NotificationTransport GetTransport() const
const Aws::String & GetVersion() const
AWS_MTURK_API NotificationSpecification()=default
void SetEventTypes(EventTypesT &&value)
void SetDestination(DestinationT &&value)
bool VersionHasBeenSet() const
const Aws::Vector< EventType > & GetEventTypes() const
NotificationSpecification & WithDestination(DestinationT &&value)
NotificationSpecification & WithEventTypes(EventTypesT &&value)
AWS_MTURK_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue