AWS SDK for C++  1.8.154
AWS SDK for C++
ListAccessPointsResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Xml
21 {
22  class XmlDocument;
23 } // namespace Xml
24 } // namespace Utils
25 namespace S3Control
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
41  inline const Aws::Vector<AccessPoint>& GetAccessPointList() const{ return m_accessPointList; }
42 
47  inline void SetAccessPointList(const Aws::Vector<AccessPoint>& value) { m_accessPointList = value; }
48 
53  inline void SetAccessPointList(Aws::Vector<AccessPoint>&& value) { m_accessPointList = std::move(value); }
54 
59  inline ListAccessPointsResult& WithAccessPointList(const Aws::Vector<AccessPoint>& value) { SetAccessPointList(value); return *this;}
60 
65  inline ListAccessPointsResult& WithAccessPointList(Aws::Vector<AccessPoint>&& value) { SetAccessPointList(std::move(value)); return *this;}
66 
71  inline ListAccessPointsResult& AddAccessPointList(const AccessPoint& value) { m_accessPointList.push_back(value); return *this; }
72 
77  inline ListAccessPointsResult& AddAccessPointList(AccessPoint&& value) { m_accessPointList.push_back(std::move(value)); return *this; }
78 
79 
85  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
86 
92  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
93 
99  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
100 
106  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
107 
113  inline ListAccessPointsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
114 
120  inline ListAccessPointsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
121 
127  inline ListAccessPointsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
128 
129  private:
130 
131  Aws::Vector<AccessPoint> m_accessPointList;
132 
133  Aws::String m_nextToken;
134  };
135 
136 } // namespace Model
137 } // namespace S3Control
138 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::S3Control::Model::ListAccessPointsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListAccessPointsResult.h:106
Aws::S3Control::Model::ListAccessPointsResult::WithNextToken
ListAccessPointsResult & WithNextToken(Aws::String &&value)
Definition: ListAccessPointsResult.h:120
Aws::S3Control::Model::ListAccessPointsResult::ListAccessPointsResult
ListAccessPointsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::S3Control::Model::ListAccessPointsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListAccessPointsResult.h:92
Aws::S3Control::Model::ListAccessPointsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListAccessPointsResult.h:99
Aws::S3Control::Model::ListAccessPointsResult::GetAccessPointList
const Aws::Vector< AccessPoint > & GetAccessPointList() const
Definition: ListAccessPointsResult.h:41
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::S3Control::Model::ListAccessPointsResult::WithAccessPointList
ListAccessPointsResult & WithAccessPointList(const Aws::Vector< AccessPoint > &value)
Definition: ListAccessPointsResult.h:59
S3Control_EXPORTS.h
Aws::S3Control::Model::ListAccessPointsResult
Definition: ListAccessPointsResult.h:30
Aws::S3Control::Model::ListAccessPointsResult::WithNextToken
ListAccessPointsResult & WithNextToken(const Aws::String &value)
Definition: ListAccessPointsResult.h:113
Aws::S3Control::Model::AccessPoint
Definition: AccessPoint.h:33
Aws::S3Control::Model::ListAccessPointsResult::AddAccessPointList
ListAccessPointsResult & AddAccessPointList(AccessPoint &&value)
Definition: ListAccessPointsResult.h:77
Aws::S3Control::Model::ListAccessPointsResult::operator=
ListAccessPointsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_S3CONTROL_API
#define AWS_S3CONTROL_API
Definition: S3Control_EXPORTS.h:28
AWSString.h
Aws::S3Control::Model::ListAccessPointsResult::WithNextToken
ListAccessPointsResult & WithNextToken(const char *value)
Definition: ListAccessPointsResult.h:127
Aws::S3Control::Model::ListAccessPointsResult::WithAccessPointList
ListAccessPointsResult & WithAccessPointList(Aws::Vector< AccessPoint > &&value)
Definition: ListAccessPointsResult.h:65
Aws::S3Control::Model::ListAccessPointsResult::SetAccessPointList
void SetAccessPointList(const Aws::Vector< AccessPoint > &value)
Definition: ListAccessPointsResult.h:47
Aws
Definition: AccessManagementClient.h:15
Aws::S3Control::Model::ListAccessPointsResult::SetAccessPointList
void SetAccessPointList(Aws::Vector< AccessPoint > &&value)
Definition: ListAccessPointsResult.h:53
Aws::S3Control::Model::ListAccessPointsResult::ListAccessPointsResult
ListAccessPointsResult()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AccessPoint.h
Aws::S3Control::Model::ListAccessPointsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListAccessPointsResult.h:85
Aws::S3Control::Model::ListAccessPointsResult::AddAccessPointList
ListAccessPointsResult & AddAccessPointList(const AccessPoint &value)
Definition: ListAccessPointsResult.h:71