AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateEmergencyContactSettingsRequest.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 "UpdateEmergencyContactSettings"; }
32
33 AWS_SHIELD_API Aws::String SerializePayload() const override;
34
36
37
39
46 inline const Aws::Vector<EmergencyContact>& GetEmergencyContactList() const{ return m_emergencyContactList; }
47 inline bool EmergencyContactListHasBeenSet() const { return m_emergencyContactListHasBeenSet; }
48 inline void SetEmergencyContactList(const Aws::Vector<EmergencyContact>& value) { m_emergencyContactListHasBeenSet = true; m_emergencyContactList = value; }
49 inline void SetEmergencyContactList(Aws::Vector<EmergencyContact>&& value) { m_emergencyContactListHasBeenSet = true; m_emergencyContactList = std::move(value); }
52 inline UpdateEmergencyContactSettingsRequest& AddEmergencyContactList(const EmergencyContact& value) { m_emergencyContactListHasBeenSet = true; m_emergencyContactList.push_back(value); return *this; }
53 inline UpdateEmergencyContactSettingsRequest& AddEmergencyContactList(EmergencyContact&& value) { m_emergencyContactListHasBeenSet = true; m_emergencyContactList.push_back(std::move(value)); return *this; }
55 private:
56
57 Aws::Vector<EmergencyContact> m_emergencyContactList;
58 bool m_emergencyContactListHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace Shield
63} // namespace Aws
AWS_SHIELD_API Aws::String SerializePayload() const override
UpdateEmergencyContactSettingsRequest & AddEmergencyContactList(EmergencyContact &&value)
UpdateEmergencyContactSettingsRequest & WithEmergencyContactList(Aws::Vector< EmergencyContact > &&value)
UpdateEmergencyContactSettingsRequest & AddEmergencyContactList(const EmergencyContact &value)
UpdateEmergencyContactSettingsRequest & WithEmergencyContactList(const Aws::Vector< EmergencyContact > &value)
AWS_SHIELD_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetEmergencyContactList(const Aws::Vector< 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