AWS SDK for C++

AWS SDK for C++ Version 1.11.936

Loading...
Searching...
No Matches
ColombiaAdditionalInfo.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
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
31 public:
32 AWS_TAXSETTINGS_API ColombiaAdditionalInfo() = default;
33 AWS_TAXSETTINGS_API ColombiaAdditionalInfo(Aws::Utils::Json::JsonView jsonValue);
35 AWS_TAXSETTINGS_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline const Aws::Vector<Aws::String>& GetResponsibilityCodes() const { return m_responsibilityCodes; }
43 inline bool ResponsibilityCodesHasBeenSet() const { return m_responsibilityCodesHasBeenSet; }
44 template <typename ResponsibilityCodesT = Aws::Vector<Aws::String>>
45 void SetResponsibilityCodes(ResponsibilityCodesT&& value) {
46 m_responsibilityCodesHasBeenSet = true;
47 m_responsibilityCodes = std::forward<ResponsibilityCodesT>(value);
48 }
49 template <typename ResponsibilityCodesT = Aws::Vector<Aws::String>>
50 ColombiaAdditionalInfo& WithResponsibilityCodes(ResponsibilityCodesT&& value) {
51 SetResponsibilityCodes(std::forward<ResponsibilityCodesT>(value));
52 return *this;
53 }
54 template <typename ResponsibilityCodesT = Aws::String>
55 ColombiaAdditionalInfo& AddResponsibilityCodes(ResponsibilityCodesT&& value) {
56 m_responsibilityCodesHasBeenSet = true;
57 m_responsibilityCodes.emplace_back(std::forward<ResponsibilityCodesT>(value));
58 return *this;
59 }
61
63
67 inline const Aws::String& GetTaxpayerTypeCode() const { return m_taxpayerTypeCode; }
68 inline bool TaxpayerTypeCodeHasBeenSet() const { return m_taxpayerTypeCodeHasBeenSet; }
69 template <typename TaxpayerTypeCodeT = Aws::String>
70 void SetTaxpayerTypeCode(TaxpayerTypeCodeT&& value) {
71 m_taxpayerTypeCodeHasBeenSet = true;
72 m_taxpayerTypeCode = std::forward<TaxpayerTypeCodeT>(value);
73 }
74 template <typename TaxpayerTypeCodeT = Aws::String>
75 ColombiaAdditionalInfo& WithTaxpayerTypeCode(TaxpayerTypeCodeT&& value) {
76 SetTaxpayerTypeCode(std::forward<TaxpayerTypeCodeT>(value));
77 return *this;
78 }
80
82
86 inline const Aws::String& GetIssueDate() const { return m_issueDate; }
87 inline bool IssueDateHasBeenSet() const { return m_issueDateHasBeenSet; }
88 template <typename IssueDateT = Aws::String>
89 void SetIssueDate(IssueDateT&& value) {
90 m_issueDateHasBeenSet = true;
91 m_issueDate = std::forward<IssueDateT>(value);
92 }
93 template <typename IssueDateT = Aws::String>
95 SetIssueDate(std::forward<IssueDateT>(value));
96 return *this;
97 }
99 private:
100 Aws::Vector<Aws::String> m_responsibilityCodes;
101
102 Aws::String m_taxpayerTypeCode;
103
104 Aws::String m_issueDate;
105 bool m_responsibilityCodesHasBeenSet = false;
106 bool m_taxpayerTypeCodeHasBeenSet = false;
107 bool m_issueDateHasBeenSet = false;
108};
109
110} // namespace Model
111} // namespace TaxSettings
112} // namespace Aws
void SetResponsibilityCodes(ResponsibilityCodesT &&value)
ColombiaAdditionalInfo & AddResponsibilityCodes(ResponsibilityCodesT &&value)
ColombiaAdditionalInfo & WithResponsibilityCodes(ResponsibilityCodesT &&value)
AWS_TAXSETTINGS_API Aws::Utils::Json::JsonValue Jsonize() const
ColombiaAdditionalInfo & WithTaxpayerTypeCode(TaxpayerTypeCodeT &&value)
ColombiaAdditionalInfo & WithIssueDate(IssueDateT &&value)
AWS_TAXSETTINGS_API ColombiaAdditionalInfo(Aws::Utils::Json::JsonView jsonValue)
AWS_TAXSETTINGS_API ColombiaAdditionalInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_TAXSETTINGS_API ColombiaAdditionalInfo()=default
const Aws::Vector< Aws::String > & GetResponsibilityCodes() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue