AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetCampaignStateBatchResult.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/SuccessfulCampaignStateResponse.h>
11#include <aws/connectcampaigns/model/FailedCampaignStateResponse.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 GetCampaignStateBatchResult();
41
42
44
45 inline const Aws::Vector<SuccessfulCampaignStateResponse>& GetSuccessfulRequests() const{ return m_successfulRequests; }
46 inline void SetSuccessfulRequests(const Aws::Vector<SuccessfulCampaignStateResponse>& value) { m_successfulRequests = value; }
47 inline void SetSuccessfulRequests(Aws::Vector<SuccessfulCampaignStateResponse>&& value) { m_successfulRequests = std::move(value); }
50 inline GetCampaignStateBatchResult& AddSuccessfulRequests(const SuccessfulCampaignStateResponse& value) { m_successfulRequests.push_back(value); return *this; }
51 inline GetCampaignStateBatchResult& AddSuccessfulRequests(SuccessfulCampaignStateResponse&& value) { m_successfulRequests.push_back(std::move(value)); return *this; }
53
55
56 inline const Aws::Vector<FailedCampaignStateResponse>& GetFailedRequests() const{ return m_failedRequests; }
57 inline void SetFailedRequests(const Aws::Vector<FailedCampaignStateResponse>& value) { m_failedRequests = value; }
58 inline void SetFailedRequests(Aws::Vector<FailedCampaignStateResponse>&& value) { m_failedRequests = std::move(value); }
61 inline GetCampaignStateBatchResult& AddFailedRequests(const FailedCampaignStateResponse& value) { m_failedRequests.push_back(value); return *this; }
62 inline GetCampaignStateBatchResult& AddFailedRequests(FailedCampaignStateResponse&& 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 GetCampaignStateBatchResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
72 inline GetCampaignStateBatchResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
73 inline GetCampaignStateBatchResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
75 private:
76
78
80
81 Aws::String m_requestId;
82 };
83
84} // namespace Model
85} // namespace ConnectCampaigns
86} // namespace Aws
void SetFailedRequests(const Aws::Vector< FailedCampaignStateResponse > &value)
GetCampaignStateBatchResult & WithFailedRequests(Aws::Vector< FailedCampaignStateResponse > &&value)
GetCampaignStateBatchResult & WithSuccessfulRequests(Aws::Vector< SuccessfulCampaignStateResponse > &&value)
GetCampaignStateBatchResult & AddFailedRequests(const FailedCampaignStateResponse &value)
AWS_CONNECTCAMPAIGNS_API GetCampaignStateBatchResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetCampaignStateBatchResult & AddSuccessfulRequests(SuccessfulCampaignStateResponse &&value)
GetCampaignStateBatchResult & AddSuccessfulRequests(const SuccessfulCampaignStateResponse &value)
void SetFailedRequests(Aws::Vector< FailedCampaignStateResponse > &&value)
void SetSuccessfulRequests(Aws::Vector< SuccessfulCampaignStateResponse > &&value)
void SetSuccessfulRequests(const Aws::Vector< SuccessfulCampaignStateResponse > &value)
const Aws::Vector< FailedCampaignStateResponse > & GetFailedRequests() const
const Aws::Vector< SuccessfulCampaignStateResponse > & GetSuccessfulRequests() const
GetCampaignStateBatchResult & WithRequestId(const char *value)
GetCampaignStateBatchResult & WithRequestId(const Aws::String &value)
GetCampaignStateBatchResult & AddFailedRequests(FailedCampaignStateResponse &&value)
AWS_CONNECTCAMPAIGNS_API GetCampaignStateBatchResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetCampaignStateBatchResult & WithFailedRequests(const Aws::Vector< FailedCampaignStateResponse > &value)
GetCampaignStateBatchResult & WithRequestId(Aws::String &&value)
GetCampaignStateBatchResult & WithSuccessfulRequests(const Aws::Vector< SuccessfulCampaignStateResponse > &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