AWS SDK for C++

AWS SDK for C++ Version 1.11.757

Loading...
Searching...
No Matches
DescribeUpdateActionsResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/elasticache/ElastiCache_EXPORTS.h>
11#include <aws/elasticache/model/ResponseMetadata.h>
12#include <aws/elasticache/model/UpdateAction.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Xml {
22class XmlDocument;
23} // namespace Xml
24} // namespace Utils
25namespace ElastiCache {
26namespace Model {
28 public:
29 AWS_ELASTICACHE_API DescribeUpdateActionsResult() = default;
32
34
40 inline const Aws::String& GetMarker() const { return m_marker; }
41 template <typename MarkerT = Aws::String>
42 void SetMarker(MarkerT&& value) {
43 m_markerHasBeenSet = true;
44 m_marker = std::forward<MarkerT>(value);
45 }
46 template <typename MarkerT = Aws::String>
48 SetMarker(std::forward<MarkerT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::Vector<UpdateAction>& GetUpdateActions() const { return m_updateActions; }
58 template <typename UpdateActionsT = Aws::Vector<UpdateAction>>
59 void SetUpdateActions(UpdateActionsT&& value) {
60 m_updateActionsHasBeenSet = true;
61 m_updateActions = std::forward<UpdateActionsT>(value);
62 }
63 template <typename UpdateActionsT = Aws::Vector<UpdateAction>>
65 SetUpdateActions(std::forward<UpdateActionsT>(value));
66 return *this;
67 }
68 template <typename UpdateActionsT = UpdateAction>
70 m_updateActionsHasBeenSet = true;
71 m_updateActions.emplace_back(std::forward<UpdateActionsT>(value));
72 return *this;
73 }
75
77
78 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
79 template <typename ResponseMetadataT = ResponseMetadata>
80 void SetResponseMetadata(ResponseMetadataT&& value) {
81 m_responseMetadataHasBeenSet = true;
82 m_responseMetadata = std::forward<ResponseMetadataT>(value);
83 }
84 template <typename ResponseMetadataT = ResponseMetadata>
86 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
87 return *this;
88 }
90 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
91
92 private:
93 Aws::String m_marker;
94
95 Aws::Vector<UpdateAction> m_updateActions;
96
97 ResponseMetadata m_responseMetadata;
98 Aws::Http::HttpResponseCode m_HttpResponseCode;
99 bool m_markerHasBeenSet = false;
100 bool m_updateActionsHasBeenSet = false;
101 bool m_responseMetadataHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace ElastiCache
106} // namespace Aws
DescribeUpdateActionsResult & WithUpdateActions(UpdateActionsT &&value)
AWS_ELASTICACHE_API DescribeUpdateActionsResult()=default
AWS_ELASTICACHE_API DescribeUpdateActionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_ELASTICACHE_API DescribeUpdateActionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeUpdateActionsResult & AddUpdateActions(UpdateActionsT &&value)
const Aws::Vector< UpdateAction > & GetUpdateActions() const
DescribeUpdateActionsResult & WithMarker(MarkerT &&value)
DescribeUpdateActionsResult & WithResponseMetadata(ResponseMetadataT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument