7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/partnercentral-selling/PartnerCentralSellingRequest.h>
11#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
12#include <aws/partnercentral-selling/model/Contact.h>
13#include <aws/partnercentral-selling/model/Customer.h>
14#include <aws/partnercentral-selling/model/LifeCycle.h>
15#include <aws/partnercentral-selling/model/Marketing.h>
16#include <aws/partnercentral-selling/model/NationalSecurity.h>
17#include <aws/partnercentral-selling/model/OpportunityOrigin.h>
18#include <aws/partnercentral-selling/model/OpportunityType.h>
19#include <aws/partnercentral-selling/model/PrimaryNeedFromAws.h>
20#include <aws/partnercentral-selling/model/Project.h>
21#include <aws/partnercentral-selling/model/SoftwareRevenue.h>
22#include <aws/partnercentral-selling/model/Tag.h>
27namespace PartnerCentralSelling {
56 template <
typename CatalogT = Aws::String>
58 m_catalogHasBeenSet =
true;
59 m_catalog = std::forward<CatalogT>(value);
61 template <
typename CatalogT = Aws::String>
93 template <
typename PrimaryNeedsFromAwsT = Aws::Vector<PrimaryNeedFromAws>>
95 m_primaryNeedsFromAwsHasBeenSet =
true;
96 m_primaryNeedsFromAws = std::forward<PrimaryNeedsFromAwsT>(value);
98 template <
typename PrimaryNeedsFromAwsT = Aws::Vector<PrimaryNeedFromAws>>
104 m_primaryNeedsFromAwsHasBeenSet =
true;
105 m_primaryNeedsFromAws.push_back(value);
121 m_nationalSecurityHasBeenSet =
true;
122 m_nationalSecurity = value;
141 template <
typename PartnerOpportunityIdentifierT = Aws::String>
143 m_partnerOpportunityIdentifierHasBeenSet =
true;
144 m_partnerOpportunityIdentifier = std::forward<PartnerOpportunityIdentifierT>(value);
146 template <
typename PartnerOpportunityIdentifierT = Aws::String>
159 template <
typename CustomerT = Customer>
161 m_customerHasBeenSet =
true;
162 m_customer = std::forward<CustomerT>(value);
164 template <
typename CustomerT = Customer>
177 template <
typename ProjectT = Project>
179 m_projectHasBeenSet =
true;
180 m_project = std::forward<ProjectT>(value);
182 template <
typename ProjectT = Project>
204 m_opportunityTypeHasBeenSet =
true;
205 m_opportunityType = value;
220 template <
typename MarketingT = Marketing>
222 m_marketingHasBeenSet =
true;
223 m_marketing = std::forward<MarketingT>(value);
225 template <
typename MarketingT = Marketing>
239 template <
typename SoftwareRevenueT = SoftwareRevenue>
241 m_softwareRevenueHasBeenSet =
true;
242 m_softwareRevenue = std::forward<SoftwareRevenueT>(value);
244 template <
typename SoftwareRevenueT = SoftwareRevenue>
263 template <
typename ClientTokenT = Aws::String>
265 m_clientTokenHasBeenSet =
true;
266 m_clientToken = std::forward<ClientTokenT>(value);
268 template <
typename ClientTokenT = Aws::String>
282 template <
typename LifeCycleT = LifeCycle>
284 m_lifeCycleHasBeenSet =
true;
285 m_lifeCycle = std::forward<LifeCycleT>(value);
287 template <
typename LifeCycleT = LifeCycle>
307 m_originHasBeenSet =
true;
323 template <
typename OpportunityTeamT = Aws::Vector<Contact>>
325 m_opportunityTeamHasBeenSet =
true;
326 m_opportunityTeam = std::forward<OpportunityTeamT>(value);
328 template <
typename OpportunityTeamT = Aws::Vector<Contact>>
333 template <
typename OpportunityTeamT = Contact>
335 m_opportunityTeamHasBeenSet =
true;
336 m_opportunityTeam.emplace_back(std::forward<OpportunityTeamT>(value));
347 template <
typename TagsT = Aws::Vector<Tag>>
349 m_tagsHasBeenSet =
true;
350 m_tags = std::forward<TagsT>(value);
352 template <
typename TagsT = Aws::Vector<Tag>>
354 SetTags(std::forward<TagsT>(value));
357 template <
typename TagsT = Tag>
359 m_tagsHasBeenSet =
true;
360 m_tags.emplace_back(std::forward<TagsT>(value));
379 Marketing m_marketing;
381 SoftwareRevenue m_softwareRevenue;
385 LifeCycle m_lifeCycle;
392 bool m_catalogHasBeenSet =
false;
393 bool m_primaryNeedsFromAwsHasBeenSet =
false;
394 bool m_nationalSecurityHasBeenSet =
false;
395 bool m_partnerOpportunityIdentifierHasBeenSet =
false;
396 bool m_customerHasBeenSet =
false;
397 bool m_projectHasBeenSet =
false;
398 bool m_opportunityTypeHasBeenSet =
false;
399 bool m_marketingHasBeenSet =
false;
400 bool m_softwareRevenueHasBeenSet =
false;
401 bool m_clientTokenHasBeenSet =
true;
402 bool m_lifeCycleHasBeenSet =
false;
403 bool m_originHasBeenSet =
false;
404 bool m_opportunityTeamHasBeenSet =
false;
405 bool m_tagsHasBeenSet =
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)
const Aws::Vector< Tag > & GetTags() const
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 & AddTags(TagsT &&value)
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 & WithTags(TagsT &&value)
void SetTags(TagsT &&value)
bool TagsHasBeenSet() 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