AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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