AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EmergencyContact.h
1
6#pragma once
7#include <aws/shield/Shield_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Shield
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_SHIELD_API EmergencyContact();
39 AWS_SHIELD_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetEmailAddress() const{ return m_emailAddress; }
47 inline bool EmailAddressHasBeenSet() const { return m_emailAddressHasBeenSet; }
48 inline void SetEmailAddress(const Aws::String& value) { m_emailAddressHasBeenSet = true; m_emailAddress = value; }
49 inline void SetEmailAddress(Aws::String&& value) { m_emailAddressHasBeenSet = true; m_emailAddress = std::move(value); }
50 inline void SetEmailAddress(const char* value) { m_emailAddressHasBeenSet = true; m_emailAddress.assign(value); }
51 inline EmergencyContact& WithEmailAddress(const Aws::String& value) { SetEmailAddress(value); return *this;}
52 inline EmergencyContact& WithEmailAddress(Aws::String&& value) { SetEmailAddress(std::move(value)); return *this;}
53 inline EmergencyContact& WithEmailAddress(const char* value) { SetEmailAddress(value); return *this;}
55
57
60 inline const Aws::String& GetPhoneNumber() const{ return m_phoneNumber; }
61 inline bool PhoneNumberHasBeenSet() const { return m_phoneNumberHasBeenSet; }
62 inline void SetPhoneNumber(const Aws::String& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = value; }
63 inline void SetPhoneNumber(Aws::String&& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = std::move(value); }
64 inline void SetPhoneNumber(const char* value) { m_phoneNumberHasBeenSet = true; m_phoneNumber.assign(value); }
65 inline EmergencyContact& WithPhoneNumber(const Aws::String& value) { SetPhoneNumber(value); return *this;}
66 inline EmergencyContact& WithPhoneNumber(Aws::String&& value) { SetPhoneNumber(std::move(value)); return *this;}
67 inline EmergencyContact& WithPhoneNumber(const char* value) { SetPhoneNumber(value); return *this;}
69
71
74 inline const Aws::String& GetContactNotes() const{ return m_contactNotes; }
75 inline bool ContactNotesHasBeenSet() const { return m_contactNotesHasBeenSet; }
76 inline void SetContactNotes(const Aws::String& value) { m_contactNotesHasBeenSet = true; m_contactNotes = value; }
77 inline void SetContactNotes(Aws::String&& value) { m_contactNotesHasBeenSet = true; m_contactNotes = std::move(value); }
78 inline void SetContactNotes(const char* value) { m_contactNotesHasBeenSet = true; m_contactNotes.assign(value); }
79 inline EmergencyContact& WithContactNotes(const Aws::String& value) { SetContactNotes(value); return *this;}
80 inline EmergencyContact& WithContactNotes(Aws::String&& value) { SetContactNotes(std::move(value)); return *this;}
81 inline EmergencyContact& WithContactNotes(const char* value) { SetContactNotes(value); return *this;}
83 private:
84
85 Aws::String m_emailAddress;
86 bool m_emailAddressHasBeenSet = false;
87
88 Aws::String m_phoneNumber;
89 bool m_phoneNumberHasBeenSet = false;
90
91 Aws::String m_contactNotes;
92 bool m_contactNotesHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace Shield
97} // namespace Aws
EmergencyContact & WithEmailAddress(const char *value)
void SetContactNotes(const Aws::String &value)
const Aws::String & GetEmailAddress() const
const Aws::String & GetPhoneNumber() const
void SetPhoneNumber(const char *value)
EmergencyContact & WithPhoneNumber(Aws::String &&value)
AWS_SHIELD_API EmergencyContact(Aws::Utils::Json::JsonView jsonValue)
EmergencyContact & WithEmailAddress(const Aws::String &value)
void SetContactNotes(const char *value)
void SetEmailAddress(const char *value)
void SetContactNotes(Aws::String &&value)
EmergencyContact & WithEmailAddress(Aws::String &&value)
AWS_SHIELD_API Aws::Utils::Json::JsonValue Jsonize() const
EmergencyContact & WithContactNotes(Aws::String &&value)
EmergencyContact & WithPhoneNumber(const Aws::String &value)
EmergencyContact & WithPhoneNumber(const char *value)
const Aws::String & GetContactNotes() const
void SetPhoneNumber(const Aws::String &value)
void SetEmailAddress(const Aws::String &value)
EmergencyContact & WithContactNotes(const char *value)
EmergencyContact & WithContactNotes(const Aws::String &value)
void SetPhoneNumber(Aws::String &&value)
AWS_SHIELD_API EmergencyContact & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEmailAddress(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue