AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchApplyUpdateActionResult.h
1
6#pragma once
7#include <aws/elasticache/ElastiCache_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/elasticache/model/ResponseMetadata.h>
10#include <aws/elasticache/model/ProcessedUpdateAction.h>
11#include <aws/elasticache/model/UnprocessedUpdateAction.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Xml
22{
23 class XmlDocument;
24} // namespace Xml
25} // namespace Utils
26namespace ElastiCache
27{
28namespace Model
29{
31 {
32 public:
33 AWS_ELASTICACHE_API BatchApplyUpdateActionResult();
36
37
39
42 inline const Aws::Vector<ProcessedUpdateAction>& GetProcessedUpdateActions() const{ return m_processedUpdateActions; }
43 inline void SetProcessedUpdateActions(const Aws::Vector<ProcessedUpdateAction>& value) { m_processedUpdateActions = value; }
44 inline void SetProcessedUpdateActions(Aws::Vector<ProcessedUpdateAction>&& value) { m_processedUpdateActions = std::move(value); }
47 inline BatchApplyUpdateActionResult& AddProcessedUpdateActions(const ProcessedUpdateAction& value) { m_processedUpdateActions.push_back(value); return *this; }
48 inline BatchApplyUpdateActionResult& AddProcessedUpdateActions(ProcessedUpdateAction&& value) { m_processedUpdateActions.push_back(std::move(value)); return *this; }
50
52
55 inline const Aws::Vector<UnprocessedUpdateAction>& GetUnprocessedUpdateActions() const{ return m_unprocessedUpdateActions; }
56 inline void SetUnprocessedUpdateActions(const Aws::Vector<UnprocessedUpdateAction>& value) { m_unprocessedUpdateActions = value; }
57 inline void SetUnprocessedUpdateActions(Aws::Vector<UnprocessedUpdateAction>&& value) { m_unprocessedUpdateActions = std::move(value); }
60 inline BatchApplyUpdateActionResult& AddUnprocessedUpdateActions(const UnprocessedUpdateAction& value) { m_unprocessedUpdateActions.push_back(value); return *this; }
61 inline BatchApplyUpdateActionResult& AddUnprocessedUpdateActions(UnprocessedUpdateAction&& value) { m_unprocessedUpdateActions.push_back(std::move(value)); return *this; }
63
65
66 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
67 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
68 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
72 private:
73
74 Aws::Vector<ProcessedUpdateAction> m_processedUpdateActions;
75
76 Aws::Vector<UnprocessedUpdateAction> m_unprocessedUpdateActions;
77
78 ResponseMetadata m_responseMetadata;
79 };
80
81} // namespace Model
82} // namespace ElastiCache
83} // namespace Aws
BatchApplyUpdateActionResult & AddProcessedUpdateActions(const ProcessedUpdateAction &value)
AWS_ELASTICACHE_API BatchApplyUpdateActionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
BatchApplyUpdateActionResult & AddProcessedUpdateActions(ProcessedUpdateAction &&value)
void SetUnprocessedUpdateActions(const Aws::Vector< UnprocessedUpdateAction > &value)
BatchApplyUpdateActionResult & WithResponseMetadata(const ResponseMetadata &value)
BatchApplyUpdateActionResult & AddUnprocessedUpdateActions(UnprocessedUpdateAction &&value)
BatchApplyUpdateActionResult & WithUnprocessedUpdateActions(const Aws::Vector< UnprocessedUpdateAction > &value)
BatchApplyUpdateActionResult & WithProcessedUpdateActions(Aws::Vector< ProcessedUpdateAction > &&value)
BatchApplyUpdateActionResult & WithResponseMetadata(ResponseMetadata &&value)
const Aws::Vector< UnprocessedUpdateAction > & GetUnprocessedUpdateActions() const
BatchApplyUpdateActionResult & AddUnprocessedUpdateActions(const UnprocessedUpdateAction &value)
BatchApplyUpdateActionResult & WithProcessedUpdateActions(const Aws::Vector< ProcessedUpdateAction > &value)
AWS_ELASTICACHE_API BatchApplyUpdateActionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
BatchApplyUpdateActionResult & WithUnprocessedUpdateActions(Aws::Vector< UnprocessedUpdateAction > &&value)
const Aws::Vector< ProcessedUpdateAction > & GetProcessedUpdateActions() const
void SetProcessedUpdateActions(const Aws::Vector< ProcessedUpdateAction > &value)
void SetProcessedUpdateActions(Aws::Vector< ProcessedUpdateAction > &&value)
void SetUnprocessedUpdateActions(Aws::Vector< UnprocessedUpdateAction > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument