AWS SDK for C++  1.9.109
AWS SDK for C++
ListEngagementsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace SSMContacts
16 {
17 namespace 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 "ListEngagements"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
41  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
42 
46  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
47 
51  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
52 
56  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
57 
61  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
62 
66  inline ListEngagementsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
67 
71  inline ListEngagementsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
72 
76  inline ListEngagementsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
77 
78 
82  inline int GetMaxResults() const{ return m_maxResults; }
83 
87  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
88 
92  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
93 
97  inline ListEngagementsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
98 
99 
104  inline const Aws::String& GetIncidentId() const{ return m_incidentId; }
105 
110  inline bool IncidentIdHasBeenSet() const { return m_incidentIdHasBeenSet; }
111 
116  inline void SetIncidentId(const Aws::String& value) { m_incidentIdHasBeenSet = true; m_incidentId = value; }
117 
122  inline void SetIncidentId(Aws::String&& value) { m_incidentIdHasBeenSet = true; m_incidentId = std::move(value); }
123 
128  inline void SetIncidentId(const char* value) { m_incidentIdHasBeenSet = true; m_incidentId.assign(value); }
129 
134  inline ListEngagementsRequest& WithIncidentId(const Aws::String& value) { SetIncidentId(value); return *this;}
135 
140  inline ListEngagementsRequest& WithIncidentId(Aws::String&& value) { SetIncidentId(std::move(value)); return *this;}
141 
146  inline ListEngagementsRequest& WithIncidentId(const char* value) { SetIncidentId(value); return *this;}
147 
148 
152  inline const TimeRange& GetTimeRangeValue() const{ return m_timeRangeValue; }
153 
157  inline bool TimeRangeValueHasBeenSet() const { return m_timeRangeValueHasBeenSet; }
158 
162  inline void SetTimeRangeValue(const TimeRange& value) { m_timeRangeValueHasBeenSet = true; m_timeRangeValue = value; }
163 
167  inline void SetTimeRangeValue(TimeRange&& value) { m_timeRangeValueHasBeenSet = true; m_timeRangeValue = std::move(value); }
168 
172  inline ListEngagementsRequest& WithTimeRangeValue(const TimeRange& value) { SetTimeRangeValue(value); return *this;}
173 
177  inline ListEngagementsRequest& WithTimeRangeValue(TimeRange&& value) { SetTimeRangeValue(std::move(value)); return *this;}
178 
179  private:
180 
181  Aws::String m_nextToken;
182  bool m_nextTokenHasBeenSet;
183 
184  int m_maxResults;
185  bool m_maxResultsHasBeenSet;
186 
187  Aws::String m_incidentId;
188  bool m_incidentIdHasBeenSet;
189 
190  TimeRange m_timeRangeValue;
191  bool m_timeRangeValueHasBeenSet;
192  };
193 
194 } // namespace Model
195 } // namespace SSMContacts
196 } // namespace Aws
Aws::SSMContacts::Model::ListEngagementsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SSMContacts::Model::TimeRange
Definition: TimeRange.h:32
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SSMContacts::Model::ListEngagementsRequest
Definition: ListEngagementsRequest.h:23
Aws::SSMContacts::Model::ListEngagementsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListEngagementsRequest.h:82
Aws::SSMContacts::Model::ListEngagementsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListEngagementsRequest.h:56
Aws::SSMContacts::Model::ListEngagementsRequest::TimeRangeValueHasBeenSet
bool TimeRangeValueHasBeenSet() const
Definition: ListEngagementsRequest.h:157
Aws::SSMContacts::Model::ListEngagementsRequest::ListEngagementsRequest
ListEngagementsRequest()
Aws::SSMContacts::Model::ListEngagementsRequest::WithIncidentId
ListEngagementsRequest & WithIncidentId(const Aws::String &value)
Definition: ListEngagementsRequest.h:134
Aws::SSMContacts::Model::ListEngagementsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListEngagementsRequest.h:61
Aws::SSMContacts::Model::ListEngagementsRequest::SetTimeRangeValue
void SetTimeRangeValue(TimeRange &&value)
Definition: ListEngagementsRequest.h:167
Aws::SSMContacts::Model::ListEngagementsRequest::SetIncidentId
void SetIncidentId(const char *value)
Definition: ListEngagementsRequest.h:128
Aws::SSMContacts::Model::ListEngagementsRequest::IncidentIdHasBeenSet
bool IncidentIdHasBeenSet() const
Definition: ListEngagementsRequest.h:110
Aws::SSMContacts::Model::ListEngagementsRequest::WithNextToken
ListEngagementsRequest & WithNextToken(Aws::String &&value)
Definition: ListEngagementsRequest.h:71
Aws::SSMContacts::Model::ListEngagementsRequest::WithNextToken
ListEngagementsRequest & WithNextToken(const Aws::String &value)
Definition: ListEngagementsRequest.h:66
Aws::SSMContacts::Model::ListEngagementsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListEngagementsRequest.h:41
Aws::SSMContacts::Model::ListEngagementsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListEngagementsRequest.h:51
SSMContacts_EXPORTS.h
Aws::SSMContacts::Model::ListEngagementsRequest::WithIncidentId
ListEngagementsRequest & WithIncidentId(Aws::String &&value)
Definition: ListEngagementsRequest.h:140
Aws::SSMContacts::Model::ListEngagementsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListEngagementsRequest.h:92
TimeRange.h
Aws::SSMContacts::Model::ListEngagementsRequest::WithTimeRangeValue
ListEngagementsRequest & WithTimeRangeValue(const TimeRange &value)
Definition: ListEngagementsRequest.h:172
AWSString.h
SSMContactsRequest.h
Aws::SSMContacts::Model::ListEngagementsRequest::WithMaxResults
ListEngagementsRequest & WithMaxResults(int value)
Definition: ListEngagementsRequest.h:97
Aws::SSMContacts::Model::ListEngagementsRequest::SetTimeRangeValue
void SetTimeRangeValue(const TimeRange &value)
Definition: ListEngagementsRequest.h:162
Aws::SSMContacts::Model::ListEngagementsRequest::WithTimeRangeValue
ListEngagementsRequest & WithTimeRangeValue(TimeRange &&value)
Definition: ListEngagementsRequest.h:177
Aws::SSMContacts::Model::ListEngagementsRequest::GetTimeRangeValue
const TimeRange & GetTimeRangeValue() const
Definition: ListEngagementsRequest.h:152
Aws::SSMContacts::Model::ListEngagementsRequest::WithNextToken
ListEngagementsRequest & WithNextToken(const char *value)
Definition: ListEngagementsRequest.h:76
Aws::SSMContacts::Model::ListEngagementsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListEngagementsRequest.h:31
Aws
Definition: AccessManagementClient.h:15
Aws::SSMContacts::Model::ListEngagementsRequest::GetIncidentId
const Aws::String & GetIncidentId() const
Definition: ListEngagementsRequest.h:104
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_SSMCONTACTS_API
#define AWS_SSMCONTACTS_API
Definition: SSMContacts_EXPORTS.h:28
Aws::SSMContacts::Model::ListEngagementsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListEngagementsRequest.h:46
Aws::SSMContacts::Model::ListEngagementsRequest::WithIncidentId
ListEngagementsRequest & WithIncidentId(const char *value)
Definition: ListEngagementsRequest.h:146
Aws::SSMContacts::SSMContactsRequest
Definition: SSMContactsRequest.h:17
Aws::SSMContacts::Model::ListEngagementsRequest::SetIncidentId
void SetIncidentId(Aws::String &&value)
Definition: ListEngagementsRequest.h:122
Aws::SSMContacts::Model::ListEngagementsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListEngagementsRequest.h:87
Aws::SSMContacts::Model::ListEngagementsRequest::SetIncidentId
void SetIncidentId(const Aws::String &value)
Definition: ListEngagementsRequest.h:116
Aws::SSMContacts::Model::ListEngagementsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override