7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/mturk-requester/MTurkRequest.h>
10#include <aws/mturk-requester/MTurk_EXPORTS.h>
41 template <
typename SubjectT = Aws::String>
43 m_subjectHasBeenSet =
true;
44 m_subject = std::forward<SubjectT>(value);
46 template <
typename SubjectT = Aws::String>
59 template <
typename MessageTextT = Aws::String>
61 m_messageTextHasBeenSet =
true;
62 m_messageText = std::forward<MessageTextT>(value);
64 template <
typename MessageTextT = Aws::String>
78 template <
typename WorkerIdsT = Aws::Vector<Aws::String>>
80 m_workerIdsHasBeenSet =
true;
81 m_workerIds = std::forward<WorkerIdsT>(value);
83 template <
typename WorkerIdsT = Aws::Vector<Aws::String>>
88 template <
typename WorkerIdsT = Aws::String>
90 m_workerIdsHasBeenSet =
true;
91 m_workerIds.emplace_back(std::forward<WorkerIdsT>(value));
101 bool m_subjectHasBeenSet =
false;
102 bool m_messageTextHasBeenSet =
false;
103 bool m_workerIdsHasBeenSet =
false;
AWS_MTURK_API NotifyWorkersRequest()=default
void SetWorkerIds(WorkerIdsT &&value)
NotifyWorkersRequest & WithWorkerIds(WorkerIdsT &&value)
const Aws::String & GetSubject() const
bool SubjectHasBeenSet() const
NotifyWorkersRequest & AddWorkerIds(WorkerIdsT &&value)
void SetSubject(SubjectT &&value)
AWS_MTURK_API Aws::String SerializePayload() const override
NotifyWorkersRequest & WithSubject(SubjectT &&value)
const Aws::String & GetMessageText() const
bool WorkerIdsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
NotifyWorkersRequest & WithMessageText(MessageTextT &&value)
const Aws::Vector< Aws::String > & GetWorkerIds() const
bool MessageTextHasBeenSet() const
void SetMessageText(MessageTextT &&value)
AWS_MTURK_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector