AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutDialRequestBatchResult.h
1
6#pragma once
7#include <aws/connectcampaigns/ConnectCampaigns_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/connectcampaigns/model/SuccessfulRequest.h>
11#include <aws/connectcampaigns/model/FailedRequest.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace ConnectCampaigns
27{
28namespace Model
29{
36 {
37 public:
38 AWS_CONNECTCAMPAIGNS_API PutDialRequestBatchResult();
41
42
44
45 inline const Aws::Vector<SuccessfulRequest>& GetSuccessfulRequests() const{ return m_successfulRequests; }
46 inline void SetSuccessfulRequests(const Aws::Vector<SuccessfulRequest>& value) { m_successfulRequests = value; }
47 inline void SetSuccessfulRequests(Aws::Vector<SuccessfulRequest>&& value) { m_successfulRequests = std::move(value); }
50 inline PutDialRequestBatchResult& AddSuccessfulRequests(const SuccessfulRequest& value) { m_successfulRequests.push_back(value); return *this; }
51 inline PutDialRequestBatchResult& AddSuccessfulRequests(SuccessfulRequest&& value) { m_successfulRequests.push_back(std::move(value)); return *this; }
53
55
56 inline const Aws::Vector<FailedRequest>& GetFailedRequests() const{ return m_failedRequests; }
57 inline void SetFailedRequests(const Aws::Vector<FailedRequest>& value) { m_failedRequests = value; }
58 inline void SetFailedRequests(Aws::Vector<FailedRequest>&& value) { m_failedRequests = std::move(value); }
61 inline PutDialRequestBatchResult& AddFailedRequests(const FailedRequest& value) { m_failedRequests.push_back(value); return *this; }
62 inline PutDialRequestBatchResult& AddFailedRequests(FailedRequest&& value) { m_failedRequests.push_back(std::move(value)); return *this; }
64
66
67 inline const Aws::String& GetRequestId() const{ return m_requestId; }
68 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
69 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
70 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
71 inline PutDialRequestBatchResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
72 inline PutDialRequestBatchResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
73 inline PutDialRequestBatchResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
75 private:
76
77 Aws::Vector<SuccessfulRequest> m_successfulRequests;
78
79 Aws::Vector<FailedRequest> m_failedRequests;
80
81 Aws::String m_requestId;
82 };
83
84} // namespace Model
85} // namespace ConnectCampaigns
86} // namespace Aws
PutDialRequestBatchResult & WithRequestId(Aws::String &&value)
const Aws::Vector< SuccessfulRequest > & GetSuccessfulRequests() const
PutDialRequestBatchResult & AddFailedRequests(const FailedRequest &value)
PutDialRequestBatchResult & WithRequestId(const char *value)
const Aws::Vector< FailedRequest > & GetFailedRequests() const
PutDialRequestBatchResult & WithFailedRequests(Aws::Vector< FailedRequest > &&value)
AWS_CONNECTCAMPAIGNS_API PutDialRequestBatchResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetFailedRequests(const Aws::Vector< FailedRequest > &value)
PutDialRequestBatchResult & WithSuccessfulRequests(Aws::Vector< SuccessfulRequest > &&value)
void SetFailedRequests(Aws::Vector< FailedRequest > &&value)
PutDialRequestBatchResult & WithSuccessfulRequests(const Aws::Vector< SuccessfulRequest > &value)
void SetSuccessfulRequests(Aws::Vector< SuccessfulRequest > &&value)
PutDialRequestBatchResult & WithFailedRequests(const Aws::Vector< FailedRequest > &value)
AWS_CONNECTCAMPAIGNS_API PutDialRequestBatchResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutDialRequestBatchResult & AddSuccessfulRequests(SuccessfulRequest &&value)
PutDialRequestBatchResult & AddFailedRequests(FailedRequest &&value)
PutDialRequestBatchResult & WithRequestId(const Aws::String &value)
void SetSuccessfulRequests(const Aws::Vector< SuccessfulRequest > &value)
PutDialRequestBatchResult & AddSuccessfulRequests(const SuccessfulRequest &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue