7#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
8#include <aws/partnercentral-selling/model/Account.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/partnercentral-selling/model/Contact.h>
23namespace PartnerCentralSelling
37 AWS_PARTNERCENTRALSELLING_API
Customer() =
default;
49 template<
typename AccountT = Account>
50 void SetAccount(AccountT&& value) { m_accountHasBeenSet =
true; m_account = std::forward<AccountT>(value); }
51 template<
typename AccountT = Account>
65 template<
typename ContactsT = Aws::Vector<Contact>>
66 void SetContacts(ContactsT&& value) { m_contactsHasBeenSet =
true; m_contacts = std::forward<ContactsT>(value); }
67 template<
typename ContactsT = Aws::Vector<Contact>>
69 template<
typename ContactsT = Contact>
70 Customer&
AddContacts(ContactsT&& value) { m_contactsHasBeenSet =
true; m_contacts.emplace_back(std::forward<ContactsT>(value));
return *
this; }
75 bool m_accountHasBeenSet =
false;
78 bool m_contactsHasBeenSet =
false;
bool AccountHasBeenSet() const
Customer & WithAccount(AccountT &&value)
AWS_PARTNERCENTRALSELLING_API Customer()=default
void SetContacts(ContactsT &&value)
Customer & WithContacts(ContactsT &&value)
const Aws::Vector< Contact > & GetContacts() const
const Account & GetAccount() const
AWS_PARTNERCENTRALSELLING_API Customer & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAccount(AccountT &&value)
AWS_PARTNERCENTRALSELLING_API Customer(Aws::Utils::Json::JsonView jsonValue)
bool ContactsHasBeenSet() const
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
Customer & AddContacts(ContactsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue