AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
BatchPutTaxRegistrationError.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 BatchPutTaxRegistrationError() = default;
38 AWS_TAXSETTINGS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
47 inline const Aws::String& GetAccountId() const { return m_accountId; }
48 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
49 template<typename AccountIdT = Aws::String>
50 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
51 template<typename AccountIdT = Aws::String>
52 BatchPutTaxRegistrationError& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
54
56
60 inline const Aws::String& GetCode() const { return m_code; }
61 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
62 template<typename CodeT = Aws::String>
63 void SetCode(CodeT&& value) { m_codeHasBeenSet = true; m_code = std::forward<CodeT>(value); }
64 template<typename CodeT = Aws::String>
65 BatchPutTaxRegistrationError& WithCode(CodeT&& value) { SetCode(std::forward<CodeT>(value)); return *this;}
67
69
73 inline const Aws::String& GetMessage() const { return m_message; }
74 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
75 template<typename MessageT = Aws::String>
76 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
77 template<typename MessageT = Aws::String>
78 BatchPutTaxRegistrationError& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
80 private:
81
82 Aws::String m_accountId;
83 bool m_accountIdHasBeenSet = false;
84
85 Aws::String m_code;
86 bool m_codeHasBeenSet = false;
87
88 Aws::String m_message;
89 bool m_messageHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace TaxSettings
94} // namespace Aws
AWS_TAXSETTINGS_API BatchPutTaxRegistrationError()=default
BatchPutTaxRegistrationError & WithAccountId(AccountIdT &&value)
BatchPutTaxRegistrationError & WithMessage(MessageT &&value)
BatchPutTaxRegistrationError & WithCode(CodeT &&value)
AWS_TAXSETTINGS_API BatchPutTaxRegistrationError(Aws::Utils::Json::JsonView jsonValue)
AWS_TAXSETTINGS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TAXSETTINGS_API BatchPutTaxRegistrationError & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue