AWS SDK for C++  1.8.154
AWS SDK for C++
ListRegionalBucketsResult.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 
40  inline const Aws::Vector<RegionalBucket>& GetRegionalBucketList() const{ return m_regionalBucketList; }
41 
45  inline void SetRegionalBucketList(const Aws::Vector<RegionalBucket>& value) { m_regionalBucketList = value; }
46 
50  inline void SetRegionalBucketList(Aws::Vector<RegionalBucket>&& value) { m_regionalBucketList = std::move(value); }
51 
55  inline ListRegionalBucketsResult& WithRegionalBucketList(const Aws::Vector<RegionalBucket>& value) { SetRegionalBucketList(value); return *this;}
56 
60  inline ListRegionalBucketsResult& WithRegionalBucketList(Aws::Vector<RegionalBucket>&& value) { SetRegionalBucketList(std::move(value)); return *this;}
61 
65  inline ListRegionalBucketsResult& AddRegionalBucketList(const RegionalBucket& value) { m_regionalBucketList.push_back(value); return *this; }
66 
70  inline ListRegionalBucketsResult& AddRegionalBucketList(RegionalBucket&& value) { m_regionalBucketList.push_back(std::move(value)); return *this; }
71 
72 
79  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
80 
87  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
88 
95  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
96 
103  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
104 
111  inline ListRegionalBucketsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
112 
119  inline ListRegionalBucketsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
120 
127  inline ListRegionalBucketsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
128 
129  private:
130 
131  Aws::Vector<RegionalBucket> m_regionalBucketList;
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::ListRegionalBucketsResult::WithNextToken
ListRegionalBucketsResult & WithNextToken(Aws::String &&value)
Definition: ListRegionalBucketsResult.h:119
Aws::S3Control::Model::ListRegionalBucketsResult::WithRegionalBucketList
ListRegionalBucketsResult & WithRegionalBucketList(Aws::Vector< RegionalBucket > &&value)
Definition: ListRegionalBucketsResult.h:60
Aws::S3Control::Model::ListRegionalBucketsResult::AddRegionalBucketList
ListRegionalBucketsResult & AddRegionalBucketList(const RegionalBucket &value)
Definition: ListRegionalBucketsResult.h:65
Aws::S3Control::Model::ListRegionalBucketsResult::WithNextToken
ListRegionalBucketsResult & WithNextToken(const Aws::String &value)
Definition: ListRegionalBucketsResult.h:111
Aws::S3Control::Model::ListRegionalBucketsResult::operator=
ListRegionalBucketsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
S3Control_EXPORTS.h
Aws::S3Control::Model::ListRegionalBucketsResult
Definition: ListRegionalBucketsResult.h:30
Aws::S3Control::Model::ListRegionalBucketsResult::WithNextToken
ListRegionalBucketsResult & WithNextToken(const char *value)
Definition: ListRegionalBucketsResult.h:127
Aws::S3Control::Model::ListRegionalBucketsResult::SetRegionalBucketList
void SetRegionalBucketList(Aws::Vector< RegionalBucket > &&value)
Definition: ListRegionalBucketsResult.h:50
RegionalBucket.h
Aws::S3Control::Model::ListRegionalBucketsResult::SetRegionalBucketList
void SetRegionalBucketList(const Aws::Vector< RegionalBucket > &value)
Definition: ListRegionalBucketsResult.h:45
Aws::S3Control::Model::ListRegionalBucketsResult::AddRegionalBucketList
ListRegionalBucketsResult & AddRegionalBucketList(RegionalBucket &&value)
Definition: ListRegionalBucketsResult.h:70
AWS_S3CONTROL_API
#define AWS_S3CONTROL_API
Definition: S3Control_EXPORTS.h:28
Aws::S3Control::Model::ListRegionalBucketsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListRegionalBucketsResult.h:95
AWSString.h
Aws::S3Control::Model::ListRegionalBucketsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListRegionalBucketsResult.h:87
Aws::S3Control::Model::ListRegionalBucketsResult::ListRegionalBucketsResult
ListRegionalBucketsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::S3Control::Model::ListRegionalBucketsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListRegionalBucketsResult.h:103
Aws
Definition: AccessManagementClient.h:15
Aws::S3Control::Model::ListRegionalBucketsResult::WithRegionalBucketList
ListRegionalBucketsResult & WithRegionalBucketList(const Aws::Vector< RegionalBucket > &value)
Definition: ListRegionalBucketsResult.h:55
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::S3Control::Model::ListRegionalBucketsResult::GetRegionalBucketList
const Aws::Vector< RegionalBucket > & GetRegionalBucketList() const
Definition: ListRegionalBucketsResult.h:40
Aws::S3Control::Model::ListRegionalBucketsResult::ListRegionalBucketsResult
ListRegionalBucketsResult()
Aws::S3Control::Model::ListRegionalBucketsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListRegionalBucketsResult.h:79
Aws::S3Control::Model::RegionalBucket
Definition: RegionalBucket.h:32