AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartEngagementRequest.h
1
6#pragma once
7#include <aws/ssm-contacts/SSMContacts_EXPORTS.h>
8#include <aws/ssm-contacts/SSMContactsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11#include <aws/core/utils/UUID.h>
12
13namespace Aws
14{
15namespace SSMContacts
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_SSMCONTACTS_API StartEngagementRequest();
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 "StartEngagement"; }
32
33 AWS_SSMCONTACTS_API Aws::String SerializePayload() const override;
34
35 AWS_SSMCONTACTS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
42 inline const Aws::String& GetContactId() const{ return m_contactId; }
43 inline bool ContactIdHasBeenSet() const { return m_contactIdHasBeenSet; }
44 inline void SetContactId(const Aws::String& value) { m_contactIdHasBeenSet = true; m_contactId = value; }
45 inline void SetContactId(Aws::String&& value) { m_contactIdHasBeenSet = true; m_contactId = std::move(value); }
46 inline void SetContactId(const char* value) { m_contactIdHasBeenSet = true; m_contactId.assign(value); }
47 inline StartEngagementRequest& WithContactId(const Aws::String& value) { SetContactId(value); return *this;}
48 inline StartEngagementRequest& WithContactId(Aws::String&& value) { SetContactId(std::move(value)); return *this;}
49 inline StartEngagementRequest& WithContactId(const char* value) { SetContactId(value); return *this;}
51
53
56 inline const Aws::String& GetSender() const{ return m_sender; }
57 inline bool SenderHasBeenSet() const { return m_senderHasBeenSet; }
58 inline void SetSender(const Aws::String& value) { m_senderHasBeenSet = true; m_sender = value; }
59 inline void SetSender(Aws::String&& value) { m_senderHasBeenSet = true; m_sender = std::move(value); }
60 inline void SetSender(const char* value) { m_senderHasBeenSet = true; m_sender.assign(value); }
61 inline StartEngagementRequest& WithSender(const Aws::String& value) { SetSender(value); return *this;}
62 inline StartEngagementRequest& WithSender(Aws::String&& value) { SetSender(std::move(value)); return *this;}
63 inline StartEngagementRequest& WithSender(const char* value) { SetSender(value); return *this;}
65
67
71 inline const Aws::String& GetSubject() const{ return m_subject; }
72 inline bool SubjectHasBeenSet() const { return m_subjectHasBeenSet; }
73 inline void SetSubject(const Aws::String& value) { m_subjectHasBeenSet = true; m_subject = value; }
74 inline void SetSubject(Aws::String&& value) { m_subjectHasBeenSet = true; m_subject = std::move(value); }
75 inline void SetSubject(const char* value) { m_subjectHasBeenSet = true; m_subject.assign(value); }
76 inline StartEngagementRequest& WithSubject(const Aws::String& value) { SetSubject(value); return *this;}
77 inline StartEngagementRequest& WithSubject(Aws::String&& value) { SetSubject(std::move(value)); return *this;}
78 inline StartEngagementRequest& WithSubject(const char* value) { SetSubject(value); return *this;}
80
82
86 inline const Aws::String& GetContent() const{ return m_content; }
87 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
88 inline void SetContent(const Aws::String& value) { m_contentHasBeenSet = true; m_content = value; }
89 inline void SetContent(Aws::String&& value) { m_contentHasBeenSet = true; m_content = std::move(value); }
90 inline void SetContent(const char* value) { m_contentHasBeenSet = true; m_content.assign(value); }
91 inline StartEngagementRequest& WithContent(const Aws::String& value) { SetContent(value); return *this;}
92 inline StartEngagementRequest& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;}
93 inline StartEngagementRequest& WithContent(const char* value) { SetContent(value); return *this;}
95
97
101 inline const Aws::String& GetPublicSubject() const{ return m_publicSubject; }
102 inline bool PublicSubjectHasBeenSet() const { return m_publicSubjectHasBeenSet; }
103 inline void SetPublicSubject(const Aws::String& value) { m_publicSubjectHasBeenSet = true; m_publicSubject = value; }
104 inline void SetPublicSubject(Aws::String&& value) { m_publicSubjectHasBeenSet = true; m_publicSubject = std::move(value); }
105 inline void SetPublicSubject(const char* value) { m_publicSubjectHasBeenSet = true; m_publicSubject.assign(value); }
106 inline StartEngagementRequest& WithPublicSubject(const Aws::String& value) { SetPublicSubject(value); return *this;}
107 inline StartEngagementRequest& WithPublicSubject(Aws::String&& value) { SetPublicSubject(std::move(value)); return *this;}
108 inline StartEngagementRequest& WithPublicSubject(const char* value) { SetPublicSubject(value); return *this;}
110
112
116 inline const Aws::String& GetPublicContent() const{ return m_publicContent; }
117 inline bool PublicContentHasBeenSet() const { return m_publicContentHasBeenSet; }
118 inline void SetPublicContent(const Aws::String& value) { m_publicContentHasBeenSet = true; m_publicContent = value; }
119 inline void SetPublicContent(Aws::String&& value) { m_publicContentHasBeenSet = true; m_publicContent = std::move(value); }
120 inline void SetPublicContent(const char* value) { m_publicContentHasBeenSet = true; m_publicContent.assign(value); }
121 inline StartEngagementRequest& WithPublicContent(const Aws::String& value) { SetPublicContent(value); return *this;}
122 inline StartEngagementRequest& WithPublicContent(Aws::String&& value) { SetPublicContent(std::move(value)); return *this;}
123 inline StartEngagementRequest& WithPublicContent(const char* value) { SetPublicContent(value); return *this;}
125
127
130 inline const Aws::String& GetIncidentId() const{ return m_incidentId; }
131 inline bool IncidentIdHasBeenSet() const { return m_incidentIdHasBeenSet; }
132 inline void SetIncidentId(const Aws::String& value) { m_incidentIdHasBeenSet = true; m_incidentId = value; }
133 inline void SetIncidentId(Aws::String&& value) { m_incidentIdHasBeenSet = true; m_incidentId = std::move(value); }
134 inline void SetIncidentId(const char* value) { m_incidentIdHasBeenSet = true; m_incidentId.assign(value); }
135 inline StartEngagementRequest& WithIncidentId(const Aws::String& value) { SetIncidentId(value); return *this;}
136 inline StartEngagementRequest& WithIncidentId(Aws::String&& value) { SetIncidentId(std::move(value)); return *this;}
137 inline StartEngagementRequest& WithIncidentId(const char* value) { SetIncidentId(value); return *this;}
139
141
145 inline const Aws::String& GetIdempotencyToken() const{ return m_idempotencyToken; }
146 inline bool IdempotencyTokenHasBeenSet() const { return m_idempotencyTokenHasBeenSet; }
147 inline void SetIdempotencyToken(const Aws::String& value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken = value; }
148 inline void SetIdempotencyToken(Aws::String&& value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken = std::move(value); }
149 inline void SetIdempotencyToken(const char* value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken.assign(value); }
150 inline StartEngagementRequest& WithIdempotencyToken(const Aws::String& value) { SetIdempotencyToken(value); return *this;}
151 inline StartEngagementRequest& WithIdempotencyToken(Aws::String&& value) { SetIdempotencyToken(std::move(value)); return *this;}
152 inline StartEngagementRequest& WithIdempotencyToken(const char* value) { SetIdempotencyToken(value); return *this;}
154 private:
155
156 Aws::String m_contactId;
157 bool m_contactIdHasBeenSet = false;
158
159 Aws::String m_sender;
160 bool m_senderHasBeenSet = false;
161
162 Aws::String m_subject;
163 bool m_subjectHasBeenSet = false;
164
165 Aws::String m_content;
166 bool m_contentHasBeenSet = false;
167
168 Aws::String m_publicSubject;
169 bool m_publicSubjectHasBeenSet = false;
170
171 Aws::String m_publicContent;
172 bool m_publicContentHasBeenSet = false;
173
174 Aws::String m_incidentId;
175 bool m_incidentIdHasBeenSet = false;
176
177 Aws::String m_idempotencyToken;
178 bool m_idempotencyTokenHasBeenSet = false;
179 };
180
181} // namespace Model
182} // namespace SSMContacts
183} // namespace Aws
StartEngagementRequest & WithPublicContent(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
StartEngagementRequest & WithIdempotencyToken(const char *value)
StartEngagementRequest & WithIdempotencyToken(Aws::String &&value)
StartEngagementRequest & WithSubject(const char *value)
AWS_SSMCONTACTS_API Aws::String SerializePayload() const override
StartEngagementRequest & WithPublicSubject(const Aws::String &value)
StartEngagementRequest & WithContent(const Aws::String &value)
AWS_SSMCONTACTS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartEngagementRequest & WithPublicSubject(const char *value)
StartEngagementRequest & WithSubject(Aws::String &&value)
StartEngagementRequest & WithIncidentId(const Aws::String &value)
StartEngagementRequest & WithContent(const char *value)
StartEngagementRequest & WithSender(const char *value)
StartEngagementRequest & WithContactId(Aws::String &&value)
StartEngagementRequest & WithPublicSubject(Aws::String &&value)
StartEngagementRequest & WithContactId(const Aws::String &value)
StartEngagementRequest & WithSubject(const Aws::String &value)
StartEngagementRequest & WithPublicContent(Aws::String &&value)
StartEngagementRequest & WithIncidentId(Aws::String &&value)
StartEngagementRequest & WithSender(const Aws::String &value)
StartEngagementRequest & WithIncidentId(const char *value)
StartEngagementRequest & WithIdempotencyToken(const Aws::String &value)
StartEngagementRequest & WithPublicContent(const char *value)
StartEngagementRequest & WithSender(Aws::String &&value)
StartEngagementRequest & WithContactId(const char *value)
StartEngagementRequest & WithContent(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String