7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
10#include <aws/partnercentral-selling/model/LeadContact.h>
21namespace PartnerCentralSelling {
47 template <
typename SourceTypeT = Aws::String>
49 m_sourceTypeHasBeenSet =
true;
50 m_sourceType = std::forward<SourceTypeT>(value);
52 template <
typename SourceTypeT = Aws::String>
67 template <
typename SourceIdT = Aws::String>
69 m_sourceIdHasBeenSet =
true;
70 m_sourceId = std::forward<SourceIdT>(value);
72 template <
typename SourceIdT = Aws::String>
87 template <
typename SourceNameT = Aws::String>
89 m_sourceNameHasBeenSet =
true;
90 m_sourceName = std::forward<SourceNameT>(value);
92 template <
typename SourceNameT = Aws::String>
107 template <
typename UsecaseT = Aws::String>
109 m_usecaseHasBeenSet =
true;
110 m_usecase = std::forward<UsecaseT>(value);
112 template <
typename UsecaseT = Aws::String>
127 template <
typename InteractionDateT = Aws::Utils::DateTime>
129 m_interactionDateHasBeenSet =
true;
130 m_interactionDate = std::forward<InteractionDateT>(value);
132 template <
typename InteractionDateT = Aws::Utils::DateTime>
147 template <
typename CustomerActionT = Aws::String>
149 m_customerActionHasBeenSet =
true;
150 m_customerAction = std::forward<CustomerActionT>(value);
152 template <
typename CustomerActionT = Aws::String>
167 template <
typename BusinessProblemT = Aws::String>
169 m_businessProblemHasBeenSet =
true;
170 m_businessProblem = std::forward<BusinessProblemT>(value);
172 template <
typename BusinessProblemT = Aws::String>
186 template <
typename ContactT = LeadContact>
188 m_contactHasBeenSet =
true;
189 m_contact = std::forward<ContactT>(value);
191 template <
typename ContactT = LeadContact>
212 LeadContact m_contact;
213 bool m_sourceTypeHasBeenSet =
false;
214 bool m_sourceIdHasBeenSet =
false;
215 bool m_sourceNameHasBeenSet =
false;
216 bool m_usecaseHasBeenSet =
false;
217 bool m_interactionDateHasBeenSet =
false;
218 bool m_customerActionHasBeenSet =
false;
219 bool m_businessProblemHasBeenSet =
false;
220 bool m_contactHasBeenSet =
false;
void SetUsecase(UsecaseT &&value)
bool SourceIdHasBeenSet() const
void SetInteractionDate(InteractionDateT &&value)
const Aws::String & GetBusinessProblem() const
const Aws::String & GetUsecase() const
const Aws::Utils::DateTime & GetInteractionDate() const
LeadInteraction & WithUsecase(UsecaseT &&value)
bool SourceTypeHasBeenSet() const
LeadInteraction & WithSourceId(SourceIdT &&value)
void SetContact(ContactT &&value)
LeadInteraction & WithSourceType(SourceTypeT &&value)
bool BusinessProblemHasBeenSet() const
bool InteractionDateHasBeenSet() const
bool ContactHasBeenSet() const
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
void SetBusinessProblem(BusinessProblemT &&value)
void SetSourceId(SourceIdT &&value)
void SetCustomerAction(CustomerActionT &&value)
void SetSourceName(SourceNameT &&value)
AWS_PARTNERCENTRALSELLING_API LeadInteraction()=default
const LeadContact & GetContact() const
LeadInteraction & WithInteractionDate(InteractionDateT &&value)
bool SourceNameHasBeenSet() const
LeadInteraction & WithContact(ContactT &&value)
AWS_PARTNERCENTRALSELLING_API LeadInteraction & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetSourceType() const
AWS_PARTNERCENTRALSELLING_API LeadInteraction(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetSourceName() const
const Aws::String & GetCustomerAction() const
LeadInteraction & WithCustomerAction(CustomerActionT &&value)
LeadInteraction & WithSourceName(SourceNameT &&value)
void SetSourceType(SourceTypeT &&value)
LeadInteraction & WithBusinessProblem(BusinessProblemT &&value)
bool UsecaseHasBeenSet() const
bool CustomerActionHasBeenSet() const
const Aws::String & GetSourceId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue