AWS SDK for C++  1.9.108
AWS SDK for C++
DescribeOptionGroupOptionsResult.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 
43 
44  inline const Aws::Vector<OptionGroupOption>& GetOptionGroupOptions() const{ return m_optionGroupOptions; }
45 
46 
47  inline void SetOptionGroupOptions(const Aws::Vector<OptionGroupOption>& value) { m_optionGroupOptions = value; }
48 
49 
50  inline void SetOptionGroupOptions(Aws::Vector<OptionGroupOption>&& value) { m_optionGroupOptions = std::move(value); }
51 
52 
53  inline DescribeOptionGroupOptionsResult& WithOptionGroupOptions(const Aws::Vector<OptionGroupOption>& value) { SetOptionGroupOptions(value); return *this;}
54 
55 
56  inline DescribeOptionGroupOptionsResult& WithOptionGroupOptions(Aws::Vector<OptionGroupOption>&& value) { SetOptionGroupOptions(std::move(value)); return *this;}
57 
58 
59  inline DescribeOptionGroupOptionsResult& AddOptionGroupOptions(const OptionGroupOption& value) { m_optionGroupOptions.push_back(value); return *this; }
60 
61 
62  inline DescribeOptionGroupOptionsResult& AddOptionGroupOptions(OptionGroupOption&& value) { m_optionGroupOptions.push_back(std::move(value)); return *this; }
63 
64 
70  inline const Aws::String& GetMarker() const{ return m_marker; }
71 
77  inline void SetMarker(const Aws::String& value) { m_marker = value; }
78 
84  inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
85 
91  inline void SetMarker(const char* value) { m_marker.assign(value); }
92 
98  inline DescribeOptionGroupOptionsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
99 
105  inline DescribeOptionGroupOptionsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
106 
112  inline DescribeOptionGroupOptionsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
113 
114 
115 
116  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
117 
118 
119  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
120 
121 
122  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
123 
124 
125  inline DescribeOptionGroupOptionsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
126 
127 
128  inline DescribeOptionGroupOptionsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
129 
130  private:
131 
132  Aws::Vector<OptionGroupOption> m_optionGroupOptions;
133 
134  Aws::String m_marker;
135 
136  ResponseMetadata m_responseMetadata;
137  };
138 
139 } // namespace Model
140 } // namespace RDS
141 } // namespace Aws
Aws::RDS::Model::DescribeOptionGroupOptionsResult
Definition: DescribeOptionGroupOptionsResult.h:36
Aws::RDS::Model::DescribeOptionGroupOptionsResult::AddOptionGroupOptions
DescribeOptionGroupOptionsResult & AddOptionGroupOptions(OptionGroupOption &&value)
Definition: DescribeOptionGroupOptionsResult.h:62
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::RDS::Model::DescribeOptionGroupOptionsResult::WithOptionGroupOptions
DescribeOptionGroupOptionsResult & WithOptionGroupOptions(const Aws::Vector< OptionGroupOption > &value)
Definition: DescribeOptionGroupOptionsResult.h:53
Aws::RDS::Model::DescribeOptionGroupOptionsResult::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeOptionGroupOptionsResult.h:70
Aws::RDS::Model::DescribeOptionGroupOptionsResult::WithOptionGroupOptions
DescribeOptionGroupOptionsResult & WithOptionGroupOptions(Aws::Vector< OptionGroupOption > &&value)
Definition: DescribeOptionGroupOptionsResult.h:56
Aws::RDS::Model::DescribeOptionGroupOptionsResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DescribeOptionGroupOptionsResult.h:122
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RDS::Model::DescribeOptionGroupOptionsResult::DescribeOptionGroupOptionsResult
DescribeOptionGroupOptionsResult()
Aws::RDS::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
AWSVector.h
Aws::RDS::Model::DescribeOptionGroupOptionsResult::WithMarker
DescribeOptionGroupOptionsResult & WithMarker(const Aws::String &value)
Definition: DescribeOptionGroupOptionsResult.h:98
Aws::RDS::Model::DescribeOptionGroupOptionsResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DescribeOptionGroupOptionsResult.h:116
Aws::RDS::Model::DescribeOptionGroupOptionsResult::WithMarker
DescribeOptionGroupOptionsResult & WithMarker(Aws::String &&value)
Definition: DescribeOptionGroupOptionsResult.h:105
RDS_EXPORTS.h
Aws::RDS::Model::DescribeOptionGroupOptionsResult::SetMarker
void SetMarker(const char *value)
Definition: DescribeOptionGroupOptionsResult.h:91
Aws::RDS::Model::DescribeOptionGroupOptionsResult::SetOptionGroupOptions
void SetOptionGroupOptions(Aws::Vector< OptionGroupOption > &&value)
Definition: DescribeOptionGroupOptionsResult.h:50
Aws::RDS::Model::DescribeOptionGroupOptionsResult::WithResponseMetadata
DescribeOptionGroupOptionsResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: DescribeOptionGroupOptionsResult.h:125
Aws::RDS::Model::DescribeOptionGroupOptionsResult::DescribeOptionGroupOptionsResult
DescribeOptionGroupOptionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWSString.h
Aws::RDS::Model::DescribeOptionGroupOptionsResult::GetOptionGroupOptions
const Aws::Vector< OptionGroupOption > & GetOptionGroupOptions() const
Definition: DescribeOptionGroupOptionsResult.h:44
Aws::RDS::Model::DescribeOptionGroupOptionsResult::WithMarker
DescribeOptionGroupOptionsResult & WithMarker(const char *value)
Definition: DescribeOptionGroupOptionsResult.h:112
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::DescribeOptionGroupOptionsResult::WithResponseMetadata
DescribeOptionGroupOptionsResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: DescribeOptionGroupOptionsResult.h:128
Aws::RDS::Model::DescribeOptionGroupOptionsResult::AddOptionGroupOptions
DescribeOptionGroupOptionsResult & AddOptionGroupOptions(const OptionGroupOption &value)
Definition: DescribeOptionGroupOptionsResult.h:59
Aws::RDS::Model::DescribeOptionGroupOptionsResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DescribeOptionGroupOptionsResult.h:119
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::DescribeOptionGroupOptionsResult::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeOptionGroupOptionsResult.h:77
ResponseMetadata.h
Aws::RDS::Model::OptionGroupOption
Definition: OptionGroupOption.h:35
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
OptionGroupOption.h
Aws::RDS::Model::DescribeOptionGroupOptionsResult::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeOptionGroupOptionsResult.h:84
Aws::RDS::Model::DescribeOptionGroupOptionsResult::SetOptionGroupOptions
void SetOptionGroupOptions(const Aws::Vector< OptionGroupOption > &value)
Definition: DescribeOptionGroupOptionsResult.h:47
Aws::RDS::Model::DescribeOptionGroupOptionsResult::operator=
DescribeOptionGroupOptionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)