AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
AssociateProactiveEngagementDetailsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/shield/ShieldRequest.h>
9#include <aws/shield/Shield_EXPORTS.h>
10#include <aws/shield/model/EmergencyContact.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Shield {
16namespace Model {
17
21 public:
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "AssociateProactiveEngagementDetails"; }
29
30 AWS_SHIELD_API Aws::String SerializePayload() const override;
31
33
35
45 inline const Aws::Vector<EmergencyContact>& GetEmergencyContactList() const { return m_emergencyContactList; }
46 inline bool EmergencyContactListHasBeenSet() const { return m_emergencyContactListHasBeenSet; }
47 template <typename EmergencyContactListT = Aws::Vector<EmergencyContact>>
48 void SetEmergencyContactList(EmergencyContactListT&& value) {
49 m_emergencyContactListHasBeenSet = true;
50 m_emergencyContactList = std::forward<EmergencyContactListT>(value);
51 }
52 template <typename EmergencyContactListT = Aws::Vector<EmergencyContact>>
54 SetEmergencyContactList(std::forward<EmergencyContactListT>(value));
55 return *this;
56 }
57 template <typename EmergencyContactListT = EmergencyContact>
59 m_emergencyContactListHasBeenSet = true;
60 m_emergencyContactList.emplace_back(std::forward<EmergencyContactListT>(value));
61 return *this;
62 }
64 private:
65 Aws::Vector<EmergencyContact> m_emergencyContactList;
66 bool m_emergencyContactListHasBeenSet = false;
67};
68
69} // namespace Model
70} // namespace Shield
71} // namespace Aws
AWS_SHIELD_API Aws::String SerializePayload() const override
AWS_SHIELD_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AssociateProactiveEngagementDetailsRequest & AddEmergencyContactList(EmergencyContactListT &&value)
AssociateProactiveEngagementDetailsRequest & WithEmergencyContactList(EmergencyContactListT &&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