7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
9#include <aws/partnercentral-selling/model/EngagementCustomer.h>
10#include <aws/partnercentral-selling/model/ProjectDetails.h>
11#include <aws/partnercentral-selling/model/ReceiverResponsibility.h>
12#include <aws/partnercentral-selling/model/SenderContact.h>
23namespace PartnerCentralSelling {
47 template <
typename SenderContactsT = Aws::Vector<SenderContact>>
49 m_senderContactsHasBeenSet =
true;
50 m_senderContacts = std::forward<SenderContactsT>(value);
52 template <
typename SenderContactsT = Aws::Vector<SenderContact>>
57 template <
typename SenderContactsT = SenderContact>
59 m_senderContactsHasBeenSet =
true;
60 m_senderContacts.emplace_back(std::forward<SenderContactsT>(value));
72 template <
typename ReceiverResponsibilitiesT = Aws::Vector<ReceiverResponsibility>>
74 m_receiverResponsibilitiesHasBeenSet =
true;
75 m_receiverResponsibilities = std::forward<ReceiverResponsibilitiesT>(value);
77 template <
typename ReceiverResponsibilitiesT = Aws::Vector<ReceiverResponsibility>>
83 m_receiverResponsibilitiesHasBeenSet =
true;
84 m_receiverResponsibilities.push_back(value);
97 template <
typename CustomerT = EngagementCustomer>
99 m_customerHasBeenSet =
true;
100 m_customer = std::forward<CustomerT>(value);
102 template <
typename CustomerT = EngagementCustomer>
116 template <
typename ProjectT = ProjectDetails>
118 m_projectHasBeenSet =
true;
119 m_project = std::forward<ProjectT>(value);
121 template <
typename ProjectT = ProjectDetails>
135 bool m_senderContactsHasBeenSet =
false;
136 bool m_receiverResponsibilitiesHasBeenSet =
false;
137 bool m_customerHasBeenSet =
false;
138 bool m_projectHasBeenSet =
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