AWS SDK for C++

AWS SDK for C++ Version 1.11.936

Loading...
Searching...
No Matches
NorwayAdditionalInfo.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/NorwayTaxRegistrationNumberType.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 NorwayAdditionalInfo() = default;
33 AWS_TAXSETTINGS_API NorwayAdditionalInfo(Aws::Utils::Json::JsonView jsonValue);
35 AWS_TAXSETTINGS_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline NorwayTaxRegistrationNumberType GetTaxRegistrationNumberType() const { return m_taxRegistrationNumberType; }
42 inline bool TaxRegistrationNumberTypeHasBeenSet() const { return m_taxRegistrationNumberTypeHasBeenSet; }
44 m_taxRegistrationNumberTypeHasBeenSet = true;
45 m_taxRegistrationNumberType = value;
46 }
52
54
59 inline const Aws::String& GetPeppolId() const { return m_peppolId; }
60 inline bool PeppolIdHasBeenSet() const { return m_peppolIdHasBeenSet; }
61 template <typename PeppolIdT = Aws::String>
62 void SetPeppolId(PeppolIdT&& value) {
63 m_peppolIdHasBeenSet = true;
64 m_peppolId = std::forward<PeppolIdT>(value);
65 }
66 template <typename PeppolIdT = Aws::String>
67 NorwayAdditionalInfo& WithPeppolId(PeppolIdT&& value) {
68 SetPeppolId(std::forward<PeppolIdT>(value));
69 return *this;
70 }
72 private:
74
75 Aws::String m_peppolId;
76 bool m_taxRegistrationNumberTypeHasBeenSet = false;
77 bool m_peppolIdHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace TaxSettings
82} // namespace Aws
AWS_TAXSETTINGS_API NorwayAdditionalInfo(Aws::Utils::Json::JsonView jsonValue)
void SetTaxRegistrationNumberType(NorwayTaxRegistrationNumberType value)
AWS_TAXSETTINGS_API NorwayAdditionalInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
NorwayTaxRegistrationNumberType GetTaxRegistrationNumberType() const
NorwayAdditionalInfo & WithPeppolId(PeppolIdT &&value)
AWS_TAXSETTINGS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TAXSETTINGS_API NorwayAdditionalInfo()=default
NorwayAdditionalInfo & WithTaxRegistrationNumberType(NorwayTaxRegistrationNumberType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue