AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
CustomerSummary.h
1
6#pragma once
7#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
8#include <aws/partnercentral-selling/model/AccountSummary.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace PartnerCentralSelling {
20namespace Model {
21
29 public:
30 AWS_PARTNERCENTRALSELLING_API CustomerSummary() = default;
31 AWS_PARTNERCENTRALSELLING_API CustomerSummary(Aws::Utils::Json::JsonView jsonValue);
32 AWS_PARTNERCENTRALSELLING_API CustomerSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const AccountSummary& GetAccount() const { return m_account; }
40 inline bool AccountHasBeenSet() const { return m_accountHasBeenSet; }
41 template <typename AccountT = AccountSummary>
42 void SetAccount(AccountT&& value) {
43 m_accountHasBeenSet = true;
44 m_account = std::forward<AccountT>(value);
45 }
46 template <typename AccountT = AccountSummary>
47 CustomerSummary& WithAccount(AccountT&& value) {
48 SetAccount(std::forward<AccountT>(value));
49 return *this;
50 }
52 private:
53 AccountSummary m_account;
54 bool m_accountHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace PartnerCentralSelling
59} // namespace Aws
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
CustomerSummary & WithAccount(AccountT &&value)
AWS_PARTNERCENTRALSELLING_API CustomerSummary()=default
AWS_PARTNERCENTRALSELLING_API CustomerSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_PARTNERCENTRALSELLING_API CustomerSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue