AWS SDK for C++

AWS SDK for C++ Version 1.11.829

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
41 inline const Aws::Vector<MalaysiaServiceTaxCode>& GetServiceTaxCodes() const { return m_serviceTaxCodes; }
42 inline bool ServiceTaxCodesHasBeenSet() const { return m_serviceTaxCodesHasBeenSet; }
43 template <typename ServiceTaxCodesT = Aws::Vector<MalaysiaServiceTaxCode>>
44 void SetServiceTaxCodes(ServiceTaxCodesT&& value) {
45 m_serviceTaxCodesHasBeenSet = true;
46 m_serviceTaxCodes = std::forward<ServiceTaxCodesT>(value);
47 }
48 template <typename ServiceTaxCodesT = Aws::Vector<MalaysiaServiceTaxCode>>
49 MalaysiaAdditionalInfo& WithServiceTaxCodes(ServiceTaxCodesT&& value) {
50 SetServiceTaxCodes(std::forward<ServiceTaxCodesT>(value));
51 return *this;
52 }
54 m_serviceTaxCodesHasBeenSet = true;
55 m_serviceTaxCodes.push_back(value);
56 return *this;
57 }
59
61
77 inline const Aws::String& GetTaxInformationNumber() const { return m_taxInformationNumber; }
78 inline bool TaxInformationNumberHasBeenSet() const { return m_taxInformationNumberHasBeenSet; }
79 template <typename TaxInformationNumberT = Aws::String>
80 void SetTaxInformationNumber(TaxInformationNumberT&& value) {
81 m_taxInformationNumberHasBeenSet = true;
82 m_taxInformationNumber = std::forward<TaxInformationNumberT>(value);
83 }
84 template <typename TaxInformationNumberT = Aws::String>
85 MalaysiaAdditionalInfo& WithTaxInformationNumber(TaxInformationNumberT&& value) {
86 SetTaxInformationNumber(std::forward<TaxInformationNumberT>(value));
87 return *this;
88 }
90
92
110 inline const Aws::String& GetBusinessRegistrationNumber() const { return m_businessRegistrationNumber; }
111 inline bool BusinessRegistrationNumberHasBeenSet() const { return m_businessRegistrationNumberHasBeenSet; }
112 template <typename BusinessRegistrationNumberT = Aws::String>
113 void SetBusinessRegistrationNumber(BusinessRegistrationNumberT&& value) {
114 m_businessRegistrationNumberHasBeenSet = true;
115 m_businessRegistrationNumber = std::forward<BusinessRegistrationNumberT>(value);
116 }
117 template <typename BusinessRegistrationNumberT = Aws::String>
118 MalaysiaAdditionalInfo& WithBusinessRegistrationNumber(BusinessRegistrationNumberT&& value) {
119 SetBusinessRegistrationNumber(std::forward<BusinessRegistrationNumberT>(value));
120 return *this;
121 }
123 private:
124 Aws::Vector<MalaysiaServiceTaxCode> m_serviceTaxCodes;
125
126 Aws::String m_taxInformationNumber;
127
128 Aws::String m_businessRegistrationNumber;
129 bool m_serviceTaxCodesHasBeenSet = false;
130 bool m_taxInformationNumberHasBeenSet = false;
131 bool m_businessRegistrationNumberHasBeenSet = 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