AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
BrazilAdditionalInfo.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
29 public:
30 AWS_TAXSETTINGS_API BrazilAdditionalInfo() = default;
31 AWS_TAXSETTINGS_API BrazilAdditionalInfo(Aws::Utils::Json::JsonView jsonValue);
33 AWS_TAXSETTINGS_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetCcmCode() const { return m_ccmCode; }
41 inline bool CcmCodeHasBeenSet() const { return m_ccmCodeHasBeenSet; }
42 template <typename CcmCodeT = Aws::String>
43 void SetCcmCode(CcmCodeT&& value) {
44 m_ccmCodeHasBeenSet = true;
45 m_ccmCode = std::forward<CcmCodeT>(value);
46 }
47 template <typename CcmCodeT = Aws::String>
48 BrazilAdditionalInfo& WithCcmCode(CcmCodeT&& value) {
49 SetCcmCode(std::forward<CcmCodeT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetLegalNatureCode() const { return m_legalNatureCode; }
60 inline bool LegalNatureCodeHasBeenSet() const { return m_legalNatureCodeHasBeenSet; }
61 template <typename LegalNatureCodeT = Aws::String>
62 void SetLegalNatureCode(LegalNatureCodeT&& value) {
63 m_legalNatureCodeHasBeenSet = true;
64 m_legalNatureCode = std::forward<LegalNatureCodeT>(value);
65 }
66 template <typename LegalNatureCodeT = Aws::String>
67 BrazilAdditionalInfo& WithLegalNatureCode(LegalNatureCodeT&& value) {
68 SetLegalNatureCode(std::forward<LegalNatureCodeT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_ccmCode;
74
75 Aws::String m_legalNatureCode;
76 bool m_ccmCodeHasBeenSet = false;
77 bool m_legalNatureCodeHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace TaxSettings
82} // namespace Aws
AWS_TAXSETTINGS_API BrazilAdditionalInfo()=default
AWS_TAXSETTINGS_API BrazilAdditionalInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
BrazilAdditionalInfo & WithLegalNatureCode(LegalNatureCodeT &&value)
BrazilAdditionalInfo & WithCcmCode(CcmCodeT &&value)
void SetLegalNatureCode(LegalNatureCodeT &&value)
AWS_TAXSETTINGS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TAXSETTINGS_API BrazilAdditionalInfo(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue