7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
9#include <aws/partnercentral-selling/model/Contact.h>
10#include <aws/partnercentral-selling/model/Customer.h>
11#include <aws/partnercentral-selling/model/LifeCycleForView.h>
12#include <aws/partnercentral-selling/model/OpportunityType.h>
13#include <aws/partnercentral-selling/model/PrimaryNeedFromAws.h>
14#include <aws/partnercentral-selling/model/ProjectView.h>
15#include <aws/partnercentral-selling/model/RelatedEntityIdentifiers.h>
26namespace PartnerCentralSelling {
50 m_opportunityTypeHasBeenSet =
true;
51 m_opportunityType = value;
67 template <
typename LifecycleT = LifeCycleForView>
69 m_lifecycleHasBeenSet =
true;
70 m_lifecycle = std::forward<LifecycleT>(value);
72 template <
typename LifecycleT = LifeCycleForView>
87 template <
typename OpportunityTeamT = Aws::Vector<Contact>>
89 m_opportunityTeamHasBeenSet =
true;
90 m_opportunityTeam = std::forward<OpportunityTeamT>(value);
92 template <
typename OpportunityTeamT = Aws::Vector<Contact>>
97 template <
typename OpportunityTeamT = Contact>
99 m_opportunityTeamHasBeenSet =
true;
100 m_opportunityTeam.emplace_back(std::forward<OpportunityTeamT>(value));
111 template <
typename PrimaryNeedsFromAwsT = Aws::Vector<PrimaryNeedFromAws>>
113 m_primaryNeedsFromAwsHasBeenSet =
true;
114 m_primaryNeedsFromAws = std::forward<PrimaryNeedsFromAwsT>(value);
116 template <
typename PrimaryNeedsFromAwsT = Aws::Vector<PrimaryNeedFromAws>>
122 m_primaryNeedsFromAwsHasBeenSet =
true;
123 m_primaryNeedsFromAws.push_back(value);
132 template <
typename CustomerT = Customer>
134 m_customerHasBeenSet =
true;
135 m_customer = std::forward<CustomerT>(value);
137 template <
typename CustomerT = Customer>
152 template <
typename ProjectT = ProjectView>
154 m_projectHasBeenSet =
true;
155 m_project = std::forward<ProjectT>(value);
157 template <
typename ProjectT = ProjectView>
168 template <
typename RelatedEntityIdentifiersT = RelatedEntityIdentifiers>
170 m_relatedEntityIdentifiersHasBeenSet =
true;
171 m_relatedEntityIdentifiers = std::forward<RelatedEntityIdentifiersT>(value);
173 template <
typename RelatedEntityIdentifiersT = RelatedEntityIdentifiers>
182 LifeCycleForView m_lifecycle;
190 ProjectView m_project;
192 RelatedEntityIdentifiers m_relatedEntityIdentifiers;
193 bool m_opportunityTypeHasBeenSet =
false;
194 bool m_lifecycleHasBeenSet =
false;
195 bool m_opportunityTeamHasBeenSet =
false;
196 bool m_primaryNeedsFromAwsHasBeenSet =
false;
197 bool m_customerHasBeenSet =
false;
198 bool m_projectHasBeenSet =
false;
199 bool m_relatedEntityIdentifiersHasBeenSet =
false;
bool ProjectHasBeenSet() const
OpportunitySummaryView & AddPrimaryNeedsFromAws(PrimaryNeedFromAws value)
const Customer & GetCustomer() const
void SetPrimaryNeedsFromAws(PrimaryNeedsFromAwsT &&value)
const LifeCycleForView & GetLifecycle() const
bool PrimaryNeedsFromAwsHasBeenSet() const
void SetCustomer(CustomerT &&value)
OpportunitySummaryView & WithOpportunityType(OpportunityType value)
OpportunitySummaryView & WithLifecycle(LifecycleT &&value)
OpportunitySummaryView & WithProject(ProjectT &&value)
void SetLifecycle(LifecycleT &&value)
const Aws::Vector< Contact > & GetOpportunityTeam() const
bool OpportunityTeamHasBeenSet() const
bool LifecycleHasBeenSet() const
AWS_PARTNERCENTRALSELLING_API OpportunitySummaryView & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetProject(ProjectT &&value)
bool OpportunityTypeHasBeenSet() const
OpportunityType GetOpportunityType() const
OpportunitySummaryView & WithRelatedEntityIdentifiers(RelatedEntityIdentifiersT &&value)
const ProjectView & GetProject() const
void SetOpportunityType(OpportunityType value)
void SetRelatedEntityIdentifiers(RelatedEntityIdentifiersT &&value)
AWS_PARTNERCENTRALSELLING_API OpportunitySummaryView()=default
bool RelatedEntityIdentifiersHasBeenSet() const
bool CustomerHasBeenSet() const
OpportunitySummaryView & WithPrimaryNeedsFromAws(PrimaryNeedsFromAwsT &&value)
AWS_PARTNERCENTRALSELLING_API OpportunitySummaryView(Aws::Utils::Json::JsonView jsonValue)
const RelatedEntityIdentifiers & GetRelatedEntityIdentifiers() const
OpportunitySummaryView & AddOpportunityTeam(OpportunityTeamT &&value)
void SetOpportunityTeam(OpportunityTeamT &&value)
const Aws::Vector< PrimaryNeedFromAws > & GetPrimaryNeedsFromAws() const
OpportunitySummaryView & WithCustomer(CustomerT &&value)
OpportunitySummaryView & WithOpportunityTeam(OpportunityTeamT &&value)
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue