AWS SDK for C++

AWS SDK for C++ Version 1.11.831

Loading...
Searching...
No Matches
UpdateEngagementContextPayload.h
1
6#pragma once
7#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
8#include <aws/partnercentral-selling/model/CustomerProjectsContext.h>
9#include <aws/partnercentral-selling/model/ProspectingResult.h>
10#include <aws/partnercentral-selling/model/UpdateLeadContext.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace PartnerCentralSelling {
22namespace Model {
23
32 public:
33 AWS_PARTNERCENTRALSELLING_API UpdateEngagementContextPayload() = default;
34 AWS_PARTNERCENTRALSELLING_API UpdateEngagementContextPayload(Aws::Utils::Json::JsonView jsonValue);
35 AWS_PARTNERCENTRALSELLING_API UpdateEngagementContextPayload& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
44 inline const UpdateLeadContext& GetLead() const { return m_lead; }
45 inline bool LeadHasBeenSet() const { return m_leadHasBeenSet; }
46 template <typename LeadT = UpdateLeadContext>
47 void SetLead(LeadT&& value) {
48 m_leadHasBeenSet = true;
49 m_lead = std::forward<LeadT>(value);
50 }
51 template <typename LeadT = UpdateLeadContext>
53 SetLead(std::forward<LeadT>(value));
54 return *this;
55 }
57
59
60 inline const CustomerProjectsContext& GetCustomerProject() const { return m_customerProject; }
61 inline bool CustomerProjectHasBeenSet() const { return m_customerProjectHasBeenSet; }
62 template <typename CustomerProjectT = CustomerProjectsContext>
63 void SetCustomerProject(CustomerProjectT&& value) {
64 m_customerProjectHasBeenSet = true;
65 m_customerProject = std::forward<CustomerProjectT>(value);
66 }
67 template <typename CustomerProjectT = CustomerProjectsContext>
69 SetCustomerProject(std::forward<CustomerProjectT>(value));
70 return *this;
71 }
73
75
80 inline const ProspectingResult& GetProspectingResult() const { return m_prospectingResult; }
81 inline bool ProspectingResultHasBeenSet() const { return m_prospectingResultHasBeenSet; }
82 template <typename ProspectingResultT = ProspectingResult>
83 void SetProspectingResult(ProspectingResultT&& value) {
84 m_prospectingResultHasBeenSet = true;
85 m_prospectingResult = std::forward<ProspectingResultT>(value);
86 }
87 template <typename ProspectingResultT = ProspectingResult>
89 SetProspectingResult(std::forward<ProspectingResultT>(value));
90 return *this;
91 }
93 private:
94 UpdateLeadContext m_lead;
95
96 CustomerProjectsContext m_customerProject;
97
98 ProspectingResult m_prospectingResult;
99 bool m_leadHasBeenSet = false;
100 bool m_customerProjectHasBeenSet = false;
101 bool m_prospectingResultHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace PartnerCentralSelling
106} // namespace Aws
AWS_PARTNERCENTRALSELLING_API UpdateEngagementContextPayload(Aws::Utils::Json::JsonView jsonValue)
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PARTNERCENTRALSELLING_API UpdateEngagementContextPayload & operator=(Aws::Utils::Json::JsonView jsonValue)
UpdateEngagementContextPayload & WithCustomerProject(CustomerProjectT &&value)
UpdateEngagementContextPayload & WithProspectingResult(ProspectingResultT &&value)
AWS_PARTNERCENTRALSELLING_API UpdateEngagementContextPayload()=default
Aws::Utils::Json::JsonValue JsonValue