AWS SDK for C++

AWS SDK for C++ Version 1.11.829

Loading...
Searching...
No Matches
ItalyAdditionalInfo.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/taxsettings/TaxSettings_EXPORTS.h>
9#include <aws/taxsettings/model/CustomerType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace TaxSettings {
21namespace Model {
22
30 public:
31 AWS_TAXSETTINGS_API ItalyAdditionalInfo() = default;
32 AWS_TAXSETTINGS_API ItalyAdditionalInfo(Aws::Utils::Json::JsonView jsonValue);
34 AWS_TAXSETTINGS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetSdiAccountId() const { return m_sdiAccountId; }
42 inline bool SdiAccountIdHasBeenSet() const { return m_sdiAccountIdHasBeenSet; }
43 template <typename SdiAccountIdT = Aws::String>
44 void SetSdiAccountId(SdiAccountIdT&& value) {
45 m_sdiAccountIdHasBeenSet = true;
46 m_sdiAccountId = std::forward<SdiAccountIdT>(value);
47 }
48 template <typename SdiAccountIdT = Aws::String>
49 ItalyAdditionalInfo& WithSdiAccountId(SdiAccountIdT&& value) {
50 SetSdiAccountId(std::forward<SdiAccountIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetCigNumber() const { return m_cigNumber; }
60 inline bool CigNumberHasBeenSet() const { return m_cigNumberHasBeenSet; }
61 template <typename CigNumberT = Aws::String>
62 void SetCigNumber(CigNumberT&& value) {
63 m_cigNumberHasBeenSet = true;
64 m_cigNumber = std::forward<CigNumberT>(value);
65 }
66 template <typename CigNumberT = Aws::String>
67 ItalyAdditionalInfo& WithCigNumber(CigNumberT&& value) {
68 SetCigNumber(std::forward<CigNumberT>(value));
69 return *this;
70 }
72
74
79 inline const Aws::String& GetCupNumber() const { return m_cupNumber; }
80 inline bool CupNumberHasBeenSet() const { return m_cupNumberHasBeenSet; }
81 template <typename CupNumberT = Aws::String>
82 void SetCupNumber(CupNumberT&& value) {
83 m_cupNumberHasBeenSet = true;
84 m_cupNumber = std::forward<CupNumberT>(value);
85 }
86 template <typename CupNumberT = Aws::String>
87 ItalyAdditionalInfo& WithCupNumber(CupNumberT&& value) {
88 SetCupNumber(std::forward<CupNumberT>(value));
89 return *this;
90 }
92
94
98 inline const Aws::String& GetTaxCode() const { return m_taxCode; }
99 inline bool TaxCodeHasBeenSet() const { return m_taxCodeHasBeenSet; }
100 template <typename TaxCodeT = Aws::String>
101 void SetTaxCode(TaxCodeT&& value) {
102 m_taxCodeHasBeenSet = true;
103 m_taxCode = std::forward<TaxCodeT>(value);
104 }
105 template <typename TaxCodeT = Aws::String>
106 ItalyAdditionalInfo& WithTaxCode(TaxCodeT&& value) {
107 SetTaxCode(std::forward<TaxCodeT>(value));
108 return *this;
109 }
111
113
117 inline CustomerType GetCustomerType() const { return m_customerType; }
118 inline bool CustomerTypeHasBeenSet() const { return m_customerTypeHasBeenSet; }
119 inline void SetCustomerType(CustomerType value) {
120 m_customerTypeHasBeenSet = true;
121 m_customerType = value;
122 }
124 SetCustomerType(value);
125 return *this;
126 }
128 private:
129 Aws::String m_sdiAccountId;
130
131 Aws::String m_cigNumber;
132
133 Aws::String m_cupNumber;
134
135 Aws::String m_taxCode;
136
137 CustomerType m_customerType{CustomerType::NOT_SET};
138 bool m_sdiAccountIdHasBeenSet = false;
139 bool m_cigNumberHasBeenSet = false;
140 bool m_cupNumberHasBeenSet = false;
141 bool m_taxCodeHasBeenSet = false;
142 bool m_customerTypeHasBeenSet = false;
143};
144
145} // namespace Model
146} // namespace TaxSettings
147} // namespace Aws
AWS_TAXSETTINGS_API ItalyAdditionalInfo(Aws::Utils::Json::JsonView jsonValue)
ItalyAdditionalInfo & WithSdiAccountId(SdiAccountIdT &&value)
ItalyAdditionalInfo & WithCigNumber(CigNumberT &&value)
AWS_TAXSETTINGS_API ItalyAdditionalInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
ItalyAdditionalInfo & WithTaxCode(TaxCodeT &&value)
AWS_TAXSETTINGS_API ItalyAdditionalInfo()=default
ItalyAdditionalInfo & WithCupNumber(CupNumberT &&value)
ItalyAdditionalInfo & WithCustomerType(CustomerType value)
AWS_TAXSETTINGS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue