AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAccountName(const Aws::String& value) { m_accountNameHasBeenSet = true; m_accountName = value; }
52 inline void SetAccountName(Aws::String&& value) { m_accountNameHasBeenSet = true; m_accountName = std::move(value); }
53 inline void SetAccountName(const char* value) { m_accountNameHasBeenSet = true; m_accountName.assign(value); }
54 inline AccountMetaData& WithAccountName(const Aws::String& value) { SetAccountName(value); return *this;}
55 inline AccountMetaData& WithAccountName(Aws::String&& value) { SetAccountName(std::move(value)); return *this;}
56 inline AccountMetaData& WithAccountName(const char* value) { SetAccountName(value); return *this;}
58
60
61 inline const Address& GetAddress() const{ return m_address; }
62 inline bool AddressHasBeenSet() const { return m_addressHasBeenSet; }
63 inline void SetAddress(const Address& value) { m_addressHasBeenSet = true; m_address = value; }
64 inline void SetAddress(Address&& value) { m_addressHasBeenSet = true; m_address = std::move(value); }
65 inline AccountMetaData& WithAddress(const Address& value) { SetAddress(value); return *this;}
66 inline AccountMetaData& WithAddress(Address&& value) { SetAddress(std::move(value)); return *this;}
68
70
74 inline const Aws::Map<AddressRoleType, Jurisdiction>& GetAddressRoleMap() const{ return m_addressRoleMap; }
75 inline bool AddressRoleMapHasBeenSet() const { return m_addressRoleMapHasBeenSet; }
76 inline void SetAddressRoleMap(const Aws::Map<AddressRoleType, Jurisdiction>& value) { m_addressRoleMapHasBeenSet = true; m_addressRoleMap = value; }
77 inline void SetAddressRoleMap(Aws::Map<AddressRoleType, Jurisdiction>&& value) { m_addressRoleMapHasBeenSet = true; m_addressRoleMap = std::move(value); }
80 inline AccountMetaData& AddAddressRoleMap(const AddressRoleType& key, const Jurisdiction& value) { m_addressRoleMapHasBeenSet = true; m_addressRoleMap.emplace(key, value); return *this; }
81 inline AccountMetaData& AddAddressRoleMap(AddressRoleType&& key, const Jurisdiction& value) { m_addressRoleMapHasBeenSet = true; m_addressRoleMap.emplace(std::move(key), value); return *this; }
82 inline AccountMetaData& AddAddressRoleMap(const AddressRoleType& key, Jurisdiction&& value) { m_addressRoleMapHasBeenSet = true; m_addressRoleMap.emplace(key, std::move(value)); return *this; }
83 inline AccountMetaData& AddAddressRoleMap(AddressRoleType&& key, Jurisdiction&& value) { m_addressRoleMapHasBeenSet = true; m_addressRoleMap.emplace(std::move(key), std::move(value)); return *this; }
85
87
90 inline const AddressRoleType& GetAddressType() const{ return m_addressType; }
91 inline bool AddressTypeHasBeenSet() const { return m_addressTypeHasBeenSet; }
92 inline void SetAddressType(const AddressRoleType& value) { m_addressTypeHasBeenSet = true; m_addressType = value; }
93 inline void SetAddressType(AddressRoleType&& value) { m_addressTypeHasBeenSet = true; m_addressType = std::move(value); }
94 inline AccountMetaData& WithAddressType(const AddressRoleType& value) { SetAddressType(value); return *this;}
95 inline AccountMetaData& WithAddressType(AddressRoleType&& value) { SetAddressType(std::move(value)); return *this;}
97
99
102 inline const Aws::String& GetSeller() const{ return m_seller; }
103 inline bool SellerHasBeenSet() const { return m_sellerHasBeenSet; }
104 inline void SetSeller(const Aws::String& value) { m_sellerHasBeenSet = true; m_seller = value; }
105 inline void SetSeller(Aws::String&& value) { m_sellerHasBeenSet = true; m_seller = std::move(value); }
106 inline void SetSeller(const char* value) { m_sellerHasBeenSet = true; m_seller.assign(value); }
107 inline AccountMetaData& WithSeller(const Aws::String& value) { SetSeller(value); return *this;}
108 inline AccountMetaData& WithSeller(Aws::String&& value) { SetSeller(std::move(value)); return *this;}
109 inline AccountMetaData& WithSeller(const char* value) { SetSeller(value); return *this;}
111 private:
112
113 Aws::String m_accountName;
114 bool m_accountNameHasBeenSet = false;
115
116 Address m_address;
117 bool m_addressHasBeenSet = false;
118
120 bool m_addressRoleMapHasBeenSet = false;
121
122 AddressRoleType m_addressType;
123 bool m_addressTypeHasBeenSet = false;
124
125 Aws::String m_seller;
126 bool m_sellerHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace TaxSettings
131} // namespace Aws
AccountMetaData & AddAddressRoleMap(const AddressRoleType &key, Jurisdiction &&value)
const Aws::Map< AddressRoleType, Jurisdiction > & GetAddressRoleMap() const
AccountMetaData & WithAddress(const Address &value)
AccountMetaData & AddAddressRoleMap(const AddressRoleType &key, const Jurisdiction &value)
void SetAccountName(const Aws::String &value)
void SetSeller(const Aws::String &value)
AccountMetaData & WithSeller(const Aws::String &value)
AccountMetaData & AddAddressRoleMap(AddressRoleType &&key, const Jurisdiction &value)
void SetAddressType(const AddressRoleType &value)
AccountMetaData & WithSeller(const char *value)
const Aws::String & GetAccountName() const
AWS_TAXSETTINGS_API Aws::Utils::Json::JsonValue Jsonize() const
AccountMetaData & AddAddressRoleMap(AddressRoleType &&key, Jurisdiction &&value)
AccountMetaData & WithSeller(Aws::String &&value)
AccountMetaData & WithAddressType(AddressRoleType &&value)
AccountMetaData & WithAccountName(const Aws::String &value)
AWS_TAXSETTINGS_API AccountMetaData & operator=(Aws::Utils::Json::JsonView jsonValue)
AccountMetaData & WithAddressRoleMap(const Aws::Map< AddressRoleType, Jurisdiction > &value)
const Aws::String & GetSeller() const
AWS_TAXSETTINGS_API AccountMetaData(Aws::Utils::Json::JsonView jsonValue)
void SetAddress(const Address &value)
AccountMetaData & WithAddressType(const AddressRoleType &value)
AccountMetaData & WithAddressRoleMap(Aws::Map< AddressRoleType, Jurisdiction > &&value)
void SetAddressRoleMap(Aws::Map< AddressRoleType, Jurisdiction > &&value)
AccountMetaData & WithAccountName(Aws::String &&value)
AccountMetaData & WithAddress(Address &&value)
void SetAccountName(Aws::String &&value)
AccountMetaData & WithAccountName(const char *value)
const AddressRoleType & GetAddressType() const
void SetAddressType(AddressRoleType &&value)
void SetAddressRoleMap(const Aws::Map< AddressRoleType, Jurisdiction > &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