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

Specifies the inventory configuration.

*/ inline const InventoryConfiguration& GetInventoryConfiguration() const{ return m_inventoryConfiguration; } /** *

Specifies the inventory configuration.

*/ inline void SetInventoryConfiguration(const InventoryConfiguration& value) { m_inventoryConfiguration = value; } /** *

Specifies the inventory configuration.

*/ inline void SetInventoryConfiguration(InventoryConfiguration&& value) { m_inventoryConfiguration = std::move(value); } /** *

Specifies the inventory configuration.

*/ inline GetBucketInventoryConfigurationResult& WithInventoryConfiguration(const InventoryConfiguration& value) { SetInventoryConfiguration(value); return *this;} /** *

Specifies the inventory configuration.

*/ inline GetBucketInventoryConfigurationResult& WithInventoryConfiguration(InventoryConfiguration&& value) { SetInventoryConfiguration(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 GetBucketInventoryConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetBucketInventoryConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetBucketInventoryConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: InventoryConfiguration m_inventoryConfiguration; Aws::String m_requestId; }; } // namespace Model } // namespace S3Crt } // namespace Aws