AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AccountReceiver.h
1
6#pragma once
7#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace PartnerCentralSelling
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_PARTNERCENTRALSELLING_API AccountReceiver() = default;
37 AWS_PARTNERCENTRALSELLING_API AccountReceiver(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PARTNERCENTRALSELLING_API AccountReceiver& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline const Aws::String& GetAlias() const { return m_alias; }
49 inline bool AliasHasBeenSet() const { return m_aliasHasBeenSet; }
50 template<typename AliasT = Aws::String>
51 void SetAlias(AliasT&& value) { m_aliasHasBeenSet = true; m_alias = std::forward<AliasT>(value); }
52 template<typename AliasT = Aws::String>
53 AccountReceiver& WithAlias(AliasT&& value) { SetAlias(std::forward<AliasT>(value)); return *this;}
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) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::forward<AwsAccountIdT>(value); }
66 template<typename AwsAccountIdT = Aws::String>
67 AccountReceiver& WithAwsAccountId(AwsAccountIdT&& value) { SetAwsAccountId(std::forward<AwsAccountIdT>(value)); return *this;}
69 private:
70
71 Aws::String m_alias;
72 bool m_aliasHasBeenSet = false;
73
74 Aws::String m_awsAccountId;
75 bool m_awsAccountIdHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace PartnerCentralSelling
80} // 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