AWS SDK for C++

AWS SDK for C++ Version 1.11.719

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/LeadInteraction.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
31 public:
32 AWS_PARTNERCENTRALSELLING_API UpdateLeadContext() = default;
33 AWS_PARTNERCENTRALSELLING_API UpdateLeadContext(Aws::Utils::Json::JsonView jsonValue);
34 AWS_PARTNERCENTRALSELLING_API UpdateLeadContext& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetQualificationStatus() const { return m_qualificationStatus; }
42 inline bool QualificationStatusHasBeenSet() const { return m_qualificationStatusHasBeenSet; }
43 template <typename QualificationStatusT = Aws::String>
44 void SetQualificationStatus(QualificationStatusT&& value) {
45 m_qualificationStatusHasBeenSet = true;
46 m_qualificationStatus = std::forward<QualificationStatusT>(value);
47 }
48 template <typename QualificationStatusT = Aws::String>
49 UpdateLeadContext& WithQualificationStatus(QualificationStatusT&& value) {
50 SetQualificationStatus(std::forward<QualificationStatusT>(value));
51 return *this;
52 }
54
56
59 inline const LeadCustomer& GetCustomer() const { return m_customer; }
60 inline bool CustomerHasBeenSet() const { return m_customerHasBeenSet; }
61 template <typename CustomerT = LeadCustomer>
62 void SetCustomer(CustomerT&& value) {
63 m_customerHasBeenSet = true;
64 m_customer = std::forward<CustomerT>(value);
65 }
66 template <typename CustomerT = LeadCustomer>
67 UpdateLeadContext& WithCustomer(CustomerT&& value) {
68 SetCustomer(std::forward<CustomerT>(value));
69 return *this;
70 }
72
74
77 inline const LeadInteraction& GetInteraction() const { return m_interaction; }
78 inline bool InteractionHasBeenSet() const { return m_interactionHasBeenSet; }
79 template <typename InteractionT = LeadInteraction>
80 void SetInteraction(InteractionT&& value) {
81 m_interactionHasBeenSet = true;
82 m_interaction = std::forward<InteractionT>(value);
83 }
84 template <typename InteractionT = LeadInteraction>
85 UpdateLeadContext& WithInteraction(InteractionT&& value) {
86 SetInteraction(std::forward<InteractionT>(value));
87 return *this;
88 }
90 private:
91 Aws::String m_qualificationStatus;
92
93 LeadCustomer m_customer;
94
95 LeadInteraction m_interaction;
96 bool m_qualificationStatusHasBeenSet = false;
97 bool m_customerHasBeenSet = false;
98 bool m_interactionHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace PartnerCentralSelling
103} // namespace Aws
void SetQualificationStatus(QualificationStatusT &&value)
UpdateLeadContext & WithQualificationStatus(QualificationStatusT &&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