AWS SDK for C++  1.9.156
AWS SDK for C++
DescribeEndpointAuthorizationResult.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<EndpointAuthorization>& GetEndpointAuthorizationList() const{ return m_endpointAuthorizationList; }
42 
46  inline void SetEndpointAuthorizationList(const Aws::Vector<EndpointAuthorization>& value) { m_endpointAuthorizationList = value; }
47 
51  inline void SetEndpointAuthorizationList(Aws::Vector<EndpointAuthorization>&& value) { m_endpointAuthorizationList = std::move(value); }
52 
56  inline DescribeEndpointAuthorizationResult& WithEndpointAuthorizationList(const Aws::Vector<EndpointAuthorization>& value) { SetEndpointAuthorizationList(value); return *this;}
57 
61  inline DescribeEndpointAuthorizationResult& WithEndpointAuthorizationList(Aws::Vector<EndpointAuthorization>&& value) { SetEndpointAuthorizationList(std::move(value)); return *this;}
62 
66  inline DescribeEndpointAuthorizationResult& AddEndpointAuthorizationList(const EndpointAuthorization& value) { m_endpointAuthorizationList.push_back(value); return *this; }
67 
71  inline DescribeEndpointAuthorizationResult& AddEndpointAuthorizationList(EndpointAuthorization&& value) { m_endpointAuthorizationList.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 DescribeEndpointAuthorizationResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
113 
120  inline DescribeEndpointAuthorizationResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
121 
128  inline DescribeEndpointAuthorizationResult& 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 DescribeEndpointAuthorizationResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
142 
143 
144  inline DescribeEndpointAuthorizationResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
145 
146  private:
147 
148  Aws::Vector<EndpointAuthorization> m_endpointAuthorizationList;
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::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::Redshift::Model::DescribeEndpointAuthorizationResult::WithMarker
DescribeEndpointAuthorizationResult & WithMarker(Aws::String &&value)
Definition: DescribeEndpointAuthorizationResult.h:120
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Redshift::Model::DescribeEndpointAuthorizationResult::AddEndpointAuthorizationList
DescribeEndpointAuthorizationResult & AddEndpointAuthorizationList(EndpointAuthorization &&value)
Definition: DescribeEndpointAuthorizationResult.h:71
Aws::Redshift::Model::DescribeEndpointAuthorizationResult::WithEndpointAuthorizationList
DescribeEndpointAuthorizationResult & WithEndpointAuthorizationList(Aws::Vector< EndpointAuthorization > &&value)
Definition: DescribeEndpointAuthorizationResult.h:61
Aws::Redshift::Model::DescribeEndpointAuthorizationResult::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeEndpointAuthorizationResult.h:96
Aws::Redshift::Model::DescribeEndpointAuthorizationResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DescribeEndpointAuthorizationResult.h:132
Aws::Redshift::Model::DescribeEndpointAuthorizationResult::SetMarker
void SetMarker(const char *value)
Definition: DescribeEndpointAuthorizationResult.h:104
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Redshift::Model::DescribeEndpointAuthorizationResult
Definition: DescribeEndpointAuthorizationResult.h:31
AWSVector.h
Aws::Redshift::Model::DescribeEndpointAuthorizationResult::DescribeEndpointAuthorizationResult
DescribeEndpointAuthorizationResult()
Aws::Redshift::Model::EndpointAuthorization
Definition: EndpointAuthorization.h:38
Aws::Redshift::Model::DescribeEndpointAuthorizationResult::WithResponseMetadata
DescribeEndpointAuthorizationResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: DescribeEndpointAuthorizationResult.h:144
Aws::Redshift::Model::DescribeEndpointAuthorizationResult::operator=
DescribeEndpointAuthorizationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
EndpointAuthorization.h
Aws::Redshift::Model::DescribeEndpointAuthorizationResult::SetEndpointAuthorizationList
void SetEndpointAuthorizationList(const Aws::Vector< EndpointAuthorization > &value)
Definition: DescribeEndpointAuthorizationResult.h:46
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::Model::DescribeEndpointAuthorizationResult::AddEndpointAuthorizationList
DescribeEndpointAuthorizationResult & AddEndpointAuthorizationList(const EndpointAuthorization &value)
Definition: DescribeEndpointAuthorizationResult.h:66
AWSString.h
Aws::Redshift::Model::DescribeEndpointAuthorizationResult::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeEndpointAuthorizationResult.h:88
Aws::Redshift::Model::DescribeEndpointAuthorizationResult::WithEndpointAuthorizationList
DescribeEndpointAuthorizationResult & WithEndpointAuthorizationList(const Aws::Vector< EndpointAuthorization > &value)
Definition: DescribeEndpointAuthorizationResult.h:56
Aws::Redshift::Model::DescribeEndpointAuthorizationResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DescribeEndpointAuthorizationResult.h:138
Aws::Redshift::Model::DescribeEndpointAuthorizationResult::WithResponseMetadata
DescribeEndpointAuthorizationResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: DescribeEndpointAuthorizationResult.h:141
Aws::Redshift::Model::DescribeEndpointAuthorizationResult::DescribeEndpointAuthorizationResult
DescribeEndpointAuthorizationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::Redshift::Model::DescribeEndpointAuthorizationResult::GetEndpointAuthorizationList
const Aws::Vector< EndpointAuthorization > & GetEndpointAuthorizationList() const
Definition: DescribeEndpointAuthorizationResult.h:41
Redshift_EXPORTS.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Redshift::Model::DescribeEndpointAuthorizationResult::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeEndpointAuthorizationResult.h:80
ResponseMetadata.h
Aws::Redshift::Model::DescribeEndpointAuthorizationResult::SetEndpointAuthorizationList
void SetEndpointAuthorizationList(Aws::Vector< EndpointAuthorization > &&value)
Definition: DescribeEndpointAuthorizationResult.h:51
Aws::Redshift::Model::DescribeEndpointAuthorizationResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DescribeEndpointAuthorizationResult.h:135
Aws::Redshift::Model::DescribeEndpointAuthorizationResult::WithMarker
DescribeEndpointAuthorizationResult & WithMarker(const Aws::String &value)
Definition: DescribeEndpointAuthorizationResult.h:112
Aws::Redshift::Model::DescribeEndpointAuthorizationResult::WithMarker
DescribeEndpointAuthorizationResult & WithMarker(const char *value)
Definition: DescribeEndpointAuthorizationResult.h:128