AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAccountIds(const Aws::Vector<Aws::String>& value) { m_accountIdsHasBeenSet = true; m_accountIds = value; }
44 inline void SetAccountIds(Aws::Vector<Aws::String>&& value) { m_accountIdsHasBeenSet = true; m_accountIds = std::move(value); }
46 inline BatchPutTaxRegistrationRequest& WithAccountIds(Aws::Vector<Aws::String>&& value) { SetAccountIds(std::move(value)); return *this;}
47 inline BatchPutTaxRegistrationRequest& AddAccountIds(const Aws::String& value) { m_accountIdsHasBeenSet = true; m_accountIds.push_back(value); return *this; }
48 inline BatchPutTaxRegistrationRequest& AddAccountIds(Aws::String&& value) { m_accountIdsHasBeenSet = true; m_accountIds.push_back(std::move(value)); return *this; }
49 inline BatchPutTaxRegistrationRequest& AddAccountIds(const char* value) { m_accountIdsHasBeenSet = true; m_accountIds.push_back(value); return *this; }
51
53
57 inline const TaxRegistrationEntry& GetTaxRegistrationEntry() const{ return m_taxRegistrationEntry; }
58 inline bool TaxRegistrationEntryHasBeenSet() const { return m_taxRegistrationEntryHasBeenSet; }
59 inline void SetTaxRegistrationEntry(const TaxRegistrationEntry& value) { m_taxRegistrationEntryHasBeenSet = true; m_taxRegistrationEntry = value; }
60 inline void SetTaxRegistrationEntry(TaxRegistrationEntry&& value) { m_taxRegistrationEntryHasBeenSet = true; m_taxRegistrationEntry = std::move(value); }
64 private:
65
66 Aws::Vector<Aws::String> m_accountIds;
67 bool m_accountIdsHasBeenSet = false;
68
69 TaxRegistrationEntry m_taxRegistrationEntry;
70 bool m_taxRegistrationEntryHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace TaxSettings
75} // namespace Aws
BatchPutTaxRegistrationRequest & AddAccountIds(const Aws::String &value)
void SetAccountIds(const Aws::Vector< Aws::String > &value)
BatchPutTaxRegistrationRequest & AddAccountIds(Aws::String &&value)
BatchPutTaxRegistrationRequest & WithTaxRegistrationEntry(const TaxRegistrationEntry &value)
BatchPutTaxRegistrationRequest & WithTaxRegistrationEntry(TaxRegistrationEntry &&value)
BatchPutTaxRegistrationRequest & WithAccountIds(Aws::Vector< Aws::String > &&value)
BatchPutTaxRegistrationRequest & WithAccountIds(const Aws::Vector< Aws::String > &value)
BatchPutTaxRegistrationRequest & AddAccountIds(const char *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