This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-shield/include/aws/shield/model/UpdateEmergencyContactSettingsRequest.h

119 lines
5.5 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/shield/Shield_EXPORTS.h>
#include <aws/shield/ShieldRequest.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/shield/model/EmergencyContact.h>
#include <utility>
namespace Aws
{
namespace Shield
{
namespace Model
{
/**
*/
class AWS_SHIELD_API UpdateEmergencyContactSettingsRequest : public ShieldRequest
{
public:
UpdateEmergencyContactSettingsRequest();
// 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 "UpdateEmergencyContactSettings"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>A list of email addresses and phone numbers that the DDoS Response Team (DRT)
* can use to contact you if you have proactive engagement enabled, for escalations
* to the DRT and to initiate proactive customer support.</p> <p>If you have
* proactive engagement enabled, the contact list must include at least one phone
* number.</p>
*/
inline const Aws::Vector<EmergencyContact>& GetEmergencyContactList() const{ return m_emergencyContactList; }
/**
* <p>A list of email addresses and phone numbers that the DDoS Response Team (DRT)
* can use to contact you if you have proactive engagement enabled, for escalations
* to the DRT and to initiate proactive customer support.</p> <p>If you have
* proactive engagement enabled, the contact list must include at least one phone
* number.</p>
*/
inline bool EmergencyContactListHasBeenSet() const { return m_emergencyContactListHasBeenSet; }
/**
* <p>A list of email addresses and phone numbers that the DDoS Response Team (DRT)
* can use to contact you if you have proactive engagement enabled, for escalations
* to the DRT and to initiate proactive customer support.</p> <p>If you have
* proactive engagement enabled, the contact list must include at least one phone
* number.</p>
*/
inline void SetEmergencyContactList(const Aws::Vector<EmergencyContact>& value) { m_emergencyContactListHasBeenSet = true; m_emergencyContactList = value; }
/**
* <p>A list of email addresses and phone numbers that the DDoS Response Team (DRT)
* can use to contact you if you have proactive engagement enabled, for escalations
* to the DRT and to initiate proactive customer support.</p> <p>If you have
* proactive engagement enabled, the contact list must include at least one phone
* number.</p>
*/
inline void SetEmergencyContactList(Aws::Vector<EmergencyContact>&& value) { m_emergencyContactListHasBeenSet = true; m_emergencyContactList = std::move(value); }
/**
* <p>A list of email addresses and phone numbers that the DDoS Response Team (DRT)
* can use to contact you if you have proactive engagement enabled, for escalations
* to the DRT and to initiate proactive customer support.</p> <p>If you have
* proactive engagement enabled, the contact list must include at least one phone
* number.</p>
*/
inline UpdateEmergencyContactSettingsRequest& WithEmergencyContactList(const Aws::Vector<EmergencyContact>& value) { SetEmergencyContactList(value); return *this;}
/**
* <p>A list of email addresses and phone numbers that the DDoS Response Team (DRT)
* can use to contact you if you have proactive engagement enabled, for escalations
* to the DRT and to initiate proactive customer support.</p> <p>If you have
* proactive engagement enabled, the contact list must include at least one phone
* number.</p>
*/
inline UpdateEmergencyContactSettingsRequest& WithEmergencyContactList(Aws::Vector<EmergencyContact>&& value) { SetEmergencyContactList(std::move(value)); return *this;}
/**
* <p>A list of email addresses and phone numbers that the DDoS Response Team (DRT)
* can use to contact you if you have proactive engagement enabled, for escalations
* to the DRT and to initiate proactive customer support.</p> <p>If you have
* proactive engagement enabled, the contact list must include at least one phone
* number.</p>
*/
inline UpdateEmergencyContactSettingsRequest& AddEmergencyContactList(const EmergencyContact& value) { m_emergencyContactListHasBeenSet = true; m_emergencyContactList.push_back(value); return *this; }
/**
* <p>A list of email addresses and phone numbers that the DDoS Response Team (DRT)
* can use to contact you if you have proactive engagement enabled, for escalations
* to the DRT and to initiate proactive customer support.</p> <p>If you have
* proactive engagement enabled, the contact list must include at least one phone
* number.</p>
*/
inline UpdateEmergencyContactSettingsRequest& AddEmergencyContactList(EmergencyContact&& value) { m_emergencyContactListHasBeenSet = true; m_emergencyContactList.push_back(std::move(value)); return *this; }
private:
Aws::Vector<EmergencyContact> m_emergencyContactList;
bool m_emergencyContactListHasBeenSet;
};
} // namespace Model
} // namespace Shield
} // namespace Aws