AWS SDK for C++  1.9.108
AWS SDK for C++
DescribeOptionGroupsResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Xml
22 {
23  class XmlDocument;
24 } // namespace Xml
25 } // namespace Utils
26 namespace RDS
27 {
28 namespace Model
29 {
36  {
37  public:
41 
42 
46  inline const Aws::Vector<OptionGroup>& GetOptionGroupsList() const{ return m_optionGroupsList; }
47 
51  inline void SetOptionGroupsList(const Aws::Vector<OptionGroup>& value) { m_optionGroupsList = value; }
52 
56  inline void SetOptionGroupsList(Aws::Vector<OptionGroup>&& value) { m_optionGroupsList = std::move(value); }
57 
61  inline DescribeOptionGroupsResult& WithOptionGroupsList(const Aws::Vector<OptionGroup>& value) { SetOptionGroupsList(value); return *this;}
62 
66  inline DescribeOptionGroupsResult& WithOptionGroupsList(Aws::Vector<OptionGroup>&& value) { SetOptionGroupsList(std::move(value)); return *this;}
67 
71  inline DescribeOptionGroupsResult& AddOptionGroupsList(const OptionGroup& value) { m_optionGroupsList.push_back(value); return *this; }
72 
76  inline DescribeOptionGroupsResult& AddOptionGroupsList(OptionGroup&& value) { m_optionGroupsList.push_back(std::move(value)); return *this; }
77 
78 
84  inline const Aws::String& GetMarker() const{ return m_marker; }
85 
91  inline void SetMarker(const Aws::String& value) { m_marker = value; }
92 
98  inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
99 
105  inline void SetMarker(const char* value) { m_marker.assign(value); }
106 
112  inline DescribeOptionGroupsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
113 
119  inline DescribeOptionGroupsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
120 
126  inline DescribeOptionGroupsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
127 
128 
129 
130  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
131 
132 
133  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
134 
135 
136  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
137 
138 
139  inline DescribeOptionGroupsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
140 
141 
142  inline DescribeOptionGroupsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
143 
144  private:
145 
146  Aws::Vector<OptionGroup> m_optionGroupsList;
147 
148  Aws::String m_marker;
149 
150  ResponseMetadata m_responseMetadata;
151  };
152 
153 } // namespace Model
154 } // namespace RDS
155 } // namespace Aws
Aws::RDS::Model::DescribeOptionGroupsResult::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeOptionGroupsResult.h:98
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::RDS::Model::DescribeOptionGroupsResult::SetOptionGroupsList
void SetOptionGroupsList(Aws::Vector< OptionGroup > &&value)
Definition: DescribeOptionGroupsResult.h:56
Aws::RDS::Model::DescribeOptionGroupsResult::operator=
DescribeOptionGroupsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::RDS::Model::DescribeOptionGroupsResult
Definition: DescribeOptionGroupsResult.h:36
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::DescribeOptionGroupsResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DescribeOptionGroupsResult.h:133
Aws::RDS::Model::DescribeOptionGroupsResult::WithOptionGroupsList
DescribeOptionGroupsResult & WithOptionGroupsList(const Aws::Vector< OptionGroup > &value)
Definition: DescribeOptionGroupsResult.h:61
Aws::RDS::Model::OptionGroup
Definition: OptionGroup.h:34
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RDS::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
AWSVector.h
Aws::RDS::Model::DescribeOptionGroupsResult::WithMarker
DescribeOptionGroupsResult & WithMarker(const char *value)
Definition: DescribeOptionGroupsResult.h:126
Aws::RDS::Model::DescribeOptionGroupsResult::DescribeOptionGroupsResult
DescribeOptionGroupsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
RDS_EXPORTS.h
Aws::RDS::Model::DescribeOptionGroupsResult::AddOptionGroupsList
DescribeOptionGroupsResult & AddOptionGroupsList(const OptionGroup &value)
Definition: DescribeOptionGroupsResult.h:71
Aws::RDS::Model::DescribeOptionGroupsResult::SetOptionGroupsList
void SetOptionGroupsList(const Aws::Vector< OptionGroup > &value)
Definition: DescribeOptionGroupsResult.h:51
Aws::RDS::Model::DescribeOptionGroupsResult::WithMarker
DescribeOptionGroupsResult & WithMarker(const Aws::String &value)
Definition: DescribeOptionGroupsResult.h:112
AWSString.h
Aws::RDS::Model::DescribeOptionGroupsResult::WithResponseMetadata
DescribeOptionGroupsResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: DescribeOptionGroupsResult.h:142
Aws::RDS::Model::DescribeOptionGroupsResult::WithMarker
DescribeOptionGroupsResult & WithMarker(Aws::String &&value)
Definition: DescribeOptionGroupsResult.h:119
Aws::RDS::Model::DescribeOptionGroupsResult::SetMarker
void SetMarker(const char *value)
Definition: DescribeOptionGroupsResult.h:105
Aws::RDS::Model::DescribeOptionGroupsResult::AddOptionGroupsList
DescribeOptionGroupsResult & AddOptionGroupsList(OptionGroup &&value)
Definition: DescribeOptionGroupsResult.h:76
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::DescribeOptionGroupsResult::WithOptionGroupsList
DescribeOptionGroupsResult & WithOptionGroupsList(Aws::Vector< OptionGroup > &&value)
Definition: DescribeOptionGroupsResult.h:66
Aws
Definition: AccessManagementClient.h:15
ResponseMetadata.h
Aws::RDS::Model::DescribeOptionGroupsResult::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeOptionGroupsResult.h:84
Aws::RDS::Model::DescribeOptionGroupsResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DescribeOptionGroupsResult.h:136
Aws::RDS::Model::DescribeOptionGroupsResult::DescribeOptionGroupsResult
DescribeOptionGroupsResult()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
OptionGroup.h
Aws::RDS::Model::DescribeOptionGroupsResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DescribeOptionGroupsResult.h:130
Aws::RDS::Model::DescribeOptionGroupsResult::GetOptionGroupsList
const Aws::Vector< OptionGroup > & GetOptionGroupsList() const
Definition: DescribeOptionGroupsResult.h:46
Aws::RDS::Model::DescribeOptionGroupsResult::WithResponseMetadata
DescribeOptionGroupsResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: DescribeOptionGroupsResult.h:139
Aws::RDS::Model::DescribeOptionGroupsResult::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeOptionGroupsResult.h:91