AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
BrazilAdditionalInfo.h
1
6#pragma once
7#include <aws/taxsettings/TaxSettings_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace TaxSettings
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_TAXSETTINGS_API BrazilAdditionalInfo() = default;
36 AWS_TAXSETTINGS_API BrazilAdditionalInfo(Aws::Utils::Json::JsonView jsonValue);
38 AWS_TAXSETTINGS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetCcmCode() const { return m_ccmCode; }
47 inline bool CcmCodeHasBeenSet() const { return m_ccmCodeHasBeenSet; }
48 template<typename CcmCodeT = Aws::String>
49 void SetCcmCode(CcmCodeT&& value) { m_ccmCodeHasBeenSet = true; m_ccmCode = std::forward<CcmCodeT>(value); }
50 template<typename CcmCodeT = Aws::String>
51 BrazilAdditionalInfo& WithCcmCode(CcmCodeT&& value) { SetCcmCode(std::forward<CcmCodeT>(value)); return *this;}
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) { m_legalNatureCodeHasBeenSet = true; m_legalNatureCode = std::forward<LegalNatureCodeT>(value); }
63 template<typename LegalNatureCodeT = Aws::String>
64 BrazilAdditionalInfo& WithLegalNatureCode(LegalNatureCodeT&& value) { SetLegalNatureCode(std::forward<LegalNatureCodeT>(value)); return *this;}
66 private:
67
68 Aws::String m_ccmCode;
69 bool m_ccmCodeHasBeenSet = false;
70
71 Aws::String m_legalNatureCode;
72 bool m_legalNatureCodeHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace TaxSettings
77} // 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