AWS SDK for C++  1.9.104
AWS SDK for C++
NotifyWorkersResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace MTurk
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
40  inline const Aws::Vector<NotifyWorkersFailureStatus>& GetNotifyWorkersFailureStatuses() const{ return m_notifyWorkersFailureStatuses; }
41 
46  inline void SetNotifyWorkersFailureStatuses(const Aws::Vector<NotifyWorkersFailureStatus>& value) { m_notifyWorkersFailureStatuses = value; }
47 
52  inline void SetNotifyWorkersFailureStatuses(Aws::Vector<NotifyWorkersFailureStatus>&& value) { m_notifyWorkersFailureStatuses = std::move(value); }
53 
58  inline NotifyWorkersResult& WithNotifyWorkersFailureStatuses(const Aws::Vector<NotifyWorkersFailureStatus>& value) { SetNotifyWorkersFailureStatuses(value); return *this;}
59 
64  inline NotifyWorkersResult& WithNotifyWorkersFailureStatuses(Aws::Vector<NotifyWorkersFailureStatus>&& value) { SetNotifyWorkersFailureStatuses(std::move(value)); return *this;}
65 
70  inline NotifyWorkersResult& AddNotifyWorkersFailureStatuses(const NotifyWorkersFailureStatus& value) { m_notifyWorkersFailureStatuses.push_back(value); return *this; }
71 
76  inline NotifyWorkersResult& AddNotifyWorkersFailureStatuses(NotifyWorkersFailureStatus&& value) { m_notifyWorkersFailureStatuses.push_back(std::move(value)); return *this; }
77 
78  private:
79 
80  Aws::Vector<NotifyWorkersFailureStatus> m_notifyWorkersFailureStatuses;
81  };
82 
83 } // namespace Model
84 } // namespace MTurk
85 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::MTurk::Model::NotifyWorkersResult::AddNotifyWorkersFailureStatuses
NotifyWorkersResult & AddNotifyWorkersFailureStatuses(NotifyWorkersFailureStatus &&value)
Definition: NotifyWorkersResult.h:76
Aws::MTurk::Model::NotifyWorkersFailureStatus
Definition: NotifyWorkersFailureStatus.h:34
Aws::MTurk::Model::NotifyWorkersResult::operator=
NotifyWorkersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
NotifyWorkersFailureStatus.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::MTurk::Model::NotifyWorkersResult::WithNotifyWorkersFailureStatuses
NotifyWorkersResult & WithNotifyWorkersFailureStatuses(const Aws::Vector< NotifyWorkersFailureStatus > &value)
Definition: NotifyWorkersResult.h:58
Aws::MTurk::Model::NotifyWorkersResult::NotifyWorkersResult
NotifyWorkersResult()
Aws::MTurk::Model::NotifyWorkersResult::WithNotifyWorkersFailureStatuses
NotifyWorkersResult & WithNotifyWorkersFailureStatuses(Aws::Vector< NotifyWorkersFailureStatus > &&value)
Definition: NotifyWorkersResult.h:64
Aws::MTurk::Model::NotifyWorkersResult::AddNotifyWorkersFailureStatuses
NotifyWorkersResult & AddNotifyWorkersFailureStatuses(const NotifyWorkersFailureStatus &value)
Definition: NotifyWorkersResult.h:70
Aws::MTurk::Model::NotifyWorkersResult::SetNotifyWorkersFailureStatuses
void SetNotifyWorkersFailureStatuses(const Aws::Vector< NotifyWorkersFailureStatus > &value)
Definition: NotifyWorkersResult.h:46
MTurk_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
AWS_MTURK_API
#define AWS_MTURK_API
Definition: MTurk_EXPORTS.h:28
Aws::MTurk::Model::NotifyWorkersResult::SetNotifyWorkersFailureStatuses
void SetNotifyWorkersFailureStatuses(Aws::Vector< NotifyWorkersFailureStatus > &&value)
Definition: NotifyWorkersResult.h:52
Aws::MTurk::Model::NotifyWorkersResult
Definition: NotifyWorkersResult.h:29
Aws::MTurk::Model::NotifyWorkersResult::GetNotifyWorkersFailureStatuses
const Aws::Vector< NotifyWorkersFailureStatus > & GetNotifyWorkersFailureStatuses() const
Definition: NotifyWorkersResult.h:40
Aws::MTurk::Model::NotifyWorkersResult::NotifyWorkersResult
NotifyWorkersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)