AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListEngagementInvitationsRequest.h
1
6#pragma once
7#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
8#include <aws/partnercentral-selling/PartnerCentralSellingRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/partnercentral-selling/model/ParticipantType.h>
12#include <aws/partnercentral-selling/model/OpportunityEngagementInvitationSort.h>
13#include <aws/partnercentral-selling/model/EngagementInvitationPayloadType.h>
14#include <aws/partnercentral-selling/model/InvitationStatus.h>
15#include <utility>
16
17namespace Aws
18{
19namespace PartnerCentralSelling
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_PARTNERCENTRALSELLING_API ListEngagementInvitationsRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "ListEngagementInvitations"; }
36
37 AWS_PARTNERCENTRALSELLING_API Aws::String SerializePayload() const override;
38
39 AWS_PARTNERCENTRALSELLING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
40
41
43
48 inline const Aws::String& GetCatalog() const { return m_catalog; }
49 inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; }
50 template<typename CatalogT = Aws::String>
51 void SetCatalog(CatalogT&& value) { m_catalogHasBeenSet = true; m_catalog = std::forward<CatalogT>(value); }
52 template<typename CatalogT = Aws::String>
53 ListEngagementInvitationsRequest& WithCatalog(CatalogT&& value) { SetCatalog(std::forward<CatalogT>(value)); return *this;}
55
57
64 inline const Aws::Vector<Aws::String>& GetEngagementIdentifier() const { return m_engagementIdentifier; }
65 inline bool EngagementIdentifierHasBeenSet() const { return m_engagementIdentifierHasBeenSet; }
66 template<typename EngagementIdentifierT = Aws::Vector<Aws::String>>
67 void SetEngagementIdentifier(EngagementIdentifierT&& value) { m_engagementIdentifierHasBeenSet = true; m_engagementIdentifier = std::forward<EngagementIdentifierT>(value); }
68 template<typename EngagementIdentifierT = Aws::Vector<Aws::String>>
69 ListEngagementInvitationsRequest& WithEngagementIdentifier(EngagementIdentifierT&& value) { SetEngagementIdentifier(std::forward<EngagementIdentifierT>(value)); return *this;}
70 template<typename EngagementIdentifierT = Aws::String>
71 ListEngagementInvitationsRequest& AddEngagementIdentifier(EngagementIdentifierT&& value) { m_engagementIdentifierHasBeenSet = true; m_engagementIdentifier.emplace_back(std::forward<EngagementIdentifierT>(value)); return *this; }
73
75
80 inline int GetMaxResults() const { return m_maxResults; }
81 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
82 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
83 inline ListEngagementInvitationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
85
87
92 inline const Aws::String& GetNextToken() const { return m_nextToken; }
93 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
94 template<typename NextTokenT = Aws::String>
95 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
96 template<typename NextTokenT = Aws::String>
97 ListEngagementInvitationsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
99
101
105 inline ParticipantType GetParticipantType() const { return m_participantType; }
106 inline bool ParticipantTypeHasBeenSet() const { return m_participantTypeHasBeenSet; }
107 inline void SetParticipantType(ParticipantType value) { m_participantTypeHasBeenSet = true; m_participantType = value; }
110
112
117 inline const Aws::Vector<EngagementInvitationPayloadType>& GetPayloadType() const { return m_payloadType; }
118 inline bool PayloadTypeHasBeenSet() const { return m_payloadTypeHasBeenSet; }
119 template<typename PayloadTypeT = Aws::Vector<EngagementInvitationPayloadType>>
120 void SetPayloadType(PayloadTypeT&& value) { m_payloadTypeHasBeenSet = true; m_payloadType = std::forward<PayloadTypeT>(value); }
121 template<typename PayloadTypeT = Aws::Vector<EngagementInvitationPayloadType>>
122 ListEngagementInvitationsRequest& WithPayloadType(PayloadTypeT&& value) { SetPayloadType(std::forward<PayloadTypeT>(value)); return *this;}
123 inline ListEngagementInvitationsRequest& AddPayloadType(EngagementInvitationPayloadType value) { m_payloadTypeHasBeenSet = true; m_payloadType.push_back(value); return *this; }
125
127
130 inline const Aws::Vector<Aws::String>& GetSenderAwsAccountId() const { return m_senderAwsAccountId; }
131 inline bool SenderAwsAccountIdHasBeenSet() const { return m_senderAwsAccountIdHasBeenSet; }
132 template<typename SenderAwsAccountIdT = Aws::Vector<Aws::String>>
133 void SetSenderAwsAccountId(SenderAwsAccountIdT&& value) { m_senderAwsAccountIdHasBeenSet = true; m_senderAwsAccountId = std::forward<SenderAwsAccountIdT>(value); }
134 template<typename SenderAwsAccountIdT = Aws::Vector<Aws::String>>
135 ListEngagementInvitationsRequest& WithSenderAwsAccountId(SenderAwsAccountIdT&& value) { SetSenderAwsAccountId(std::forward<SenderAwsAccountIdT>(value)); return *this;}
136 template<typename SenderAwsAccountIdT = Aws::String>
137 ListEngagementInvitationsRequest& AddSenderAwsAccountId(SenderAwsAccountIdT&& value) { m_senderAwsAccountIdHasBeenSet = true; m_senderAwsAccountId.emplace_back(std::forward<SenderAwsAccountIdT>(value)); return *this; }
139
141
146 inline const OpportunityEngagementInvitationSort& GetSort() const { return m_sort; }
147 inline bool SortHasBeenSet() const { return m_sortHasBeenSet; }
148 template<typename SortT = OpportunityEngagementInvitationSort>
149 void SetSort(SortT&& value) { m_sortHasBeenSet = true; m_sort = std::forward<SortT>(value); }
150 template<typename SortT = OpportunityEngagementInvitationSort>
151 ListEngagementInvitationsRequest& WithSort(SortT&& value) { SetSort(std::forward<SortT>(value)); return *this;}
153
155
158 inline const Aws::Vector<InvitationStatus>& GetStatus() const { return m_status; }
159 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
160 template<typename StatusT = Aws::Vector<InvitationStatus>>
161 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
162 template<typename StatusT = Aws::Vector<InvitationStatus>>
163 ListEngagementInvitationsRequest& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
164 inline ListEngagementInvitationsRequest& AddStatus(InvitationStatus value) { m_statusHasBeenSet = true; m_status.push_back(value); return *this; }
166 private:
167
168 Aws::String m_catalog;
169 bool m_catalogHasBeenSet = false;
170
171 Aws::Vector<Aws::String> m_engagementIdentifier;
172 bool m_engagementIdentifierHasBeenSet = false;
173
174 int m_maxResults{0};
175 bool m_maxResultsHasBeenSet = false;
176
177 Aws::String m_nextToken;
178 bool m_nextTokenHasBeenSet = false;
179
180 ParticipantType m_participantType{ParticipantType::NOT_SET};
181 bool m_participantTypeHasBeenSet = false;
182
184 bool m_payloadTypeHasBeenSet = false;
185
186 Aws::Vector<Aws::String> m_senderAwsAccountId;
187 bool m_senderAwsAccountIdHasBeenSet = false;
188
189 OpportunityEngagementInvitationSort m_sort;
190 bool m_sortHasBeenSet = false;
191
193 bool m_statusHasBeenSet = false;
194 };
195
196} // namespace Model
197} // namespace PartnerCentralSelling
198} // namespace Aws
ListEngagementInvitationsRequest & WithPayloadType(PayloadTypeT &&value)
const Aws::Vector< EngagementInvitationPayloadType > & GetPayloadType() const
ListEngagementInvitationsRequest & AddEngagementIdentifier(EngagementIdentifierT &&value)
AWS_PARTNERCENTRALSELLING_API Aws::String SerializePayload() const override
AWS_PARTNERCENTRALSELLING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListEngagementInvitationsRequest & AddPayloadType(EngagementInvitationPayloadType value)
AWS_PARTNERCENTRALSELLING_API ListEngagementInvitationsRequest()=default
ListEngagementInvitationsRequest & WithEngagementIdentifier(EngagementIdentifierT &&value)
ListEngagementInvitationsRequest & WithSenderAwsAccountId(SenderAwsAccountIdT &&value)
ListEngagementInvitationsRequest & AddStatus(InvitationStatus value)
ListEngagementInvitationsRequest & WithParticipantType(ParticipantType value)
ListEngagementInvitationsRequest & AddSenderAwsAccountId(SenderAwsAccountIdT &&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