AWS SDK for C++

AWS SDK for C++ Version 1.11.870

Loading...
Searching...
No Matches
EnrichmentContext.h
1
6#pragma once
7#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
8#include <aws/partnercentral-selling/model/InvitationProspectingResultAws.h>
9#include <aws/partnercentral-selling/model/LeadInsights.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
32 public:
33 AWS_PARTNERCENTRALSELLING_API EnrichmentContext() = default;
34 AWS_PARTNERCENTRALSELLING_API EnrichmentContext(Aws::Utils::Json::JsonView jsonValue);
35 AWS_PARTNERCENTRALSELLING_API EnrichmentContext& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
44 inline const InvitationProspectingResultAws& GetProspectingResultAws() const { return m_prospectingResultAws; }
45 inline bool ProspectingResultAwsHasBeenSet() const { return m_prospectingResultAwsHasBeenSet; }
46 template <typename ProspectingResultAwsT = InvitationProspectingResultAws>
47 void SetProspectingResultAws(ProspectingResultAwsT&& value) {
48 m_prospectingResultAwsHasBeenSet = true;
49 m_prospectingResultAws = std::forward<ProspectingResultAwsT>(value);
50 }
51 template <typename ProspectingResultAwsT = InvitationProspectingResultAws>
52 EnrichmentContext& WithProspectingResultAws(ProspectingResultAwsT&& value) {
53 SetProspectingResultAws(std::forward<ProspectingResultAwsT>(value));
54 return *this;
55 }
57
59
63 inline const LeadInsights& GetLeadInsights() const { return m_leadInsights; }
64 inline bool LeadInsightsHasBeenSet() const { return m_leadInsightsHasBeenSet; }
65 template <typename LeadInsightsT = LeadInsights>
66 void SetLeadInsights(LeadInsightsT&& value) {
67 m_leadInsightsHasBeenSet = true;
68 m_leadInsights = std::forward<LeadInsightsT>(value);
69 }
70 template <typename LeadInsightsT = LeadInsights>
71 EnrichmentContext& WithLeadInsights(LeadInsightsT&& value) {
72 SetLeadInsights(std::forward<LeadInsightsT>(value));
73 return *this;
74 }
76 private:
77 InvitationProspectingResultAws m_prospectingResultAws;
78
79 LeadInsights m_leadInsights;
80 bool m_prospectingResultAwsHasBeenSet = false;
81 bool m_leadInsightsHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace PartnerCentralSelling
86} // namespace Aws
const InvitationProspectingResultAws & GetProspectingResultAws() const
AWS_PARTNERCENTRALSELLING_API EnrichmentContext()=default
EnrichmentContext & WithProspectingResultAws(ProspectingResultAwsT &&value)
EnrichmentContext & WithLeadInsights(LeadInsightsT &&value)
AWS_PARTNERCENTRALSELLING_API EnrichmentContext(Aws::Utils::Json::JsonView jsonValue)
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
void SetProspectingResultAws(ProspectingResultAwsT &&value)
AWS_PARTNERCENTRALSELLING_API EnrichmentContext & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue