/** * 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 Lightsail { namespace Model { class GetBucketAccessKeysResult { public: AWS_LIGHTSAIL_API GetBucketAccessKeysResult(); AWS_LIGHTSAIL_API GetBucketAccessKeysResult(const Aws::AmazonWebServiceResult& result); AWS_LIGHTSAIL_API GetBucketAccessKeysResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

An object that describes the access keys for the specified bucket.

*/ inline const Aws::Vector& GetAccessKeys() const{ return m_accessKeys; } /** *

An object that describes the access keys for the specified bucket.

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

An object that describes the access keys for the specified bucket.

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

An object that describes the access keys for the specified bucket.

*/ inline GetBucketAccessKeysResult& WithAccessKeys(const Aws::Vector& value) { SetAccessKeys(value); return *this;} /** *

An object that describes the access keys for the specified bucket.

*/ inline GetBucketAccessKeysResult& WithAccessKeys(Aws::Vector&& value) { SetAccessKeys(std::move(value)); return *this;} /** *

An object that describes the access keys for the specified bucket.

*/ inline GetBucketAccessKeysResult& AddAccessKeys(const AccessKey& value) { m_accessKeys.push_back(value); return *this; } /** *

An object that describes the access keys for the specified bucket.

*/ inline GetBucketAccessKeysResult& AddAccessKeys(AccessKey&& value) { m_accessKeys.push_back(std::move(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 GetBucketAccessKeysResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetBucketAccessKeysResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetBucketAccessKeysResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_accessKeys; Aws::String m_requestId; }; } // namespace Model } // namespace Lightsail } // namespace Aws