AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeUpdateActionsResult.h
1
6#pragma once
7#include <aws/elasticache/ElastiCache_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/elasticache/model/ResponseMetadata.h>
11#include <aws/elasticache/model/UpdateAction.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 DescribeUpdateActionsResult() = default;
36
37
39
45 inline const Aws::String& GetMarker() const { return m_marker; }
46 template<typename MarkerT = Aws::String>
47 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
48 template<typename MarkerT = Aws::String>
49 DescribeUpdateActionsResult& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
51
53
56 inline const Aws::Vector<UpdateAction>& GetUpdateActions() const { return m_updateActions; }
57 template<typename UpdateActionsT = Aws::Vector<UpdateAction>>
58 void SetUpdateActions(UpdateActionsT&& value) { m_updateActionsHasBeenSet = true; m_updateActions = std::forward<UpdateActionsT>(value); }
59 template<typename UpdateActionsT = Aws::Vector<UpdateAction>>
60 DescribeUpdateActionsResult& WithUpdateActions(UpdateActionsT&& value) { SetUpdateActions(std::forward<UpdateActionsT>(value)); return *this;}
61 template<typename UpdateActionsT = UpdateAction>
62 DescribeUpdateActionsResult& AddUpdateActions(UpdateActionsT&& value) { m_updateActionsHasBeenSet = true; m_updateActions.emplace_back(std::forward<UpdateActionsT>(value)); return *this; }
64
66
67 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
68 template<typename ResponseMetadataT = ResponseMetadata>
69 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
70 template<typename ResponseMetadataT = ResponseMetadata>
71 DescribeUpdateActionsResult& WithResponseMetadata(ResponseMetadataT&& value) { SetResponseMetadata(std::forward<ResponseMetadataT>(value)); return *this;}
73 private:
74
75 Aws::String m_marker;
76 bool m_markerHasBeenSet = false;
77
78 Aws::Vector<UpdateAction> m_updateActions;
79 bool m_updateActionsHasBeenSet = false;
80
81 ResponseMetadata m_responseMetadata;
82 bool m_responseMetadataHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace ElastiCache
87} // 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