AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AccountMetaData.h
1
6#pragma once
7#include <aws/taxsettings/TaxSettings_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/taxsettings/model/Address.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/taxsettings/model/AddressRoleType.h>
12#include <aws/taxsettings/model/Jurisdiction.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace TaxSettings
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_TAXSETTINGS_API AccountMetaData() = default;
40 AWS_TAXSETTINGS_API AccountMetaData(Aws::Utils::Json::JsonView jsonValue);
41 AWS_TAXSETTINGS_API AccountMetaData& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_TAXSETTINGS_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetAccountName() const { return m_accountName; }
50 inline bool AccountNameHasBeenSet() const { return m_accountNameHasBeenSet; }
51 template<typename AccountNameT = Aws::String>
52 void SetAccountName(AccountNameT&& value) { m_accountNameHasBeenSet = true; m_accountName = std::forward<AccountNameT>(value); }
53 template<typename AccountNameT = Aws::String>
54 AccountMetaData& WithAccountName(AccountNameT&& value) { SetAccountName(std::forward<AccountNameT>(value)); return *this;}
56
58
59 inline const Address& GetAddress() const { return m_address; }
60 inline bool AddressHasBeenSet() const { return m_addressHasBeenSet; }
61 template<typename AddressT = Address>
62 void SetAddress(AddressT&& value) { m_addressHasBeenSet = true; m_address = std::forward<AddressT>(value); }
63 template<typename AddressT = Address>
64 AccountMetaData& WithAddress(AddressT&& value) { SetAddress(std::forward<AddressT>(value)); return *this;}
66
68
72 inline const Aws::Map<AddressRoleType, Jurisdiction>& GetAddressRoleMap() const { return m_addressRoleMap; }
73 inline bool AddressRoleMapHasBeenSet() const { return m_addressRoleMapHasBeenSet; }
74 template<typename AddressRoleMapT = Aws::Map<AddressRoleType, Jurisdiction>>
75 void SetAddressRoleMap(AddressRoleMapT&& value) { m_addressRoleMapHasBeenSet = true; m_addressRoleMap = std::forward<AddressRoleMapT>(value); }
76 template<typename AddressRoleMapT = Aws::Map<AddressRoleType, Jurisdiction>>
77 AccountMetaData& WithAddressRoleMap(AddressRoleMapT&& value) { SetAddressRoleMap(std::forward<AddressRoleMapT>(value)); return *this;}
79 m_addressRoleMapHasBeenSet = true; m_addressRoleMap.emplace(key, value); return *this;
80 }
82
84
87 inline AddressRoleType GetAddressType() const { return m_addressType; }
88 inline bool AddressTypeHasBeenSet() const { return m_addressTypeHasBeenSet; }
89 inline void SetAddressType(AddressRoleType value) { m_addressTypeHasBeenSet = true; m_addressType = value; }
90 inline AccountMetaData& WithAddressType(AddressRoleType value) { SetAddressType(value); return *this;}
92
94
97 inline const Aws::String& GetSeller() const { return m_seller; }
98 inline bool SellerHasBeenSet() const { return m_sellerHasBeenSet; }
99 template<typename SellerT = Aws::String>
100 void SetSeller(SellerT&& value) { m_sellerHasBeenSet = true; m_seller = std::forward<SellerT>(value); }
101 template<typename SellerT = Aws::String>
102 AccountMetaData& WithSeller(SellerT&& value) { SetSeller(std::forward<SellerT>(value)); return *this;}
104 private:
105
106 Aws::String m_accountName;
107 bool m_accountNameHasBeenSet = false;
108
109 Address m_address;
110 bool m_addressHasBeenSet = false;
111
113 bool m_addressRoleMapHasBeenSet = false;
114
116 bool m_addressTypeHasBeenSet = false;
117
118 Aws::String m_seller;
119 bool m_sellerHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace TaxSettings
124} // namespace Aws
const Aws::Map< AddressRoleType, Jurisdiction > & GetAddressRoleMap() const
void SetAccountName(AccountNameT &&value)
const Aws::String & GetAccountName() const
AWS_TAXSETTINGS_API Aws::Utils::Json::JsonValue Jsonize() const
AccountMetaData & WithAddressRoleMap(AddressRoleMapT &&value)
AccountMetaData & AddAddressRoleMap(AddressRoleType key, Jurisdiction value)
AWS_TAXSETTINGS_API AccountMetaData & operator=(Aws::Utils::Json::JsonView jsonValue)
AccountMetaData & WithAccountName(AccountNameT &&value)
AWS_TAXSETTINGS_API AccountMetaData()=default
const Aws::String & GetSeller() const
AccountMetaData & WithSeller(SellerT &&value)
AWS_TAXSETTINGS_API AccountMetaData(Aws::Utils::Json::JsonView jsonValue)
void SetAddressRoleMap(AddressRoleMapT &&value)
AccountMetaData & WithAddressType(AddressRoleType value)
AccountMetaData & WithAddress(AddressT &&value)
void SetAddressType(AddressRoleType value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue