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/partnercentral-selling/model/Customer.h>
11#include <aws/partnercentral-selling/model/LifeCycle.h>
12#include <aws/partnercentral-selling/model/Marketing.h>
13#include <aws/partnercentral-selling/model/NationalSecurity.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/partnercentral-selling/model/OpportunityType.h>
16#include <aws/partnercentral-selling/model/OpportunityOrigin.h>
17#include <aws/partnercentral-selling/model/Project.h>
18#include <aws/partnercentral-selling/model/SoftwareRevenue.h>
19#include <aws/partnercentral-selling/model/Contact.h>
20#include <aws/partnercentral-selling/model/PrimaryNeedFromAws.h>
22#include <aws/core/utils/UUID.h>
26namespace PartnerCentralSelling
59 template<
typename CatalogT = Aws::String>
60 void SetCatalog(CatalogT&& value) { m_catalogHasBeenSet =
true; m_catalog = std::forward<CatalogT>(value); }
61 template<
typename CatalogT = Aws::String>
77 template<
typename ClientTokenT = Aws::String>
78 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
79 template<
typename ClientTokenT = Aws::String>
89 template<
typename CustomerT = Customer>
90 void SetCustomer(CustomerT&& value) { m_customerHasBeenSet =
true; m_customer = std::forward<CustomerT>(value); }
91 template<
typename CustomerT = Customer>
102 template<
typename LifeCycleT = LifeCycle>
103 void SetLifeCycle(LifeCycleT&& value) { m_lifeCycleHasBeenSet =
true; m_lifeCycle = std::forward<LifeCycleT>(value); }
104 template<
typename LifeCycleT = LifeCycle>
115 template<
typename MarketingT = Marketing>
116 void SetMarketing(MarketingT&& value) { m_marketingHasBeenSet =
true; m_marketing = std::forward<MarketingT>(value); }
117 template<
typename MarketingT = Marketing>
142 template<
typename OpportunityTeamT = Aws::Vector<Contact>>
143 void SetOpportunityTeam(OpportunityTeamT&& value) { m_opportunityTeamHasBeenSet =
true; m_opportunityTeam = std::forward<OpportunityTeamT>(value); }
144 template<
typename OpportunityTeamT = Aws::Vector<Contact>>
146 template<
typename OpportunityTeamT = Contact>
195 template<
typename PartnerOpportunityIdentifierT = Aws::String>
196 void SetPartnerOpportunityIdentifier(PartnerOpportunityIdentifierT&& value) { m_partnerOpportunityIdentifierHasBeenSet =
true; m_partnerOpportunityIdentifier = std::forward<PartnerOpportunityIdentifierT>(value); }
197 template<
typename PartnerOpportunityIdentifierT = Aws::String>
226 template<
typename PrimaryNeedsFromAwsT = Aws::Vector<PrimaryNeedFromAws>>
227 void SetPrimaryNeedsFromAws(PrimaryNeedsFromAwsT&& value) { m_primaryNeedsFromAwsHasBeenSet =
true; m_primaryNeedsFromAws = std::forward<PrimaryNeedsFromAwsT>(value); }
228 template<
typename PrimaryNeedsFromAwsT = Aws::Vector<PrimaryNeedFromAws>>
239 template<
typename ProjectT = Project>
240 void SetProject(ProjectT&& value) { m_projectHasBeenSet =
true; m_project = std::forward<ProjectT>(value); }
241 template<
typename ProjectT = Project>
252 template<
typename SoftwareRevenueT = SoftwareRevenue>
253 void SetSoftwareRevenue(SoftwareRevenueT&& value) { m_softwareRevenueHasBeenSet =
true; m_softwareRevenue = std::forward<SoftwareRevenueT>(value); }
254 template<
typename SoftwareRevenueT = SoftwareRevenue>
260 bool m_catalogHasBeenSet =
false;
263 bool m_clientTokenHasBeenSet =
true;
266 bool m_customerHasBeenSet =
false;
268 LifeCycle m_lifeCycle;
269 bool m_lifeCycleHasBeenSet =
false;
271 Marketing m_marketing;
272 bool m_marketingHasBeenSet =
false;
275 bool m_nationalSecurityHasBeenSet =
false;
278 bool m_opportunityTeamHasBeenSet =
false;
281 bool m_opportunityTypeHasBeenSet =
false;
284 bool m_originHasBeenSet =
false;
287 bool m_partnerOpportunityIdentifierHasBeenSet =
false;
290 bool m_primaryNeedsFromAwsHasBeenSet =
false;
293 bool m_projectHasBeenSet =
false;
295 SoftwareRevenue m_softwareRevenue;
296 bool m_softwareRevenueHasBeenSet =
false;
bool MarketingHasBeenSet() const
AWS_PARTNERCENTRALSELLING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateOpportunityRequest & AddPrimaryNeedsFromAws(PrimaryNeedFromAws value)
OpportunityType GetOpportunityType() const
bool CustomerHasBeenSet() const
void SetPrimaryNeedsFromAws(PrimaryNeedsFromAwsT &&value)
AWS_PARTNERCENTRALSELLING_API Aws::String SerializePayload() const override
bool NationalSecurityHasBeenSet() const
CreateOpportunityRequest & WithLifeCycle(LifeCycleT &&value)
void SetNationalSecurity(NationalSecurity value)
bool PartnerOpportunityIdentifierHasBeenSet() const
void SetLifeCycle(LifeCycleT &&value)
CreateOpportunityRequest & WithPrimaryNeedsFromAws(PrimaryNeedsFromAwsT &&value)
NationalSecurity GetNationalSecurity() const
CreateOpportunityRequest & WithOrigin(OpportunityOrigin value)
void SetOpportunityType(OpportunityType value)
CreateOpportunityRequest & WithOpportunityTeam(OpportunityTeamT &&value)
CreateOpportunityRequest & AddOpportunityTeam(OpportunityTeamT &&value)
CreateOpportunityRequest & WithNationalSecurity(NationalSecurity value)
CreateOpportunityRequest & WithMarketing(MarketingT &&value)
bool PrimaryNeedsFromAwsHasBeenSet() const
const Project & GetProject() const
void SetClientToken(ClientTokenT &&value)
bool OriginHasBeenSet() const
bool ProjectHasBeenSet() const
void SetCatalog(CatalogT &&value)
CreateOpportunityRequest & WithClientToken(ClientTokenT &&value)
const Aws::String & GetPartnerOpportunityIdentifier() const
void SetOrigin(OpportunityOrigin value)
bool OpportunityTypeHasBeenSet() const
const Customer & GetCustomer() const
const Aws::Vector< PrimaryNeedFromAws > & GetPrimaryNeedsFromAws() const
void SetMarketing(MarketingT &&value)
const SoftwareRevenue & GetSoftwareRevenue() const
OpportunityOrigin GetOrigin() const
CreateOpportunityRequest & WithOpportunityType(OpportunityType value)
CreateOpportunityRequest & WithPartnerOpportunityIdentifier(PartnerOpportunityIdentifierT &&value)
bool SoftwareRevenueHasBeenSet() const
void SetProject(ProjectT &&value)
bool OpportunityTeamHasBeenSet() const
bool LifeCycleHasBeenSet() const
bool CatalogHasBeenSet() const
const Marketing & GetMarketing() const
CreateOpportunityRequest & WithProject(ProjectT &&value)
AWS_PARTNERCENTRALSELLING_API CreateOpportunityRequest()=default
const Aws::String & GetCatalog() const
void SetOpportunityTeam(OpportunityTeamT &&value)
void SetPartnerOpportunityIdentifier(PartnerOpportunityIdentifierT &&value)
bool ClientTokenHasBeenSet() const
CreateOpportunityRequest & WithSoftwareRevenue(SoftwareRevenueT &&value)
void SetSoftwareRevenue(SoftwareRevenueT &&value)
void SetCustomer(CustomerT &&value)
const Aws::String & GetClientToken() const
virtual const char * GetServiceRequestName() const override
CreateOpportunityRequest & WithCustomer(CustomerT &&value)
const LifeCycle & GetLifeCycle() const
CreateOpportunityRequest & WithCatalog(CatalogT &&value)
const Aws::Vector< Contact > & GetOpportunityTeam() const
static Aws::Utils::UUID PseudoRandomUUID()
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