AWS SDK for C++

AWS SDK for C++ Version 1.11.719

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/UpdateLeadContext.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace PartnerCentralSelling {
21namespace Model {
22
31 public:
32 AWS_PARTNERCENTRALSELLING_API UpdateEngagementContextPayload() = default;
33 AWS_PARTNERCENTRALSELLING_API UpdateEngagementContextPayload(Aws::Utils::Json::JsonView jsonValue);
34 AWS_PARTNERCENTRALSELLING_API UpdateEngagementContextPayload& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
43 inline const UpdateLeadContext& GetLead() const { return m_lead; }
44 inline bool LeadHasBeenSet() const { return m_leadHasBeenSet; }
45 template <typename LeadT = UpdateLeadContext>
46 void SetLead(LeadT&& value) {
47 m_leadHasBeenSet = true;
48 m_lead = std::forward<LeadT>(value);
49 }
50 template <typename LeadT = UpdateLeadContext>
52 SetLead(std::forward<LeadT>(value));
53 return *this;
54 }
56
58
59 inline const CustomerProjectsContext& GetCustomerProject() const { return m_customerProject; }
60 inline bool CustomerProjectHasBeenSet() const { return m_customerProjectHasBeenSet; }
61 template <typename CustomerProjectT = CustomerProjectsContext>
62 void SetCustomerProject(CustomerProjectT&& value) {
63 m_customerProjectHasBeenSet = true;
64 m_customerProject = std::forward<CustomerProjectT>(value);
65 }
66 template <typename CustomerProjectT = CustomerProjectsContext>
68 SetCustomerProject(std::forward<CustomerProjectT>(value));
69 return *this;
70 }
72 private:
73 UpdateLeadContext m_lead;
74
75 CustomerProjectsContext m_customerProject;
76 bool m_leadHasBeenSet = false;
77 bool m_customerProjectHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace PartnerCentralSelling
82} // 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)
AWS_PARTNERCENTRALSELLING_API UpdateEngagementContextPayload()=default
Aws::Utils::Json::JsonValue JsonValue