AWS SDK for C++

AWS SDK for C++ Version 1.11.637

Loading...
Searching...
No Matches
GetOpportunityResult.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/core/utils/memory/stl/AWSVector.h>
10#include <aws/partnercentral-selling/model/NationalSecurity.h>
11#include <aws/partnercentral-selling/model/Customer.h>
12#include <aws/partnercentral-selling/model/Project.h>
13#include <aws/partnercentral-selling/model/OpportunityType.h>
14#include <aws/partnercentral-selling/model/Marketing.h>
15#include <aws/partnercentral-selling/model/SoftwareRevenue.h>
16#include <aws/core/utils/DateTime.h>
17#include <aws/partnercentral-selling/model/RelatedEntityIdentifiers.h>
18#include <aws/partnercentral-selling/model/LifeCycle.h>
19#include <aws/partnercentral-selling/model/PrimaryNeedFromAws.h>
20#include <aws/partnercentral-selling/model/Contact.h>
21#include <utility>
22
23namespace Aws
24{
25template<typename RESULT_TYPE>
26class AmazonWebServiceResult;
27
28namespace Utils
29{
30namespace Json
31{
32 class JsonValue;
33} // namespace Json
34} // namespace Utils
35namespace PartnerCentralSelling
36{
37namespace Model
38{
40 {
41 public:
42 AWS_PARTNERCENTRALSELLING_API GetOpportunityResult() = default;
45
46
48
56 inline const Aws::String& GetCatalog() const { return m_catalog; }
57 template<typename CatalogT = Aws::String>
58 void SetCatalog(CatalogT&& value) { m_catalogHasBeenSet = true; m_catalog = std::forward<CatalogT>(value); }
59 template<typename CatalogT = Aws::String>
60 GetOpportunityResult& WithCatalog(CatalogT&& value) { SetCatalog(std::forward<CatalogT>(value)); return *this;}
62
64
86 inline const Aws::Vector<PrimaryNeedFromAws>& GetPrimaryNeedsFromAws() const { return m_primaryNeedsFromAws; }
87 template<typename PrimaryNeedsFromAwsT = Aws::Vector<PrimaryNeedFromAws>>
88 void SetPrimaryNeedsFromAws(PrimaryNeedsFromAwsT&& value) { m_primaryNeedsFromAwsHasBeenSet = true; m_primaryNeedsFromAws = std::forward<PrimaryNeedsFromAwsT>(value); }
89 template<typename PrimaryNeedsFromAwsT = Aws::Vector<PrimaryNeedFromAws>>
90 GetOpportunityResult& WithPrimaryNeedsFromAws(PrimaryNeedsFromAwsT&& value) { SetPrimaryNeedsFromAws(std::forward<PrimaryNeedsFromAwsT>(value)); return *this;}
91 inline GetOpportunityResult& AddPrimaryNeedsFromAws(PrimaryNeedFromAws value) { m_primaryNeedsFromAwsHasBeenSet = true; m_primaryNeedsFromAws.push_back(value); return *this; }
93
95
102 inline NationalSecurity GetNationalSecurity() const { return m_nationalSecurity; }
103 inline void SetNationalSecurity(NationalSecurity value) { m_nationalSecurityHasBeenSet = true; m_nationalSecurity = value; }
106
108
113 inline const Aws::String& GetPartnerOpportunityIdentifier() const { return m_partnerOpportunityIdentifier; }
114 template<typename PartnerOpportunityIdentifierT = Aws::String>
115 void SetPartnerOpportunityIdentifier(PartnerOpportunityIdentifierT&& value) { m_partnerOpportunityIdentifierHasBeenSet = true; m_partnerOpportunityIdentifier = std::forward<PartnerOpportunityIdentifierT>(value); }
116 template<typename PartnerOpportunityIdentifierT = Aws::String>
117 GetOpportunityResult& WithPartnerOpportunityIdentifier(PartnerOpportunityIdentifierT&& value) { SetPartnerOpportunityIdentifier(std::forward<PartnerOpportunityIdentifierT>(value)); return *this;}
119
121
125 inline const Customer& GetCustomer() const { return m_customer; }
126 template<typename CustomerT = Customer>
127 void SetCustomer(CustomerT&& value) { m_customerHasBeenSet = true; m_customer = std::forward<CustomerT>(value); }
128 template<typename CustomerT = Customer>
129 GetOpportunityResult& WithCustomer(CustomerT&& value) { SetCustomer(std::forward<CustomerT>(value)); return *this;}
131
133
137 inline const Project& GetProject() const { return m_project; }
138 template<typename ProjectT = Project>
139 void SetProject(ProjectT&& value) { m_projectHasBeenSet = true; m_project = std::forward<ProjectT>(value); }
140 template<typename ProjectT = Project>
141 GetOpportunityResult& WithProject(ProjectT&& value) { SetProject(std::forward<ProjectT>(value)); return *this;}
143
145
156 inline OpportunityType GetOpportunityType() const { return m_opportunityType; }
157 inline void SetOpportunityType(OpportunityType value) { m_opportunityTypeHasBeenSet = true; m_opportunityType = value; }
160
162
166 inline const Marketing& GetMarketing() const { return m_marketing; }
167 template<typename MarketingT = Marketing>
168 void SetMarketing(MarketingT&& value) { m_marketingHasBeenSet = true; m_marketing = std::forward<MarketingT>(value); }
169 template<typename MarketingT = Marketing>
170 GetOpportunityResult& WithMarketing(MarketingT&& value) { SetMarketing(std::forward<MarketingT>(value)); return *this;}
172
174
178 inline const SoftwareRevenue& GetSoftwareRevenue() const { return m_softwareRevenue; }
179 template<typename SoftwareRevenueT = SoftwareRevenue>
180 void SetSoftwareRevenue(SoftwareRevenueT&& value) { m_softwareRevenueHasBeenSet = true; m_softwareRevenue = std::forward<SoftwareRevenueT>(value); }
181 template<typename SoftwareRevenueT = SoftwareRevenue>
182 GetOpportunityResult& WithSoftwareRevenue(SoftwareRevenueT&& value) { SetSoftwareRevenue(std::forward<SoftwareRevenueT>(value)); return *this;}
184
186
189 inline const Aws::String& GetId() const { return m_id; }
190 template<typename IdT = Aws::String>
191 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
192 template<typename IdT = Aws::String>
193 GetOpportunityResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
195
197
200 inline const Aws::String& GetArn() const { return m_arn; }
201 template<typename ArnT = Aws::String>
202 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
203 template<typename ArnT = Aws::String>
204 GetOpportunityResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
206
208
211 inline const Aws::Utils::DateTime& GetLastModifiedDate() const { return m_lastModifiedDate; }
212 template<typename LastModifiedDateT = Aws::Utils::DateTime>
213 void SetLastModifiedDate(LastModifiedDateT&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::forward<LastModifiedDateT>(value); }
214 template<typename LastModifiedDateT = Aws::Utils::DateTime>
215 GetOpportunityResult& WithLastModifiedDate(LastModifiedDateT&& value) { SetLastModifiedDate(std::forward<LastModifiedDateT>(value)); return *this;}
217
219
223 inline const Aws::Utils::DateTime& GetCreatedDate() const { return m_createdDate; }
224 template<typename CreatedDateT = Aws::Utils::DateTime>
225 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::forward<CreatedDateT>(value); }
226 template<typename CreatedDateT = Aws::Utils::DateTime>
227 GetOpportunityResult& WithCreatedDate(CreatedDateT&& value) { SetCreatedDate(std::forward<CreatedDateT>(value)); return *this;}
229
231
236 inline const RelatedEntityIdentifiers& GetRelatedEntityIdentifiers() const { return m_relatedEntityIdentifiers; }
237 template<typename RelatedEntityIdentifiersT = RelatedEntityIdentifiers>
238 void SetRelatedEntityIdentifiers(RelatedEntityIdentifiersT&& value) { m_relatedEntityIdentifiersHasBeenSet = true; m_relatedEntityIdentifiers = std::forward<RelatedEntityIdentifiersT>(value); }
239 template<typename RelatedEntityIdentifiersT = RelatedEntityIdentifiers>
240 GetOpportunityResult& WithRelatedEntityIdentifiers(RelatedEntityIdentifiersT&& value) { SetRelatedEntityIdentifiers(std::forward<RelatedEntityIdentifiersT>(value)); return *this;}
242
244
248 inline const LifeCycle& GetLifeCycle() const { return m_lifeCycle; }
249 template<typename LifeCycleT = LifeCycle>
250 void SetLifeCycle(LifeCycleT&& value) { m_lifeCycleHasBeenSet = true; m_lifeCycle = std::forward<LifeCycleT>(value); }
251 template<typename LifeCycleT = LifeCycle>
252 GetOpportunityResult& WithLifeCycle(LifeCycleT&& value) { SetLifeCycle(std::forward<LifeCycleT>(value)); return *this;}
254
256
261 inline const Aws::Vector<Contact>& GetOpportunityTeam() const { return m_opportunityTeam; }
262 template<typename OpportunityTeamT = Aws::Vector<Contact>>
263 void SetOpportunityTeam(OpportunityTeamT&& value) { m_opportunityTeamHasBeenSet = true; m_opportunityTeam = std::forward<OpportunityTeamT>(value); }
264 template<typename OpportunityTeamT = Aws::Vector<Contact>>
265 GetOpportunityResult& WithOpportunityTeam(OpportunityTeamT&& value) { SetOpportunityTeam(std::forward<OpportunityTeamT>(value)); return *this;}
266 template<typename OpportunityTeamT = Contact>
267 GetOpportunityResult& AddOpportunityTeam(OpportunityTeamT&& value) { m_opportunityTeamHasBeenSet = true; m_opportunityTeam.emplace_back(std::forward<OpportunityTeamT>(value)); return *this; }
269
271
272 inline const Aws::String& GetRequestId() const { return m_requestId; }
273 template<typename RequestIdT = Aws::String>
274 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
275 template<typename RequestIdT = Aws::String>
276 GetOpportunityResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
278 private:
279
280 Aws::String m_catalog;
281 bool m_catalogHasBeenSet = false;
282
283 Aws::Vector<PrimaryNeedFromAws> m_primaryNeedsFromAws;
284 bool m_primaryNeedsFromAwsHasBeenSet = false;
285
287 bool m_nationalSecurityHasBeenSet = false;
288
289 Aws::String m_partnerOpportunityIdentifier;
290 bool m_partnerOpportunityIdentifierHasBeenSet = false;
291
292 Customer m_customer;
293 bool m_customerHasBeenSet = false;
294
295 Project m_project;
296 bool m_projectHasBeenSet = false;
297
298 OpportunityType m_opportunityType{OpportunityType::NOT_SET};
299 bool m_opportunityTypeHasBeenSet = false;
300
301 Marketing m_marketing;
302 bool m_marketingHasBeenSet = false;
303
304 SoftwareRevenue m_softwareRevenue;
305 bool m_softwareRevenueHasBeenSet = false;
306
307 Aws::String m_id;
308 bool m_idHasBeenSet = false;
309
310 Aws::String m_arn;
311 bool m_arnHasBeenSet = false;
312
313 Aws::Utils::DateTime m_lastModifiedDate{};
314 bool m_lastModifiedDateHasBeenSet = false;
315
316 Aws::Utils::DateTime m_createdDate{};
317 bool m_createdDateHasBeenSet = false;
318
319 RelatedEntityIdentifiers m_relatedEntityIdentifiers;
320 bool m_relatedEntityIdentifiersHasBeenSet = false;
321
322 LifeCycle m_lifeCycle;
323 bool m_lifeCycleHasBeenSet = false;
324
325 Aws::Vector<Contact> m_opportunityTeam;
326 bool m_opportunityTeamHasBeenSet = false;
327
328 Aws::String m_requestId;
329 bool m_requestIdHasBeenSet = false;
330 };
331
332} // namespace Model
333} // namespace PartnerCentralSelling
334} // namespace Aws
GetOpportunityResult & WithCatalog(CatalogT &&value)
GetOpportunityResult & WithPartnerOpportunityIdentifier(PartnerOpportunityIdentifierT &&value)
GetOpportunityResult & WithRelatedEntityIdentifiers(RelatedEntityIdentifiersT &&value)
GetOpportunityResult & WithOpportunityType(OpportunityType value)
GetOpportunityResult & WithPrimaryNeedsFromAws(PrimaryNeedsFromAwsT &&value)
const RelatedEntityIdentifiers & GetRelatedEntityIdentifiers() const
GetOpportunityResult & WithCreatedDate(CreatedDateT &&value)
GetOpportunityResult & WithCustomer(CustomerT &&value)
const Aws::Vector< PrimaryNeedFromAws > & GetPrimaryNeedsFromAws() const
GetOpportunityResult & AddPrimaryNeedsFromAws(PrimaryNeedFromAws value)
GetOpportunityResult & WithProject(ProjectT &&value)
const Aws::Vector< Contact > & GetOpportunityTeam() const
GetOpportunityResult & WithLastModifiedDate(LastModifiedDateT &&value)
AWS_PARTNERCENTRALSELLING_API GetOpportunityResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetOpportunityResult & WithOpportunityTeam(OpportunityTeamT &&value)
GetOpportunityResult & WithLifeCycle(LifeCycleT &&value)
void SetRelatedEntityIdentifiers(RelatedEntityIdentifiersT &&value)
GetOpportunityResult & WithMarketing(MarketingT &&value)
void SetPartnerOpportunityIdentifier(PartnerOpportunityIdentifierT &&value)
GetOpportunityResult & AddOpportunityTeam(OpportunityTeamT &&value)
GetOpportunityResult & WithRequestId(RequestIdT &&value)
AWS_PARTNERCENTRALSELLING_API GetOpportunityResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetOpportunityResult & WithNationalSecurity(NationalSecurity value)
AWS_PARTNERCENTRALSELLING_API GetOpportunityResult()=default
GetOpportunityResult & WithSoftwareRevenue(SoftwareRevenueT &&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