/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace RolesAnywhere { namespace Model { /** */ class ResetNotificationSettingsRequest : public RolesAnywhereRequest { public: AWS_ROLESANYWHERE_API ResetNotificationSettingsRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "ResetNotificationSettings"; } AWS_ROLESANYWHERE_API Aws::String SerializePayload() const override; /** *

A list of notification setting keys to reset. A notification setting key * includes the event and the channel.

*/ inline const Aws::Vector& GetNotificationSettingKeys() const{ return m_notificationSettingKeys; } /** *

A list of notification setting keys to reset. A notification setting key * includes the event and the channel.

*/ inline bool NotificationSettingKeysHasBeenSet() const { return m_notificationSettingKeysHasBeenSet; } /** *

A list of notification setting keys to reset. A notification setting key * includes the event and the channel.

*/ inline void SetNotificationSettingKeys(const Aws::Vector& value) { m_notificationSettingKeysHasBeenSet = true; m_notificationSettingKeys = value; } /** *

A list of notification setting keys to reset. A notification setting key * includes the event and the channel.

*/ inline void SetNotificationSettingKeys(Aws::Vector&& value) { m_notificationSettingKeysHasBeenSet = true; m_notificationSettingKeys = std::move(value); } /** *

A list of notification setting keys to reset. A notification setting key * includes the event and the channel.

*/ inline ResetNotificationSettingsRequest& WithNotificationSettingKeys(const Aws::Vector& value) { SetNotificationSettingKeys(value); return *this;} /** *

A list of notification setting keys to reset. A notification setting key * includes the event and the channel.

*/ inline ResetNotificationSettingsRequest& WithNotificationSettingKeys(Aws::Vector&& value) { SetNotificationSettingKeys(std::move(value)); return *this;} /** *

A list of notification setting keys to reset. A notification setting key * includes the event and the channel.

*/ inline ResetNotificationSettingsRequest& AddNotificationSettingKeys(const NotificationSettingKey& value) { m_notificationSettingKeysHasBeenSet = true; m_notificationSettingKeys.push_back(value); return *this; } /** *

A list of notification setting keys to reset. A notification setting key * includes the event and the channel.

*/ inline ResetNotificationSettingsRequest& AddNotificationSettingKeys(NotificationSettingKey&& value) { m_notificationSettingKeysHasBeenSet = true; m_notificationSettingKeys.push_back(std::move(value)); return *this; } /** *

The unique identifier of the trust anchor.

*/ inline const Aws::String& GetTrustAnchorId() const{ return m_trustAnchorId; } /** *

The unique identifier of the trust anchor.

*/ inline bool TrustAnchorIdHasBeenSet() const { return m_trustAnchorIdHasBeenSet; } /** *

The unique identifier of the trust anchor.

*/ inline void SetTrustAnchorId(const Aws::String& value) { m_trustAnchorIdHasBeenSet = true; m_trustAnchorId = value; } /** *

The unique identifier of the trust anchor.

*/ inline void SetTrustAnchorId(Aws::String&& value) { m_trustAnchorIdHasBeenSet = true; m_trustAnchorId = std::move(value); } /** *

The unique identifier of the trust anchor.

*/ inline void SetTrustAnchorId(const char* value) { m_trustAnchorIdHasBeenSet = true; m_trustAnchorId.assign(value); } /** *

The unique identifier of the trust anchor.

*/ inline ResetNotificationSettingsRequest& WithTrustAnchorId(const Aws::String& value) { SetTrustAnchorId(value); return *this;} /** *

The unique identifier of the trust anchor.

*/ inline ResetNotificationSettingsRequest& WithTrustAnchorId(Aws::String&& value) { SetTrustAnchorId(std::move(value)); return *this;} /** *

The unique identifier of the trust anchor.

*/ inline ResetNotificationSettingsRequest& WithTrustAnchorId(const char* value) { SetTrustAnchorId(value); return *this;} private: Aws::Vector m_notificationSettingKeys; bool m_notificationSettingKeysHasBeenSet = false; Aws::String m_trustAnchorId; bool m_trustAnchorIdHasBeenSet = false; }; } // namespace Model } // namespace RolesAnywhere } // namespace Aws