AWS SDK for C++

AWS SDK for C++ Version 1.11.936

Loading...
Searching...
No Matches
MexicoAdditionalInfo.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/taxsettings/TaxSettings_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace TaxSettings {
20namespace Model {
21
30 public:
31 AWS_TAXSETTINGS_API MexicoAdditionalInfo() = default;
32 AWS_TAXSETTINGS_API MexicoAdditionalInfo(Aws::Utils::Json::JsonView jsonValue);
34 AWS_TAXSETTINGS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
42 inline const Aws::String& GetTaxRegime() const { return m_taxRegime; }
43 inline bool TaxRegimeHasBeenSet() const { return m_taxRegimeHasBeenSet; }
44 template <typename TaxRegimeT = Aws::String>
45 void SetTaxRegime(TaxRegimeT&& value) {
46 m_taxRegimeHasBeenSet = true;
47 m_taxRegime = std::forward<TaxRegimeT>(value);
48 }
49 template <typename TaxRegimeT = Aws::String>
50 MexicoAdditionalInfo& WithTaxRegime(TaxRegimeT&& value) {
51 SetTaxRegime(std::forward<TaxRegimeT>(value));
52 return *this;
53 }
55
57
61 inline const Aws::String& GetTaxRegimeFullName() const { return m_taxRegimeFullName; }
62 inline bool TaxRegimeFullNameHasBeenSet() const { return m_taxRegimeFullNameHasBeenSet; }
63 template <typename TaxRegimeFullNameT = Aws::String>
64 void SetTaxRegimeFullName(TaxRegimeFullNameT&& value) {
65 m_taxRegimeFullNameHasBeenSet = true;
66 m_taxRegimeFullName = std::forward<TaxRegimeFullNameT>(value);
67 }
68 template <typename TaxRegimeFullNameT = Aws::String>
69 MexicoAdditionalInfo& WithTaxRegimeFullName(TaxRegimeFullNameT&& value) {
70 SetTaxRegimeFullName(std::forward<TaxRegimeFullNameT>(value));
71 return *this;
72 }
74
76
81 inline const Aws::String& GetCfdiUsageCode() const { return m_cfdiUsageCode; }
82 inline bool CfdiUsageCodeHasBeenSet() const { return m_cfdiUsageCodeHasBeenSet; }
83 template <typename CfdiUsageCodeT = Aws::String>
84 void SetCfdiUsageCode(CfdiUsageCodeT&& value) {
85 m_cfdiUsageCodeHasBeenSet = true;
86 m_cfdiUsageCode = std::forward<CfdiUsageCodeT>(value);
87 }
88 template <typename CfdiUsageCodeT = Aws::String>
89 MexicoAdditionalInfo& WithCfdiUsageCode(CfdiUsageCodeT&& value) {
90 SetCfdiUsageCode(std::forward<CfdiUsageCodeT>(value));
91 return *this;
92 }
94 private:
95 Aws::String m_taxRegime;
96
97 Aws::String m_taxRegimeFullName;
98
99 Aws::String m_cfdiUsageCode;
100 bool m_taxRegimeHasBeenSet = false;
101 bool m_taxRegimeFullNameHasBeenSet = false;
102 bool m_cfdiUsageCodeHasBeenSet = false;
103};
104
105} // namespace Model
106} // namespace TaxSettings
107} // namespace Aws
AWS_TAXSETTINGS_API Aws::Utils::Json::JsonValue Jsonize() const
MexicoAdditionalInfo & WithTaxRegime(TaxRegimeT &&value)
MexicoAdditionalInfo & WithCfdiUsageCode(CfdiUsageCodeT &&value)
AWS_TAXSETTINGS_API MexicoAdditionalInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTaxRegimeFullName(TaxRegimeFullNameT &&value)
AWS_TAXSETTINGS_API MexicoAdditionalInfo(Aws::Utils::Json::JsonView jsonValue)
MexicoAdditionalInfo & WithTaxRegimeFullName(TaxRegimeFullNameT &&value)
AWS_TAXSETTINGS_API MexicoAdditionalInfo()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue