AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeDBShardGroupsResult.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/rds/model/ResponseMetadata.h>
11#include <aws/rds/model/DBShardGroup.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 RDS
27{
28namespace Model
29{
31 {
32 public:
33 AWS_RDS_API DescribeDBShardGroupsResult() = default;
36
37
39
42 inline const Aws::Vector<DBShardGroup>& GetDBShardGroups() const { return m_dBShardGroups; }
43 template<typename DBShardGroupsT = Aws::Vector<DBShardGroup>>
44 void SetDBShardGroups(DBShardGroupsT&& value) { m_dBShardGroupsHasBeenSet = true; m_dBShardGroups = std::forward<DBShardGroupsT>(value); }
45 template<typename DBShardGroupsT = Aws::Vector<DBShardGroup>>
46 DescribeDBShardGroupsResult& WithDBShardGroups(DBShardGroupsT&& value) { SetDBShardGroups(std::forward<DBShardGroupsT>(value)); return *this;}
47 template<typename DBShardGroupsT = DBShardGroup>
48 DescribeDBShardGroupsResult& AddDBShardGroups(DBShardGroupsT&& value) { m_dBShardGroupsHasBeenSet = true; m_dBShardGroups.emplace_back(std::forward<DBShardGroupsT>(value)); return *this; }
50
52
56 inline const Aws::String& GetMarker() const { return m_marker; }
57 template<typename MarkerT = Aws::String>
58 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
59 template<typename MarkerT = Aws::String>
60 DescribeDBShardGroupsResult& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
62
64
65 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
66 template<typename ResponseMetadataT = ResponseMetadata>
67 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
68 template<typename ResponseMetadataT = ResponseMetadata>
69 DescribeDBShardGroupsResult& WithResponseMetadata(ResponseMetadataT&& value) { SetResponseMetadata(std::forward<ResponseMetadataT>(value)); return *this;}
71 private:
72
73 Aws::Vector<DBShardGroup> m_dBShardGroups;
74 bool m_dBShardGroupsHasBeenSet = false;
75
76 Aws::String m_marker;
77 bool m_markerHasBeenSet = false;
78
79 ResponseMetadata m_responseMetadata;
80 bool m_responseMetadataHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace RDS
85} // namespace Aws
AWS_RDS_API DescribeDBShardGroupsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_RDS_API DescribeDBShardGroupsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeDBShardGroupsResult & AddDBShardGroups(DBShardGroupsT &&value)
const Aws::Vector< DBShardGroup > & GetDBShardGroups() const
DescribeDBShardGroupsResult & WithDBShardGroups(DBShardGroupsT &&value)
DescribeDBShardGroupsResult & WithResponseMetadata(ResponseMetadataT &&value)
AWS_RDS_API DescribeDBShardGroupsResult()=default
DescribeDBShardGroupsResult & 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