AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
AccountReceiver.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.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
30 public:
31 AWS_PARTNERCENTRALSELLING_API AccountReceiver() = default;
32 AWS_PARTNERCENTRALSELLING_API AccountReceiver(Aws::Utils::Json::JsonView jsonValue);
33 AWS_PARTNERCENTRALSELLING_API AccountReceiver& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
42 inline const Aws::String& GetAlias() const { return m_alias; }
43 inline bool AliasHasBeenSet() const { return m_aliasHasBeenSet; }
44 template <typename AliasT = Aws::String>
45 void SetAlias(AliasT&& value) {
46 m_aliasHasBeenSet = true;
47 m_alias = std::forward<AliasT>(value);
48 }
49 template <typename AliasT = Aws::String>
50 AccountReceiver& WithAlias(AliasT&& value) {
51 SetAlias(std::forward<AliasT>(value));
52 return *this;
53 }
55
57
62 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
63 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
64 template <typename AwsAccountIdT = Aws::String>
65 void SetAwsAccountId(AwsAccountIdT&& value) {
66 m_awsAccountIdHasBeenSet = true;
67 m_awsAccountId = std::forward<AwsAccountIdT>(value);
68 }
69 template <typename AwsAccountIdT = Aws::String>
70 AccountReceiver& WithAwsAccountId(AwsAccountIdT&& value) {
71 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
72 return *this;
73 }
75 private:
76 Aws::String m_alias;
77
78 Aws::String m_awsAccountId;
79 bool m_aliasHasBeenSet = false;
80 bool m_awsAccountIdHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace PartnerCentralSelling
85} // namespace Aws
AccountReceiver & WithAwsAccountId(AwsAccountIdT &&value)
AWS_PARTNERCENTRALSELLING_API AccountReceiver & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PARTNERCENTRALSELLING_API AccountReceiver()=default
AWS_PARTNERCENTRALSELLING_API AccountReceiver(Aws::Utils::Json::JsonView jsonValue)
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
AccountReceiver & WithAlias(AliasT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue