AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListEngagementsRequest.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 <aws/ssm-contacts/model/TimeRange.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SSMContacts
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_SSMCONTACTS_API ListEngagementsRequest();
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_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& GetNextToken() const{ return m_nextToken; }
43 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
44 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
45 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
46 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
47 inline ListEngagementsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
48 inline ListEngagementsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
49 inline ListEngagementsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
51
53
56 inline int GetMaxResults() const{ return m_maxResults; }
57 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
58 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
59 inline ListEngagementsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
61
63
67 inline const Aws::String& GetIncidentId() const{ return m_incidentId; }
68 inline bool IncidentIdHasBeenSet() const { return m_incidentIdHasBeenSet; }
69 inline void SetIncidentId(const Aws::String& value) { m_incidentIdHasBeenSet = true; m_incidentId = value; }
70 inline void SetIncidentId(Aws::String&& value) { m_incidentIdHasBeenSet = true; m_incidentId = std::move(value); }
71 inline void SetIncidentId(const char* value) { m_incidentIdHasBeenSet = true; m_incidentId.assign(value); }
72 inline ListEngagementsRequest& WithIncidentId(const Aws::String& value) { SetIncidentId(value); return *this;}
73 inline ListEngagementsRequest& WithIncidentId(Aws::String&& value) { SetIncidentId(std::move(value)); return *this;}
74 inline ListEngagementsRequest& WithIncidentId(const char* value) { SetIncidentId(value); return *this;}
76
78
81 inline const TimeRange& GetTimeRangeValue() const{ return m_timeRangeValue; }
82 inline bool TimeRangeValueHasBeenSet() const { return m_timeRangeValueHasBeenSet; }
83 inline void SetTimeRangeValue(const TimeRange& value) { m_timeRangeValueHasBeenSet = true; m_timeRangeValue = value; }
84 inline void SetTimeRangeValue(TimeRange&& value) { m_timeRangeValueHasBeenSet = true; m_timeRangeValue = std::move(value); }
85 inline ListEngagementsRequest& WithTimeRangeValue(const TimeRange& value) { SetTimeRangeValue(value); return *this;}
86 inline ListEngagementsRequest& WithTimeRangeValue(TimeRange&& value) { SetTimeRangeValue(std::move(value)); return *this;}
88 private:
89
90 Aws::String m_nextToken;
91 bool m_nextTokenHasBeenSet = false;
92
93 int m_maxResults;
94 bool m_maxResultsHasBeenSet = false;
95
96 Aws::String m_incidentId;
97 bool m_incidentIdHasBeenSet = false;
98
99 TimeRange m_timeRangeValue;
100 bool m_timeRangeValueHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace SSMContacts
105} // namespace Aws
virtual const char * GetServiceRequestName() const override
ListEngagementsRequest & WithTimeRangeValue(TimeRange &&value)
ListEngagementsRequest & WithIncidentId(const char *value)
ListEngagementsRequest & WithIncidentId(Aws::String &&value)
ListEngagementsRequest & WithIncidentId(const Aws::String &value)
ListEngagementsRequest & WithNextToken(const Aws::String &value)
ListEngagementsRequest & WithNextToken(Aws::String &&value)
ListEngagementsRequest & WithTimeRangeValue(const TimeRange &value)
AWS_SSMCONTACTS_API Aws::String SerializePayload() const override
ListEngagementsRequest & WithMaxResults(int value)
ListEngagementsRequest & WithNextToken(const char *value)
AWS_SSMCONTACTS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String