AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutTaxRegistrationRequest.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/AWSString.h>
10#include <aws/taxsettings/model/TaxRegistrationEntry.h>
11#include <utility>
12
13namespace Aws
14{
15namespace TaxSettings
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_TAXSETTINGS_API PutTaxRegistrationRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "PutTaxRegistration"; }
32
33 AWS_TAXSETTINGS_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetAccountId() const{ return m_accountId; }
41 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
42 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
43 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
44 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
45 inline PutTaxRegistrationRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
46 inline PutTaxRegistrationRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
47 inline PutTaxRegistrationRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
49
51
55 inline const TaxRegistrationEntry& GetTaxRegistrationEntry() const{ return m_taxRegistrationEntry; }
56 inline bool TaxRegistrationEntryHasBeenSet() const { return m_taxRegistrationEntryHasBeenSet; }
57 inline void SetTaxRegistrationEntry(const TaxRegistrationEntry& value) { m_taxRegistrationEntryHasBeenSet = true; m_taxRegistrationEntry = value; }
58 inline void SetTaxRegistrationEntry(TaxRegistrationEntry&& value) { m_taxRegistrationEntryHasBeenSet = true; m_taxRegistrationEntry = std::move(value); }
62 private:
63
64 Aws::String m_accountId;
65 bool m_accountIdHasBeenSet = false;
66
67 TaxRegistrationEntry m_taxRegistrationEntry;
68 bool m_taxRegistrationEntryHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace TaxSettings
73} // namespace Aws
virtual const char * GetServiceRequestName() const override
void SetTaxRegistrationEntry(const TaxRegistrationEntry &value)
PutTaxRegistrationRequest & WithAccountId(const Aws::String &value)
PutTaxRegistrationRequest & WithTaxRegistrationEntry(const TaxRegistrationEntry &value)
AWS_TAXSETTINGS_API Aws::String SerializePayload() const override
const TaxRegistrationEntry & GetTaxRegistrationEntry() const
PutTaxRegistrationRequest & WithAccountId(const char *value)
PutTaxRegistrationRequest & WithTaxRegistrationEntry(TaxRegistrationEntry &&value)
PutTaxRegistrationRequest & WithAccountId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String