AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DescribeCacheSecurityGroupsResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/elasticache/ElastiCache_EXPORTS.h>
10#include <aws/elasticache/model/CacheSecurityGroup.h>
11#include <aws/elasticache/model/ResponseMetadata.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Xml {
21class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace ElastiCache {
25namespace Model {
33 public:
34 AWS_ELASTICACHE_API DescribeCacheSecurityGroupsResult() = default;
37
39
42 inline const Aws::String& GetMarker() const { return m_marker; }
43 template <typename MarkerT = Aws::String>
44 void SetMarker(MarkerT&& value) {
45 m_markerHasBeenSet = true;
46 m_marker = std::forward<MarkerT>(value);
47 }
48 template <typename MarkerT = Aws::String>
50 SetMarker(std::forward<MarkerT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::Vector<CacheSecurityGroup>& GetCacheSecurityGroups() const { return m_cacheSecurityGroups; }
61 template <typename CacheSecurityGroupsT = Aws::Vector<CacheSecurityGroup>>
62 void SetCacheSecurityGroups(CacheSecurityGroupsT&& value) {
63 m_cacheSecurityGroupsHasBeenSet = true;
64 m_cacheSecurityGroups = std::forward<CacheSecurityGroupsT>(value);
65 }
66 template <typename CacheSecurityGroupsT = Aws::Vector<CacheSecurityGroup>>
68 SetCacheSecurityGroups(std::forward<CacheSecurityGroupsT>(value));
69 return *this;
70 }
71 template <typename CacheSecurityGroupsT = CacheSecurityGroup>
73 m_cacheSecurityGroupsHasBeenSet = true;
74 m_cacheSecurityGroups.emplace_back(std::forward<CacheSecurityGroupsT>(value));
75 return *this;
76 }
78
80
81 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
82 template <typename ResponseMetadataT = ResponseMetadata>
83 void SetResponseMetadata(ResponseMetadataT&& value) {
84 m_responseMetadataHasBeenSet = true;
85 m_responseMetadata = std::forward<ResponseMetadataT>(value);
86 }
87 template <typename ResponseMetadataT = ResponseMetadata>
89 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
90 return *this;
91 }
93 private:
94 Aws::String m_marker;
95
96 Aws::Vector<CacheSecurityGroup> m_cacheSecurityGroups;
97
98 ResponseMetadata m_responseMetadata;
99 bool m_markerHasBeenSet = false;
100 bool m_cacheSecurityGroupsHasBeenSet = false;
101 bool m_responseMetadataHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace ElastiCache
106} // namespace Aws
DescribeCacheSecurityGroupsResult & AddCacheSecurityGroups(CacheSecurityGroupsT &&value)
AWS_ELASTICACHE_API DescribeCacheSecurityGroupsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeCacheSecurityGroupsResult & WithCacheSecurityGroups(CacheSecurityGroupsT &&value)
AWS_ELASTICACHE_API DescribeCacheSecurityGroupsResult()=default
DescribeCacheSecurityGroupsResult & WithResponseMetadata(ResponseMetadataT &&value)
DescribeCacheSecurityGroupsResult & WithMarker(MarkerT &&value)
const Aws::Vector< CacheSecurityGroup > & GetCacheSecurityGroups() const
AWS_ELASTICACHE_API DescribeCacheSecurityGroupsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument