/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace S3Control { namespace Model { class ListRegionalBucketsResult { public: AWS_S3CONTROL_API ListRegionalBucketsResult(); AWS_S3CONTROL_API ListRegionalBucketsResult(const Aws::AmazonWebServiceResult& result); AWS_S3CONTROL_API ListRegionalBucketsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

*/ inline const Aws::Vector& GetRegionalBucketList() const{ return m_regionalBucketList; } /** *

*/ inline void SetRegionalBucketList(const Aws::Vector& value) { m_regionalBucketList = value; } /** *

*/ inline void SetRegionalBucketList(Aws::Vector&& value) { m_regionalBucketList = std::move(value); } /** *

*/ inline ListRegionalBucketsResult& WithRegionalBucketList(const Aws::Vector& value) { SetRegionalBucketList(value); return *this;} /** *

*/ inline ListRegionalBucketsResult& WithRegionalBucketList(Aws::Vector&& value) { SetRegionalBucketList(std::move(value)); return *this;} /** *

*/ inline ListRegionalBucketsResult& AddRegionalBucketList(const RegionalBucket& value) { m_regionalBucketList.push_back(value); return *this; } /** *

*/ inline ListRegionalBucketsResult& AddRegionalBucketList(RegionalBucket&& value) { m_regionalBucketList.push_back(std::move(value)); return *this; } /** *

NextToken is sent when isTruncated is true, which * means there are more buckets that can be listed. The next list requests to * Amazon S3 can be continued with this NextToken. * NextToken is obfuscated and is not a real key.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

NextToken is sent when isTruncated is true, which * means there are more buckets that can be listed. The next list requests to * Amazon S3 can be continued with this NextToken. * NextToken is obfuscated and is not a real key.

*/ inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } /** *

NextToken is sent when isTruncated is true, which * means there are more buckets that can be listed. The next list requests to * Amazon S3 can be continued with this NextToken. * NextToken is obfuscated and is not a real key.

*/ inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } /** *

NextToken is sent when isTruncated is true, which * means there are more buckets that can be listed. The next list requests to * Amazon S3 can be continued with this NextToken. * NextToken is obfuscated and is not a real key.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

NextToken is sent when isTruncated is true, which * means there are more buckets that can be listed. The next list requests to * Amazon S3 can be continued with this NextToken. * NextToken is obfuscated and is not a real key.

*/ inline ListRegionalBucketsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

NextToken is sent when isTruncated is true, which * means there are more buckets that can be listed. The next list requests to * Amazon S3 can be continued with this NextToken. * NextToken is obfuscated and is not a real key.

*/ inline ListRegionalBucketsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

NextToken is sent when isTruncated is true, which * means there are more buckets that can be listed. The next list requests to * Amazon S3 can be continued with this NextToken. * NextToken is obfuscated and is not a real key.

*/ inline ListRegionalBucketsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline ListRegionalBucketsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListRegionalBucketsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListRegionalBucketsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_regionalBucketList; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace S3Control } // namespace Aws