AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
MalaysiaAdditionalInfo.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/taxsettings/TaxSettings_EXPORTS.h>
10#include <aws/taxsettings/model/MalaysiaServiceTaxCode.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace TaxSettings {
22namespace Model {
23
31 public:
32 AWS_TAXSETTINGS_API MalaysiaAdditionalInfo() = default;
33 AWS_TAXSETTINGS_API MalaysiaAdditionalInfo(Aws::Utils::Json::JsonView jsonValue);
35 AWS_TAXSETTINGS_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
56 inline const Aws::String& GetBusinessRegistrationNumber() const { return m_businessRegistrationNumber; }
57 inline bool BusinessRegistrationNumberHasBeenSet() const { return m_businessRegistrationNumberHasBeenSet; }
58 template <typename BusinessRegistrationNumberT = Aws::String>
59 void SetBusinessRegistrationNumber(BusinessRegistrationNumberT&& value) {
60 m_businessRegistrationNumberHasBeenSet = true;
61 m_businessRegistrationNumber = std::forward<BusinessRegistrationNumberT>(value);
62 }
63 template <typename BusinessRegistrationNumberT = Aws::String>
64 MalaysiaAdditionalInfo& WithBusinessRegistrationNumber(BusinessRegistrationNumberT&& value) {
65 SetBusinessRegistrationNumber(std::forward<BusinessRegistrationNumberT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::Vector<MalaysiaServiceTaxCode>& GetServiceTaxCodes() const { return m_serviceTaxCodes; }
75 inline bool ServiceTaxCodesHasBeenSet() const { return m_serviceTaxCodesHasBeenSet; }
76 template <typename ServiceTaxCodesT = Aws::Vector<MalaysiaServiceTaxCode>>
77 void SetServiceTaxCodes(ServiceTaxCodesT&& value) {
78 m_serviceTaxCodesHasBeenSet = true;
79 m_serviceTaxCodes = std::forward<ServiceTaxCodesT>(value);
80 }
81 template <typename ServiceTaxCodesT = Aws::Vector<MalaysiaServiceTaxCode>>
82 MalaysiaAdditionalInfo& WithServiceTaxCodes(ServiceTaxCodesT&& value) {
83 SetServiceTaxCodes(std::forward<ServiceTaxCodesT>(value));
84 return *this;
85 }
87 m_serviceTaxCodesHasBeenSet = true;
88 m_serviceTaxCodes.push_back(value);
89 return *this;
90 }
92
94
110 inline const Aws::String& GetTaxInformationNumber() const { return m_taxInformationNumber; }
111 inline bool TaxInformationNumberHasBeenSet() const { return m_taxInformationNumberHasBeenSet; }
112 template <typename TaxInformationNumberT = Aws::String>
113 void SetTaxInformationNumber(TaxInformationNumberT&& value) {
114 m_taxInformationNumberHasBeenSet = true;
115 m_taxInformationNumber = std::forward<TaxInformationNumberT>(value);
116 }
117 template <typename TaxInformationNumberT = Aws::String>
118 MalaysiaAdditionalInfo& WithTaxInformationNumber(TaxInformationNumberT&& value) {
119 SetTaxInformationNumber(std::forward<TaxInformationNumberT>(value));
120 return *this;
121 }
123 private:
124 Aws::String m_businessRegistrationNumber;
125
126 Aws::Vector<MalaysiaServiceTaxCode> m_serviceTaxCodes;
127
128 Aws::String m_taxInformationNumber;
129 bool m_businessRegistrationNumberHasBeenSet = false;
130 bool m_serviceTaxCodesHasBeenSet = false;
131 bool m_taxInformationNumberHasBeenSet = false;
132};
133
134} // namespace Model
135} // namespace TaxSettings
136} // namespace Aws
MalaysiaAdditionalInfo & WithServiceTaxCodes(ServiceTaxCodesT &&value)
MalaysiaAdditionalInfo & WithTaxInformationNumber(TaxInformationNumberT &&value)
MalaysiaAdditionalInfo & WithBusinessRegistrationNumber(BusinessRegistrationNumberT &&value)
void SetBusinessRegistrationNumber(BusinessRegistrationNumberT &&value)
AWS_TAXSETTINGS_API MalaysiaAdditionalInfo(Aws::Utils::Json::JsonView jsonValue)
MalaysiaAdditionalInfo & AddServiceTaxCodes(MalaysiaServiceTaxCode value)
void SetTaxInformationNumber(TaxInformationNumberT &&value)
AWS_TAXSETTINGS_API MalaysiaAdditionalInfo()=default
const Aws::Vector< MalaysiaServiceTaxCode > & GetServiceTaxCodes() const
AWS_TAXSETTINGS_API Aws::Utils::Json::JsonValue Jsonize() const
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