AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeGlobalReplicationGroupsResult.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/GlobalReplicationGroup.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:
36
37
39
45 inline const Aws::String& GetMarker() const{ return m_marker; }
46 inline void SetMarker(const Aws::String& value) { m_marker = value; }
47 inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
48 inline void SetMarker(const char* value) { m_marker.assign(value); }
49 inline DescribeGlobalReplicationGroupsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
50 inline DescribeGlobalReplicationGroupsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
51 inline DescribeGlobalReplicationGroupsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
53
55
59 inline const Aws::Vector<GlobalReplicationGroup>& GetGlobalReplicationGroups() const{ return m_globalReplicationGroups; }
60 inline void SetGlobalReplicationGroups(const Aws::Vector<GlobalReplicationGroup>& value) { m_globalReplicationGroups = value; }
61 inline void SetGlobalReplicationGroups(Aws::Vector<GlobalReplicationGroup>&& value) { m_globalReplicationGroups = std::move(value); }
64 inline DescribeGlobalReplicationGroupsResult& AddGlobalReplicationGroups(const GlobalReplicationGroup& value) { m_globalReplicationGroups.push_back(value); return *this; }
65 inline DescribeGlobalReplicationGroupsResult& AddGlobalReplicationGroups(GlobalReplicationGroup&& value) { m_globalReplicationGroups.push_back(std::move(value)); return *this; }
67
69
70 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
71 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
72 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
76 private:
77
78 Aws::String m_marker;
79
80 Aws::Vector<GlobalReplicationGroup> m_globalReplicationGroups;
81
82 ResponseMetadata m_responseMetadata;
83 };
84
85} // namespace Model
86} // namespace ElastiCache
87} // namespace Aws
DescribeGlobalReplicationGroupsResult & WithResponseMetadata(const ResponseMetadata &value)
DescribeGlobalReplicationGroupsResult & AddGlobalReplicationGroups(GlobalReplicationGroup &&value)
DescribeGlobalReplicationGroupsResult & WithGlobalReplicationGroups(Aws::Vector< GlobalReplicationGroup > &&value)
AWS_ELASTICACHE_API DescribeGlobalReplicationGroupsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeGlobalReplicationGroupsResult & WithMarker(Aws::String &&value)
DescribeGlobalReplicationGroupsResult & WithResponseMetadata(ResponseMetadata &&value)
DescribeGlobalReplicationGroupsResult & WithMarker(const Aws::String &value)
void SetGlobalReplicationGroups(const Aws::Vector< GlobalReplicationGroup > &value)
const Aws::Vector< GlobalReplicationGroup > & GetGlobalReplicationGroups() const
DescribeGlobalReplicationGroupsResult & WithMarker(const char *value)
void SetGlobalReplicationGroups(Aws::Vector< GlobalReplicationGroup > &&value)
AWS_ELASTICACHE_API DescribeGlobalReplicationGroupsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeGlobalReplicationGroupsResult & WithGlobalReplicationGroups(const Aws::Vector< GlobalReplicationGroup > &value)
DescribeGlobalReplicationGroupsResult & AddGlobalReplicationGroups(const GlobalReplicationGroup &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