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

The retention settings.

*/ inline const RetentionSettings& GetRetentionSettings() const{ return m_retentionSettings; } /** *

The retention settings.

*/ inline void SetRetentionSettings(const RetentionSettings& value) { m_retentionSettings = value; } /** *

The retention settings.

*/ inline void SetRetentionSettings(RetentionSettings&& value) { m_retentionSettings = std::move(value); } /** *

The retention settings.

*/ inline GetRetentionSettingsResult& WithRetentionSettings(const RetentionSettings& value) { SetRetentionSettings(value); return *this;} /** *

The retention settings.

*/ inline GetRetentionSettingsResult& WithRetentionSettings(RetentionSettings&& value) { SetRetentionSettings(std::move(value)); return *this;} /** *

The timestamp representing the time at which the specified items are * permanently deleted, in ISO 8601 format.

*/ inline const Aws::Utils::DateTime& GetInitiateDeletionTimestamp() const{ return m_initiateDeletionTimestamp; } /** *

The timestamp representing the time at which the specified items are * permanently deleted, in ISO 8601 format.

*/ inline void SetInitiateDeletionTimestamp(const Aws::Utils::DateTime& value) { m_initiateDeletionTimestamp = value; } /** *

The timestamp representing the time at which the specified items are * permanently deleted, in ISO 8601 format.

*/ inline void SetInitiateDeletionTimestamp(Aws::Utils::DateTime&& value) { m_initiateDeletionTimestamp = std::move(value); } /** *

The timestamp representing the time at which the specified items are * permanently deleted, in ISO 8601 format.

*/ inline GetRetentionSettingsResult& WithInitiateDeletionTimestamp(const Aws::Utils::DateTime& value) { SetInitiateDeletionTimestamp(value); return *this;} /** *

The timestamp representing the time at which the specified items are * permanently deleted, in ISO 8601 format.

*/ inline GetRetentionSettingsResult& WithInitiateDeletionTimestamp(Aws::Utils::DateTime&& value) { SetInitiateDeletionTimestamp(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 GetRetentionSettingsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetRetentionSettingsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetRetentionSettingsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: RetentionSettings m_retentionSettings; Aws::Utils::DateTime m_initiateDeletionTimestamp; Aws::String m_requestId; }; } // namespace Model } // namespace Chime } // namespace Aws