AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
BatchPutTaxRegistrationRequest.h
1
6#pragma once
7#include <aws/taxsettings/TaxSettings_EXPORTS.h>
8#include <aws/taxsettings/TaxSettingsRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/taxsettings/model/TaxRegistrationEntry.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16namespace TaxSettings
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_TAXSETTINGS_API BatchPutTaxRegistrationRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "BatchPutTaxRegistration"; }
33
34 AWS_TAXSETTINGS_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::Vector<Aws::String>& GetAccountIds() const { return m_accountIds; }
42 inline bool AccountIdsHasBeenSet() const { return m_accountIdsHasBeenSet; }
43 template<typename AccountIdsT = Aws::Vector<Aws::String>>
44 void SetAccountIds(AccountIdsT&& value) { m_accountIdsHasBeenSet = true; m_accountIds = std::forward<AccountIdsT>(value); }
45 template<typename AccountIdsT = Aws::Vector<Aws::String>>
46 BatchPutTaxRegistrationRequest& WithAccountIds(AccountIdsT&& value) { SetAccountIds(std::forward<AccountIdsT>(value)); return *this;}
47 template<typename AccountIdsT = Aws::String>
48 BatchPutTaxRegistrationRequest& AddAccountIds(AccountIdsT&& value) { m_accountIdsHasBeenSet = true; m_accountIds.emplace_back(std::forward<AccountIdsT>(value)); return *this; }
50
52
56 inline const TaxRegistrationEntry& GetTaxRegistrationEntry() const { return m_taxRegistrationEntry; }
57 inline bool TaxRegistrationEntryHasBeenSet() const { return m_taxRegistrationEntryHasBeenSet; }
58 template<typename TaxRegistrationEntryT = TaxRegistrationEntry>
59 void SetTaxRegistrationEntry(TaxRegistrationEntryT&& value) { m_taxRegistrationEntryHasBeenSet = true; m_taxRegistrationEntry = std::forward<TaxRegistrationEntryT>(value); }
60 template<typename TaxRegistrationEntryT = TaxRegistrationEntry>
61 BatchPutTaxRegistrationRequest& WithTaxRegistrationEntry(TaxRegistrationEntryT&& value) { SetTaxRegistrationEntry(std::forward<TaxRegistrationEntryT>(value)); return *this;}
63 private:
64
65 Aws::Vector<Aws::String> m_accountIds;
66 bool m_accountIdsHasBeenSet = false;
67
68 TaxRegistrationEntry m_taxRegistrationEntry;
69 bool m_taxRegistrationEntryHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace TaxSettings
74} // namespace Aws
BatchPutTaxRegistrationRequest & AddAccountIds(AccountIdsT &&value)
BatchPutTaxRegistrationRequest & WithTaxRegistrationEntry(TaxRegistrationEntryT &&value)
AWS_TAXSETTINGS_API BatchPutTaxRegistrationRequest()=default
BatchPutTaxRegistrationRequest & WithAccountIds(AccountIdsT &&value)
AWS_TAXSETTINGS_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector