7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
9#include <aws/partnercentral-selling/model/Account.h>
10#include <aws/partnercentral-selling/model/Contact.h>
21namespace PartnerCentralSelling {
32 AWS_PARTNERCENTRALSELLING_API
Customer() =
default;
43 template <
typename AccountT = Account>
45 m_accountHasBeenSet =
true;
46 m_account = std::forward<AccountT>(value);
48 template <
typename AccountT = Account>
65 template <
typename ContactsT = Aws::Vector<Contact>>
67 m_contactsHasBeenSet =
true;
68 m_contacts = std::forward<ContactsT>(value);
70 template <
typename ContactsT = Aws::Vector<Contact>>
75 template <
typename ContactsT = Contact>
77 m_contactsHasBeenSet =
true;
78 m_contacts.emplace_back(std::forward<ContactsT>(value));
86 bool m_accountHasBeenSet =
false;
87 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