AWS SDK for C++

AWS SDK for C++ Version 1.11.831

Loading...
Searching...
No Matches
UpdateLeadContext.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
9#include <aws/partnercentral-selling/model/LeadCustomer.h>
10#include <aws/partnercentral-selling/model/LeadInsights.h>
11#include <aws/partnercentral-selling/model/LeadInteraction.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace PartnerCentralSelling {
23namespace Model {
24
32 public:
33 AWS_PARTNERCENTRALSELLING_API UpdateLeadContext() = default;
34 AWS_PARTNERCENTRALSELLING_API UpdateLeadContext(Aws::Utils::Json::JsonView jsonValue);
35 AWS_PARTNERCENTRALSELLING_API UpdateLeadContext& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetQualificationStatus() const { return m_qualificationStatus; }
43 inline bool QualificationStatusHasBeenSet() const { return m_qualificationStatusHasBeenSet; }
44 template <typename QualificationStatusT = Aws::String>
45 void SetQualificationStatus(QualificationStatusT&& value) {
46 m_qualificationStatusHasBeenSet = true;
47 m_qualificationStatus = std::forward<QualificationStatusT>(value);
48 }
49 template <typename QualificationStatusT = Aws::String>
50 UpdateLeadContext& WithQualificationStatus(QualificationStatusT&& value) {
51 SetQualificationStatus(std::forward<QualificationStatusT>(value));
52 return *this;
53 }
55
57
60 inline const LeadCustomer& GetCustomer() const { return m_customer; }
61 inline bool CustomerHasBeenSet() const { return m_customerHasBeenSet; }
62 template <typename CustomerT = LeadCustomer>
63 void SetCustomer(CustomerT&& value) {
64 m_customerHasBeenSet = true;
65 m_customer = std::forward<CustomerT>(value);
66 }
67 template <typename CustomerT = LeadCustomer>
68 UpdateLeadContext& WithCustomer(CustomerT&& value) {
69 SetCustomer(std::forward<CustomerT>(value));
70 return *this;
71 }
73
75
78 inline const LeadInteraction& GetInteraction() const { return m_interaction; }
79 inline bool InteractionHasBeenSet() const { return m_interactionHasBeenSet; }
80 template <typename InteractionT = LeadInteraction>
81 void SetInteraction(InteractionT&& value) {
82 m_interactionHasBeenSet = true;
83 m_interaction = std::forward<InteractionT>(value);
84 }
85 template <typename InteractionT = LeadInteraction>
86 UpdateLeadContext& WithInteraction(InteractionT&& value) {
87 SetInteraction(std::forward<InteractionT>(value));
88 return *this;
89 }
91
93
98 inline const LeadInsights& GetInsights() const { return m_insights; }
99 inline bool InsightsHasBeenSet() const { return m_insightsHasBeenSet; }
100 template <typename InsightsT = LeadInsights>
101 void SetInsights(InsightsT&& value) {
102 m_insightsHasBeenSet = true;
103 m_insights = std::forward<InsightsT>(value);
104 }
105 template <typename InsightsT = LeadInsights>
106 UpdateLeadContext& WithInsights(InsightsT&& value) {
107 SetInsights(std::forward<InsightsT>(value));
108 return *this;
109 }
111 private:
112 Aws::String m_qualificationStatus;
113
114 LeadCustomer m_customer;
115
116 LeadInteraction m_interaction;
117
118 LeadInsights m_insights;
119 bool m_qualificationStatusHasBeenSet = false;
120 bool m_customerHasBeenSet = false;
121 bool m_interactionHasBeenSet = false;
122 bool m_insightsHasBeenSet = false;
123};
124
125} // namespace Model
126} // namespace PartnerCentralSelling
127} // namespace Aws
void SetQualificationStatus(QualificationStatusT &&value)
UpdateLeadContext & WithQualificationStatus(QualificationStatusT &&value)
UpdateLeadContext & WithInsights(InsightsT &&value)
AWS_PARTNERCENTRALSELLING_API UpdateLeadContext & operator=(Aws::Utils::Json::JsonView jsonValue)
UpdateLeadContext & WithCustomer(CustomerT &&value)
AWS_PARTNERCENTRALSELLING_API UpdateLeadContext(Aws::Utils::Json::JsonView jsonValue)
AWS_PARTNERCENTRALSELLING_API UpdateLeadContext()=default
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
UpdateLeadContext & WithInteraction(InteractionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue