AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeOptionGroupsResult.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/OptionGroup.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{
36 {
37 public:
41
42
44
47 inline const Aws::Vector<OptionGroup>& GetOptionGroupsList() const{ return m_optionGroupsList; }
48 inline void SetOptionGroupsList(const Aws::Vector<OptionGroup>& value) { m_optionGroupsList = value; }
49 inline void SetOptionGroupsList(Aws::Vector<OptionGroup>&& value) { m_optionGroupsList = std::move(value); }
52 inline DescribeOptionGroupsResult& AddOptionGroupsList(const OptionGroup& value) { m_optionGroupsList.push_back(value); return *this; }
53 inline DescribeOptionGroupsResult& AddOptionGroupsList(OptionGroup&& value) { m_optionGroupsList.push_back(std::move(value)); return *this; }
55
57
62 inline const Aws::String& GetMarker() const{ return m_marker; }
63 inline void SetMarker(const Aws::String& value) { m_marker = value; }
64 inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
65 inline void SetMarker(const char* value) { m_marker.assign(value); }
66 inline DescribeOptionGroupsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
67 inline DescribeOptionGroupsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
68 inline DescribeOptionGroupsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
70
72
73 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
74 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
75 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
77 inline DescribeOptionGroupsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
79 private:
80
81 Aws::Vector<OptionGroup> m_optionGroupsList;
82
83 Aws::String m_marker;
84
85 ResponseMetadata m_responseMetadata;
86 };
87
88} // namespace Model
89} // namespace RDS
90} // namespace Aws
DescribeOptionGroupsResult & WithMarker(Aws::String &&value)
const Aws::Vector< OptionGroup > & GetOptionGroupsList() const
DescribeOptionGroupsResult & WithMarker(const Aws::String &value)
DescribeOptionGroupsResult & AddOptionGroupsList(OptionGroup &&value)
DescribeOptionGroupsResult & WithResponseMetadata(const ResponseMetadata &value)
AWS_RDS_API DescribeOptionGroupsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeOptionGroupsResult & AddOptionGroupsList(const OptionGroup &value)
DescribeOptionGroupsResult & WithMarker(const char *value)
AWS_RDS_API DescribeOptionGroupsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetResponseMetadata(const ResponseMetadata &value)
DescribeOptionGroupsResult & WithResponseMetadata(ResponseMetadata &&value)
DescribeOptionGroupsResult & WithOptionGroupsList(Aws::Vector< OptionGroup > &&value)
DescribeOptionGroupsResult & WithOptionGroupsList(const Aws::Vector< OptionGroup > &value)
void SetOptionGroupsList(Aws::Vector< OptionGroup > &&value)
void SetOptionGroupsList(const Aws::Vector< OptionGroup > &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