AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeDBSubnetGroupsResult.h
1
6#pragma once
7#include <aws/docdb/DocDB_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/docdb/model/ResponseMetadata.h>
11#include <aws/docdb/model/DBSubnetGroup.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 DocDB
27{
28namespace Model
29{
37 {
38 public:
39 AWS_DOCDB_API DescribeDBSubnetGroupsResult() = default;
42
43
45
50 inline const Aws::String& GetMarker() const { return m_marker; }
51 template<typename MarkerT = Aws::String>
52 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
53 template<typename MarkerT = Aws::String>
54 DescribeDBSubnetGroupsResult& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
56
58
61 inline const Aws::Vector<DBSubnetGroup>& GetDBSubnetGroups() const { return m_dBSubnetGroups; }
62 template<typename DBSubnetGroupsT = Aws::Vector<DBSubnetGroup>>
63 void SetDBSubnetGroups(DBSubnetGroupsT&& value) { m_dBSubnetGroupsHasBeenSet = true; m_dBSubnetGroups = std::forward<DBSubnetGroupsT>(value); }
64 template<typename DBSubnetGroupsT = Aws::Vector<DBSubnetGroup>>
65 DescribeDBSubnetGroupsResult& WithDBSubnetGroups(DBSubnetGroupsT&& value) { SetDBSubnetGroups(std::forward<DBSubnetGroupsT>(value)); return *this;}
66 template<typename DBSubnetGroupsT = DBSubnetGroup>
67 DescribeDBSubnetGroupsResult& AddDBSubnetGroups(DBSubnetGroupsT&& value) { m_dBSubnetGroupsHasBeenSet = true; m_dBSubnetGroups.emplace_back(std::forward<DBSubnetGroupsT>(value)); return *this; }
69
71
72 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
73 template<typename ResponseMetadataT = ResponseMetadata>
74 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
75 template<typename ResponseMetadataT = ResponseMetadata>
76 DescribeDBSubnetGroupsResult& WithResponseMetadata(ResponseMetadataT&& value) { SetResponseMetadata(std::forward<ResponseMetadataT>(value)); return *this;}
78 private:
79
80 Aws::String m_marker;
81 bool m_markerHasBeenSet = false;
82
83 Aws::Vector<DBSubnetGroup> m_dBSubnetGroups;
84 bool m_dBSubnetGroupsHasBeenSet = false;
85
86 ResponseMetadata m_responseMetadata;
87 bool m_responseMetadataHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace DocDB
92} // namespace Aws
AWS_DOCDB_API DescribeDBSubnetGroupsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_DOCDB_API DescribeDBSubnetGroupsResult()=default
AWS_DOCDB_API DescribeDBSubnetGroupsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeDBSubnetGroupsResult & WithResponseMetadata(ResponseMetadataT &&value)
const Aws::Vector< DBSubnetGroup > & GetDBSubnetGroups() const
DescribeDBSubnetGroupsResult & WithDBSubnetGroups(DBSubnetGroupsT &&value)
DescribeDBSubnetGroupsResult & AddDBSubnetGroups(DBSubnetGroupsT &&value)
DescribeDBSubnetGroupsResult & WithMarker(MarkerT &&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