AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssociateProactiveEngagementDetailsRequest.h
1
6#pragma once
7#include <aws/shield/Shield_EXPORTS.h>
8#include <aws/shield/ShieldRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/shield/model/EmergencyContact.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Shield
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "AssociateProactiveEngagementDetails"; }
32
33 AWS_SHIELD_API Aws::String SerializePayload() const override;
34
36
37
39
49 inline const Aws::Vector<EmergencyContact>& GetEmergencyContactList() const{ return m_emergencyContactList; }
50 inline bool EmergencyContactListHasBeenSet() const { return m_emergencyContactListHasBeenSet; }
51 inline void SetEmergencyContactList(const Aws::Vector<EmergencyContact>& value) { m_emergencyContactListHasBeenSet = true; m_emergencyContactList = value; }
52 inline void SetEmergencyContactList(Aws::Vector<EmergencyContact>&& value) { m_emergencyContactListHasBeenSet = true; m_emergencyContactList = std::move(value); }
55 inline AssociateProactiveEngagementDetailsRequest& AddEmergencyContactList(const EmergencyContact& value) { m_emergencyContactListHasBeenSet = true; m_emergencyContactList.push_back(value); return *this; }
56 inline AssociateProactiveEngagementDetailsRequest& AddEmergencyContactList(EmergencyContact&& value) { m_emergencyContactListHasBeenSet = true; m_emergencyContactList.push_back(std::move(value)); return *this; }
58 private:
59
60 Aws::Vector<EmergencyContact> m_emergencyContactList;
61 bool m_emergencyContactListHasBeenSet = false;
62 };
63
64} // namespace Model
65} // namespace Shield
66} // namespace Aws
AssociateProactiveEngagementDetailsRequest & WithEmergencyContactList(Aws::Vector< EmergencyContact > &&value)
AssociateProactiveEngagementDetailsRequest & AddEmergencyContactList(EmergencyContact &&value)
AWS_SHIELD_API Aws::String SerializePayload() const override
AWS_SHIELD_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AssociateProactiveEngagementDetailsRequest & WithEmergencyContactList(const Aws::Vector< EmergencyContact > &value)
AssociateProactiveEngagementDetailsRequest & AddEmergencyContactList(const EmergencyContact &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector