AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
GetAwsOpportunitySummaryResult.h
1
6#pragma once
7#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/partnercentral-selling/model/AwsOpportunityCustomer.h>
10#include <aws/partnercentral-selling/model/AwsOpportunityInsights.h>
11#include <aws/partnercentral-selling/model/SalesInvolvementType.h>
12#include <aws/partnercentral-selling/model/InvolvementTypeChangeReason.h>
13#include <aws/partnercentral-selling/model/AwsOpportunityLifeCycle.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/partnercentral-selling/model/OpportunityOrigin.h>
16#include <aws/partnercentral-selling/model/AwsOpportunityProject.h>
17#include <aws/partnercentral-selling/model/AwsOpportunityRelatedEntities.h>
18#include <aws/partnercentral-selling/model/Visibility.h>
19#include <aws/partnercentral-selling/model/AwsTeamMember.h>
20#include <utility>
21
22namespace Aws
23{
24template<typename RESULT_TYPE>
25class AmazonWebServiceResult;
26
27namespace Utils
28{
29namespace Json
30{
31 class JsonValue;
32} // namespace Json
33} // namespace Utils
34namespace PartnerCentralSelling
35{
36namespace Model
37{
39 {
40 public:
41 AWS_PARTNERCENTRALSELLING_API GetAwsOpportunitySummaryResult() = default;
44
45
47
52 inline const Aws::String& GetCatalog() const { return m_catalog; }
53 template<typename CatalogT = Aws::String>
54 void SetCatalog(CatalogT&& value) { m_catalogHasBeenSet = true; m_catalog = std::forward<CatalogT>(value); }
55 template<typename CatalogT = Aws::String>
56 GetAwsOpportunitySummaryResult& WithCatalog(CatalogT&& value) { SetCatalog(std::forward<CatalogT>(value)); return *this;}
58
60
65 inline const AwsOpportunityCustomer& GetCustomer() const { return m_customer; }
66 template<typename CustomerT = AwsOpportunityCustomer>
67 void SetCustomer(CustomerT&& value) { m_customerHasBeenSet = true; m_customer = std::forward<CustomerT>(value); }
68 template<typename CustomerT = AwsOpportunityCustomer>
69 GetAwsOpportunitySummaryResult& WithCustomer(CustomerT&& value) { SetCustomer(std::forward<CustomerT>(value)); return *this;}
71
73
77 inline const AwsOpportunityInsights& GetInsights() const { return m_insights; }
78 template<typename InsightsT = AwsOpportunityInsights>
79 void SetInsights(InsightsT&& value) { m_insightsHasBeenSet = true; m_insights = std::forward<InsightsT>(value); }
80 template<typename InsightsT = AwsOpportunityInsights>
81 GetAwsOpportunitySummaryResult& WithInsights(InsightsT&& value) { SetInsights(std::forward<InsightsT>(value)); return *this;}
83
85
90 inline SalesInvolvementType GetInvolvementType() const { return m_involvementType; }
91 inline void SetInvolvementType(SalesInvolvementType value) { m_involvementTypeHasBeenSet = true; m_involvementType = value; }
94
96
102 inline InvolvementTypeChangeReason GetInvolvementTypeChangeReason() const { return m_involvementTypeChangeReason; }
103 inline void SetInvolvementTypeChangeReason(InvolvementTypeChangeReason value) { m_involvementTypeChangeReasonHasBeenSet = true; m_involvementTypeChangeReason = value; }
106
108
113 inline const AwsOpportunityLifeCycle& GetLifeCycle() const { return m_lifeCycle; }
114 template<typename LifeCycleT = AwsOpportunityLifeCycle>
115 void SetLifeCycle(LifeCycleT&& value) { m_lifeCycleHasBeenSet = true; m_lifeCycle = std::forward<LifeCycleT>(value); }
116 template<typename LifeCycleT = AwsOpportunityLifeCycle>
117 GetAwsOpportunitySummaryResult& WithLifeCycle(LifeCycleT&& value) { SetLifeCycle(std::forward<LifeCycleT>(value)); return *this;}
119
121
126 inline const Aws::Vector<AwsTeamMember>& GetOpportunityTeam() const { return m_opportunityTeam; }
127 template<typename OpportunityTeamT = Aws::Vector<AwsTeamMember>>
128 void SetOpportunityTeam(OpportunityTeamT&& value) { m_opportunityTeamHasBeenSet = true; m_opportunityTeam = std::forward<OpportunityTeamT>(value); }
129 template<typename OpportunityTeamT = Aws::Vector<AwsTeamMember>>
130 GetAwsOpportunitySummaryResult& WithOpportunityTeam(OpportunityTeamT&& value) { SetOpportunityTeam(std::forward<OpportunityTeamT>(value)); return *this;}
131 template<typename OpportunityTeamT = AwsTeamMember>
132 GetAwsOpportunitySummaryResult& AddOpportunityTeam(OpportunityTeamT&& value) { m_opportunityTeamHasBeenSet = true; m_opportunityTeam.emplace_back(std::forward<OpportunityTeamT>(value)); return *this; }
134
136
141 inline OpportunityOrigin GetOrigin() const { return m_origin; }
142 inline void SetOrigin(OpportunityOrigin value) { m_originHasBeenSet = true; m_origin = value; }
145
147
153 inline const AwsOpportunityProject& GetProject() const { return m_project; }
154 template<typename ProjectT = AwsOpportunityProject>
155 void SetProject(ProjectT&& value) { m_projectHasBeenSet = true; m_project = std::forward<ProjectT>(value); }
156 template<typename ProjectT = AwsOpportunityProject>
157 GetAwsOpportunitySummaryResult& WithProject(ProjectT&& value) { SetProject(std::forward<ProjectT>(value)); return *this;}
159
161
166 inline const AwsOpportunityRelatedEntities& GetRelatedEntityIds() const { return m_relatedEntityIds; }
167 template<typename RelatedEntityIdsT = AwsOpportunityRelatedEntities>
168 void SetRelatedEntityIds(RelatedEntityIdsT&& value) { m_relatedEntityIdsHasBeenSet = true; m_relatedEntityIds = std::forward<RelatedEntityIdsT>(value); }
169 template<typename RelatedEntityIdsT = AwsOpportunityRelatedEntities>
170 GetAwsOpportunitySummaryResult& WithRelatedEntityIds(RelatedEntityIdsT&& value) { SetRelatedEntityIds(std::forward<RelatedEntityIdsT>(value)); return *this;}
172
174
179 inline const Aws::String& GetRelatedOpportunityId() const { return m_relatedOpportunityId; }
180 template<typename RelatedOpportunityIdT = Aws::String>
181 void SetRelatedOpportunityId(RelatedOpportunityIdT&& value) { m_relatedOpportunityIdHasBeenSet = true; m_relatedOpportunityId = std::forward<RelatedOpportunityIdT>(value); }
182 template<typename RelatedOpportunityIdT = Aws::String>
183 GetAwsOpportunitySummaryResult& WithRelatedOpportunityId(RelatedOpportunityIdT&& value) { SetRelatedOpportunityId(std::forward<RelatedOpportunityIdT>(value)); return *this;}
185
187
192 inline Visibility GetVisibility() const { return m_visibility; }
193 inline void SetVisibility(Visibility value) { m_visibilityHasBeenSet = true; m_visibility = value; }
196
198
199 inline const Aws::String& GetRequestId() const { return m_requestId; }
200 template<typename RequestIdT = Aws::String>
201 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
202 template<typename RequestIdT = Aws::String>
203 GetAwsOpportunitySummaryResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
205 private:
206
207 Aws::String m_catalog;
208 bool m_catalogHasBeenSet = false;
209
210 AwsOpportunityCustomer m_customer;
211 bool m_customerHasBeenSet = false;
212
213 AwsOpportunityInsights m_insights;
214 bool m_insightsHasBeenSet = false;
215
217 bool m_involvementTypeHasBeenSet = false;
218
220 bool m_involvementTypeChangeReasonHasBeenSet = false;
221
222 AwsOpportunityLifeCycle m_lifeCycle;
223 bool m_lifeCycleHasBeenSet = false;
224
225 Aws::Vector<AwsTeamMember> m_opportunityTeam;
226 bool m_opportunityTeamHasBeenSet = false;
227
229 bool m_originHasBeenSet = false;
230
231 AwsOpportunityProject m_project;
232 bool m_projectHasBeenSet = false;
233
234 AwsOpportunityRelatedEntities m_relatedEntityIds;
235 bool m_relatedEntityIdsHasBeenSet = false;
236
237 Aws::String m_relatedOpportunityId;
238 bool m_relatedOpportunityIdHasBeenSet = false;
239
240 Visibility m_visibility{Visibility::NOT_SET};
241 bool m_visibilityHasBeenSet = false;
242
243 Aws::String m_requestId;
244 bool m_requestIdHasBeenSet = false;
245 };
246
247} // namespace Model
248} // namespace PartnerCentralSelling
249} // namespace Aws
AWS_PARTNERCENTRALSELLING_API GetAwsOpportunitySummaryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAwsOpportunitySummaryResult & WithRelatedEntityIds(RelatedEntityIdsT &&value)
GetAwsOpportunitySummaryResult & WithInvolvementType(SalesInvolvementType value)
GetAwsOpportunitySummaryResult & WithOpportunityTeam(OpportunityTeamT &&value)
GetAwsOpportunitySummaryResult & WithOrigin(OpportunityOrigin value)
GetAwsOpportunitySummaryResult & AddOpportunityTeam(OpportunityTeamT &&value)
AWS_PARTNERCENTRALSELLING_API GetAwsOpportunitySummaryResult()=default
GetAwsOpportunitySummaryResult & WithInvolvementTypeChangeReason(InvolvementTypeChangeReason value)
AWS_PARTNERCENTRALSELLING_API GetAwsOpportunitySummaryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAwsOpportunitySummaryResult & WithRelatedOpportunityId(RelatedOpportunityIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue