AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MalaysiaAdditionalInfo.h
1
6#pragma once
7#include <aws/taxsettings/TaxSettings_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/taxsettings/model/MalaysiaServiceTaxCode.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace TaxSettings
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_TAXSETTINGS_API MalaysiaAdditionalInfo();
38 AWS_TAXSETTINGS_API MalaysiaAdditionalInfo(Aws::Utils::Json::JsonView jsonValue);
40 AWS_TAXSETTINGS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
62 inline const Aws::String& GetBusinessRegistrationNumber() const{ return m_businessRegistrationNumber; }
63 inline bool BusinessRegistrationNumberHasBeenSet() const { return m_businessRegistrationNumberHasBeenSet; }
64 inline void SetBusinessRegistrationNumber(const Aws::String& value) { m_businessRegistrationNumberHasBeenSet = true; m_businessRegistrationNumber = value; }
65 inline void SetBusinessRegistrationNumber(Aws::String&& value) { m_businessRegistrationNumberHasBeenSet = true; m_businessRegistrationNumber = std::move(value); }
66 inline void SetBusinessRegistrationNumber(const char* value) { m_businessRegistrationNumberHasBeenSet = true; m_businessRegistrationNumber.assign(value); }
71
73
76 inline const Aws::Vector<MalaysiaServiceTaxCode>& GetServiceTaxCodes() const{ return m_serviceTaxCodes; }
77 inline bool ServiceTaxCodesHasBeenSet() const { return m_serviceTaxCodesHasBeenSet; }
78 inline void SetServiceTaxCodes(const Aws::Vector<MalaysiaServiceTaxCode>& value) { m_serviceTaxCodesHasBeenSet = true; m_serviceTaxCodes = value; }
79 inline void SetServiceTaxCodes(Aws::Vector<MalaysiaServiceTaxCode>&& value) { m_serviceTaxCodesHasBeenSet = true; m_serviceTaxCodes = std::move(value); }
82 inline MalaysiaAdditionalInfo& AddServiceTaxCodes(const MalaysiaServiceTaxCode& value) { m_serviceTaxCodesHasBeenSet = true; m_serviceTaxCodes.push_back(value); return *this; }
83 inline MalaysiaAdditionalInfo& AddServiceTaxCodes(MalaysiaServiceTaxCode&& value) { m_serviceTaxCodesHasBeenSet = true; m_serviceTaxCodes.push_back(std::move(value)); return *this; }
85
87
103 inline const Aws::String& GetTaxInformationNumber() const{ return m_taxInformationNumber; }
104 inline bool TaxInformationNumberHasBeenSet() const { return m_taxInformationNumberHasBeenSet; }
105 inline void SetTaxInformationNumber(const Aws::String& value) { m_taxInformationNumberHasBeenSet = true; m_taxInformationNumber = value; }
106 inline void SetTaxInformationNumber(Aws::String&& value) { m_taxInformationNumberHasBeenSet = true; m_taxInformationNumber = std::move(value); }
107 inline void SetTaxInformationNumber(const char* value) { m_taxInformationNumberHasBeenSet = true; m_taxInformationNumber.assign(value); }
109 inline MalaysiaAdditionalInfo& WithTaxInformationNumber(Aws::String&& value) { SetTaxInformationNumber(std::move(value)); return *this;}
110 inline MalaysiaAdditionalInfo& WithTaxInformationNumber(const char* value) { SetTaxInformationNumber(value); return *this;}
112 private:
113
114 Aws::String m_businessRegistrationNumber;
115 bool m_businessRegistrationNumberHasBeenSet = false;
116
117 Aws::Vector<MalaysiaServiceTaxCode> m_serviceTaxCodes;
118 bool m_serviceTaxCodesHasBeenSet = false;
119
120 Aws::String m_taxInformationNumber;
121 bool m_taxInformationNumberHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace TaxSettings
126} // namespace Aws
MalaysiaAdditionalInfo & WithServiceTaxCodes(const Aws::Vector< MalaysiaServiceTaxCode > &value)
MalaysiaAdditionalInfo & WithBusinessRegistrationNumber(const Aws::String &value)
MalaysiaAdditionalInfo & AddServiceTaxCodes(const MalaysiaServiceTaxCode &value)
void SetServiceTaxCodes(const Aws::Vector< MalaysiaServiceTaxCode > &value)
MalaysiaAdditionalInfo & WithTaxInformationNumber(const Aws::String &value)
MalaysiaAdditionalInfo & WithTaxInformationNumber(const char *value)
void SetBusinessRegistrationNumber(const Aws::String &value)
MalaysiaAdditionalInfo & WithTaxInformationNumber(Aws::String &&value)
AWS_TAXSETTINGS_API MalaysiaAdditionalInfo(Aws::Utils::Json::JsonView jsonValue)
MalaysiaAdditionalInfo & AddServiceTaxCodes(MalaysiaServiceTaxCode &&value)
void SetServiceTaxCodes(Aws::Vector< MalaysiaServiceTaxCode > &&value)
MalaysiaAdditionalInfo & WithBusinessRegistrationNumber(Aws::String &&value)
MalaysiaAdditionalInfo & WithBusinessRegistrationNumber(const char *value)
const Aws::Vector< MalaysiaServiceTaxCode > & GetServiceTaxCodes() const
AWS_TAXSETTINGS_API Aws::Utils::Json::JsonValue Jsonize() const
MalaysiaAdditionalInfo & WithServiceTaxCodes(Aws::Vector< MalaysiaServiceTaxCode > &&value)
AWS_TAXSETTINGS_API MalaysiaAdditionalInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue