/** * 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 Json { class JsonValue; } // namespace Json } // namespace Utils namespace AmplifyBackend { namespace Model { class ListS3BucketsResult { public: AWS_AMPLIFYBACKEND_API ListS3BucketsResult(); AWS_AMPLIFYBACKEND_API ListS3BucketsResult(const Aws::AmazonWebServiceResult& result); AWS_AMPLIFYBACKEND_API ListS3BucketsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The list of S3 buckets.

*/ inline const Aws::Vector& GetBuckets() const{ return m_buckets; } /** *

The list of S3 buckets.

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

The list of S3 buckets.

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

The list of S3 buckets.

*/ inline ListS3BucketsResult& WithBuckets(const Aws::Vector& value) { SetBuckets(value); return *this;} /** *

The list of S3 buckets.

*/ inline ListS3BucketsResult& WithBuckets(Aws::Vector&& value) { SetBuckets(std::move(value)); return *this;} /** *

The list of S3 buckets.

*/ inline ListS3BucketsResult& AddBuckets(const S3BucketInfo& value) { m_buckets.push_back(value); return *this; } /** *

The list of S3 buckets.

*/ inline ListS3BucketsResult& AddBuckets(S3BucketInfo&& value) { m_buckets.push_back(std::move(value)); return *this; } /** *

Reserved for future use.

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

Reserved for future use.

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

Reserved for future use.

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

Reserved for future use.

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

Reserved for future use.

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

Reserved for future use.

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

Reserved for future use.

*/ inline ListS3BucketsResult& 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 ListS3BucketsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListS3BucketsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListS3BucketsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_buckets; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace AmplifyBackend } // namespace Aws