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

The status of the flag isCrossAccountBackupEnabled.

*/ inline const Aws::Map& GetGlobalSettings() const{ return m_globalSettings; } /** *

The status of the flag isCrossAccountBackupEnabled.

*/ inline void SetGlobalSettings(const Aws::Map& value) { m_globalSettings = value; } /** *

The status of the flag isCrossAccountBackupEnabled.

*/ inline void SetGlobalSettings(Aws::Map&& value) { m_globalSettings = std::move(value); } /** *

The status of the flag isCrossAccountBackupEnabled.

*/ inline DescribeGlobalSettingsResult& WithGlobalSettings(const Aws::Map& value) { SetGlobalSettings(value); return *this;} /** *

The status of the flag isCrossAccountBackupEnabled.

*/ inline DescribeGlobalSettingsResult& WithGlobalSettings(Aws::Map&& value) { SetGlobalSettings(std::move(value)); return *this;} /** *

The status of the flag isCrossAccountBackupEnabled.

*/ inline DescribeGlobalSettingsResult& AddGlobalSettings(const Aws::String& key, const Aws::String& value) { m_globalSettings.emplace(key, value); return *this; } /** *

The status of the flag isCrossAccountBackupEnabled.

*/ inline DescribeGlobalSettingsResult& AddGlobalSettings(Aws::String&& key, const Aws::String& value) { m_globalSettings.emplace(std::move(key), value); return *this; } /** *

The status of the flag isCrossAccountBackupEnabled.

*/ inline DescribeGlobalSettingsResult& AddGlobalSettings(const Aws::String& key, Aws::String&& value) { m_globalSettings.emplace(key, std::move(value)); return *this; } /** *

The status of the flag isCrossAccountBackupEnabled.

*/ inline DescribeGlobalSettingsResult& AddGlobalSettings(Aws::String&& key, Aws::String&& value) { m_globalSettings.emplace(std::move(key), std::move(value)); return *this; } /** *

The status of the flag isCrossAccountBackupEnabled.

*/ inline DescribeGlobalSettingsResult& AddGlobalSettings(const char* key, Aws::String&& value) { m_globalSettings.emplace(key, std::move(value)); return *this; } /** *

The status of the flag isCrossAccountBackupEnabled.

*/ inline DescribeGlobalSettingsResult& AddGlobalSettings(Aws::String&& key, const char* value) { m_globalSettings.emplace(std::move(key), value); return *this; } /** *

The status of the flag isCrossAccountBackupEnabled.

*/ inline DescribeGlobalSettingsResult& AddGlobalSettings(const char* key, const char* value) { m_globalSettings.emplace(key, value); return *this; } /** *

The date and time that the flag isCrossAccountBackupEnabled was * last updated. This update is in Unix format and Coordinated Universal Time * (UTC). The value of LastUpdateTime is accurate to milliseconds. For * example, the value 1516925490.087 represents Friday, January 26, 2018 * 12:11:30.087 AM.

*/ inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; } /** *

The date and time that the flag isCrossAccountBackupEnabled was * last updated. This update is in Unix format and Coordinated Universal Time * (UTC). The value of LastUpdateTime is accurate to milliseconds. For * example, the value 1516925490.087 represents Friday, January 26, 2018 * 12:11:30.087 AM.

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

The date and time that the flag isCrossAccountBackupEnabled was * last updated. This update is in Unix format and Coordinated Universal Time * (UTC). The value of LastUpdateTime is accurate to milliseconds. For * example, the value 1516925490.087 represents Friday, January 26, 2018 * 12:11:30.087 AM.

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

The date and time that the flag isCrossAccountBackupEnabled was * last updated. This update is in Unix format and Coordinated Universal Time * (UTC). The value of LastUpdateTime is accurate to milliseconds. For * example, the value 1516925490.087 represents Friday, January 26, 2018 * 12:11:30.087 AM.

*/ inline DescribeGlobalSettingsResult& WithLastUpdateTime(const Aws::Utils::DateTime& value) { SetLastUpdateTime(value); return *this;} /** *

The date and time that the flag isCrossAccountBackupEnabled was * last updated. This update is in Unix format and Coordinated Universal Time * (UTC). The value of LastUpdateTime is accurate to milliseconds. For * example, the value 1516925490.087 represents Friday, January 26, 2018 * 12:11:30.087 AM.

*/ inline DescribeGlobalSettingsResult& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(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 DescribeGlobalSettingsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeGlobalSettingsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeGlobalSettingsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Map m_globalSettings; Aws::Utils::DateTime m_lastUpdateTime; Aws::String m_requestId; }; } // namespace Model } // namespace Backup } // namespace Aws