AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
Receiver.h
1
6#pragma once
7#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
8#include <aws/partnercentral-selling/model/AccountReceiver.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
29class Receiver {
30 public:
31 AWS_PARTNERCENTRALSELLING_API Receiver() = default;
32 AWS_PARTNERCENTRALSELLING_API Receiver(Aws::Utils::Json::JsonView jsonValue);
33 AWS_PARTNERCENTRALSELLING_API Receiver& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
42 inline const AccountReceiver& GetAccount() const { return m_account; }
43 inline bool AccountHasBeenSet() const { return m_accountHasBeenSet; }
44 template <typename AccountT = AccountReceiver>
45 void SetAccount(AccountT&& value) {
46 m_accountHasBeenSet = true;
47 m_account = std::forward<AccountT>(value);
48 }
49 template <typename AccountT = AccountReceiver>
50 Receiver& WithAccount(AccountT&& value) {
51 SetAccount(std::forward<AccountT>(value));
52 return *this;
53 }
55 private:
56 AccountReceiver m_account;
57 bool m_accountHasBeenSet = false;
58};
59
60} // namespace Model
61} // namespace PartnerCentralSelling
62} // namespace Aws
Receiver & WithAccount(AccountT &&value)
Definition Receiver.h:50
AWS_PARTNERCENTRALSELLING_API Receiver()=default
const AccountReceiver & GetAccount() const
Definition Receiver.h:42
AWS_PARTNERCENTRALSELLING_API Receiver(Aws::Utils::Json::JsonView jsonValue)
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PARTNERCENTRALSELLING_API Receiver & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue