7#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
8#include <aws/partnercentral-selling/model/EngagementCustomer.h>
9#include <aws/partnercentral-selling/model/ProjectDetails.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/partnercentral-selling/model/ReceiverResponsibility.h>
12#include <aws/partnercentral-selling/model/SenderContact.h>
25namespace PartnerCentralSelling
54 template<
typename CustomerT = EngagementCustomer>
55 void SetCustomer(CustomerT&& value) { m_customerHasBeenSet =
true; m_customer = std::forward<CustomerT>(value); }
56 template<
typename CustomerT = EngagementCustomer>
67 template<
typename ProjectT = ProjectDetails>
68 void SetProject(ProjectT&& value) { m_projectHasBeenSet =
true; m_project = std::forward<ProjectT>(value); }
69 template<
typename ProjectT = ProjectDetails>
80 template<
typename ReceiverResponsibilitiesT = Aws::Vector<ReceiverResponsibility>>
81 void SetReceiverResponsibilities(ReceiverResponsibilitiesT&& value) { m_receiverResponsibilitiesHasBeenSet =
true; m_receiverResponsibilities = std::forward<ReceiverResponsibilitiesT>(value); }
82 template<
typename ReceiverResponsibilitiesT = Aws::Vector<ReceiverResponsibility>>
94 template<
typename SenderContactsT = Aws::Vector<SenderContact>>
95 void SetSenderContacts(SenderContactsT&& value) { m_senderContactsHasBeenSet =
true; m_senderContacts = std::forward<SenderContactsT>(value); }
96 template<
typename SenderContactsT = Aws::Vector<SenderContact>>
98 template<
typename SenderContactsT = SenderContact>
104 bool m_customerHasBeenSet =
false;
107 bool m_projectHasBeenSet =
false;
110 bool m_receiverResponsibilitiesHasBeenSet =
false;
113 bool m_senderContactsHasBeenSet =
false;
OpportunityInvitationPayload & AddSenderContacts(SenderContactsT &&value)
void SetProject(ProjectT &&value)
bool ProjectHasBeenSet() const
AWS_PARTNERCENTRALSELLING_API OpportunityInvitationPayload()=default
const ProjectDetails & GetProject() const
OpportunityInvitationPayload & WithSenderContacts(SenderContactsT &&value)
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
OpportunityInvitationPayload & WithCustomer(CustomerT &&value)
bool SenderContactsHasBeenSet() const
void SetCustomer(CustomerT &&value)
OpportunityInvitationPayload & WithProject(ProjectT &&value)
AWS_PARTNERCENTRALSELLING_API OpportunityInvitationPayload(Aws::Utils::Json::JsonView jsonValue)
const EngagementCustomer & GetCustomer() const
bool CustomerHasBeenSet() const
const Aws::Vector< ReceiverResponsibility > & GetReceiverResponsibilities() const
bool ReceiverResponsibilitiesHasBeenSet() const
AWS_PARTNERCENTRALSELLING_API OpportunityInvitationPayload & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSenderContacts(SenderContactsT &&value)
void SetReceiverResponsibilities(ReceiverResponsibilitiesT &&value)
const Aws::Vector< SenderContact > & GetSenderContacts() const
OpportunityInvitationPayload & AddReceiverResponsibilities(ReceiverResponsibility value)
OpportunityInvitationPayload & WithReceiverResponsibilities(ReceiverResponsibilitiesT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue