AWS SDK for C++  1.9.105
AWS SDK for C++
DescribeEndpointAccessResult.h
Go to the documentation of this file.
1 
6 #pragma once
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 Redshift
27 {
28 namespace Model
29 {
31  {
32  public:
36 
37 
41  inline const Aws::Vector<EndpointAccess>& GetEndpointAccessList() const{ return m_endpointAccessList; }
42 
46  inline void SetEndpointAccessList(const Aws::Vector<EndpointAccess>& value) { m_endpointAccessList = value; }
47 
51  inline void SetEndpointAccessList(Aws::Vector<EndpointAccess>&& value) { m_endpointAccessList = std::move(value); }
52 
56  inline DescribeEndpointAccessResult& WithEndpointAccessList(const Aws::Vector<EndpointAccess>& value) { SetEndpointAccessList(value); return *this;}
57 
61  inline DescribeEndpointAccessResult& WithEndpointAccessList(Aws::Vector<EndpointAccess>&& value) { SetEndpointAccessList(std::move(value)); return *this;}
62 
66  inline DescribeEndpointAccessResult& AddEndpointAccessList(const EndpointAccess& value) { m_endpointAccessList.push_back(value); return *this; }
67 
71  inline DescribeEndpointAccessResult& AddEndpointAccessList(EndpointAccess&& value) { m_endpointAccessList.push_back(std::move(value)); return *this; }
72 
73 
80  inline const Aws::String& GetMarker() const{ return m_marker; }
81 
88  inline void SetMarker(const Aws::String& value) { m_marker = value; }
89 
96  inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
97 
104  inline void SetMarker(const char* value) { m_marker.assign(value); }
105 
112  inline DescribeEndpointAccessResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
113 
120  inline DescribeEndpointAccessResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
121 
128  inline DescribeEndpointAccessResult& WithMarker(const char* value) { SetMarker(value); return *this;}
129 
130 
131 
132  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
133 
134 
135  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
136 
137 
138  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
139 
140 
141  inline DescribeEndpointAccessResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
142 
143 
144  inline DescribeEndpointAccessResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
145 
146  private:
147 
148  Aws::Vector<EndpointAccess> m_endpointAccessList;
149 
150  Aws::String m_marker;
151 
152  ResponseMetadata m_responseMetadata;
153  };
154 
155 } // namespace Model
156 } // namespace Redshift
157 } // namespace Aws
Aws::Redshift::Model::DescribeEndpointAccessResult::WithMarker
DescribeEndpointAccessResult & WithMarker(const char *value)
Definition: DescribeEndpointAccessResult.h:128
Aws::Redshift::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Redshift::Model::DescribeEndpointAccessResult
Definition: DescribeEndpointAccessResult.h:31
Aws::Redshift::Model::DescribeEndpointAccessResult::DescribeEndpointAccessResult
DescribeEndpointAccessResult()
Aws::Redshift::Model::DescribeEndpointAccessResult::WithResponseMetadata
DescribeEndpointAccessResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: DescribeEndpointAccessResult.h:144
EndpointAccess.h
Aws::Redshift::Model::DescribeEndpointAccessResult::AddEndpointAccessList
DescribeEndpointAccessResult & AddEndpointAccessList(EndpointAccess &&value)
Definition: DescribeEndpointAccessResult.h:71
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::Redshift::Model::DescribeEndpointAccessResult::WithEndpointAccessList
DescribeEndpointAccessResult & WithEndpointAccessList(const Aws::Vector< EndpointAccess > &value)
Definition: DescribeEndpointAccessResult.h:56
Aws::Redshift::Model::DescribeEndpointAccessResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DescribeEndpointAccessResult.h:138
Aws::Redshift::Model::DescribeEndpointAccessResult::WithResponseMetadata
DescribeEndpointAccessResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: DescribeEndpointAccessResult.h:141
Aws::Redshift::Model::DescribeEndpointAccessResult::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeEndpointAccessResult.h:88
Aws::Redshift::Model::DescribeEndpointAccessResult::WithMarker
DescribeEndpointAccessResult & WithMarker(Aws::String &&value)
Definition: DescribeEndpointAccessResult.h:120
Aws::Redshift::Model::DescribeEndpointAccessResult::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeEndpointAccessResult.h:80
Aws::Redshift::Model::EndpointAccess
Definition: EndpointAccess.h:37
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::Model::DescribeEndpointAccessResult::WithEndpointAccessList
DescribeEndpointAccessResult & WithEndpointAccessList(Aws::Vector< EndpointAccess > &&value)
Definition: DescribeEndpointAccessResult.h:61
AWSString.h
Aws::Redshift::Model::DescribeEndpointAccessResult::DescribeEndpointAccessResult
DescribeEndpointAccessResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Redshift::Model::DescribeEndpointAccessResult::operator=
DescribeEndpointAccessResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Redshift::Model::DescribeEndpointAccessResult::SetMarker
void SetMarker(const char *value)
Definition: DescribeEndpointAccessResult.h:104
Aws::Redshift::Model::DescribeEndpointAccessResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DescribeEndpointAccessResult.h:132
Aws::Redshift::Model::DescribeEndpointAccessResult::GetEndpointAccessList
const Aws::Vector< EndpointAccess > & GetEndpointAccessList() const
Definition: DescribeEndpointAccessResult.h:41
Aws::Redshift::Model::DescribeEndpointAccessResult::WithMarker
DescribeEndpointAccessResult & WithMarker(const Aws::String &value)
Definition: DescribeEndpointAccessResult.h:112
Aws::Redshift::Model::DescribeEndpointAccessResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DescribeEndpointAccessResult.h:135
Aws::Redshift::Model::DescribeEndpointAccessResult::SetEndpointAccessList
void SetEndpointAccessList(Aws::Vector< EndpointAccess > &&value)
Definition: DescribeEndpointAccessResult.h:51
Aws
Definition: AccessManagementClient.h:15
Aws::Redshift::Model::DescribeEndpointAccessResult::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeEndpointAccessResult.h:96
Redshift_EXPORTS.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ResponseMetadata.h
Aws::Redshift::Model::DescribeEndpointAccessResult::SetEndpointAccessList
void SetEndpointAccessList(const Aws::Vector< EndpointAccess > &value)
Definition: DescribeEndpointAccessResult.h:46
Aws::Redshift::Model::DescribeEndpointAccessResult::AddEndpointAccessList
DescribeEndpointAccessResult & AddEndpointAccessList(const EndpointAccess &value)
Definition: DescribeEndpointAccessResult.h:66