7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/mturk-requester/MTurk_EXPORTS.h>
10#include <aws/mturk-requester/model/EventType.h>
11#include <aws/mturk-requester/model/NotificationTransport.h>
48 template <
typename DestinationT = Aws::String>
50 m_destinationHasBeenSet =
true;
51 m_destination = std::forward<DestinationT>(value);
53 template <
typename DestinationT = Aws::String>
68 m_transportHasBeenSet =
true;
83 template <
typename VersionT = Aws::String>
85 m_versionHasBeenSet =
true;
86 m_version = std::forward<VersionT>(value);
88 template <
typename VersionT = Aws::String>
105 template <
typename EventTypesT = Aws::Vector<EventType>>
107 m_eventTypesHasBeenSet =
true;
108 m_eventTypes = std::forward<EventTypesT>(value);
110 template <
typename EventTypesT = Aws::Vector<EventType>>
116 m_eventTypesHasBeenSet =
true;
117 m_eventTypes.push_back(value);
129 bool m_destinationHasBeenSet =
false;
130 bool m_transportHasBeenSet =
false;
131 bool m_versionHasBeenSet =
false;
132 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