AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
51 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
52 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
53 inline BatchDeleteTaxRegistrationError& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
54 inline BatchDeleteTaxRegistrationError& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
55 inline BatchDeleteTaxRegistrationError& WithAccountId(const char* value) { SetAccountId(value); return *this;}
57
59
63 inline const Aws::String& GetCode() const{ return m_code; }
64 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
65 inline void SetCode(const Aws::String& value) { m_codeHasBeenSet = true; m_code = value; }
66 inline void SetCode(Aws::String&& value) { m_codeHasBeenSet = true; m_code = std::move(value); }
67 inline void SetCode(const char* value) { m_codeHasBeenSet = true; m_code.assign(value); }
68 inline BatchDeleteTaxRegistrationError& WithCode(const Aws::String& value) { SetCode(value); return *this;}
69 inline BatchDeleteTaxRegistrationError& WithCode(Aws::String&& value) { SetCode(std::move(value)); return *this;}
70 inline BatchDeleteTaxRegistrationError& WithCode(const char* value) { SetCode(value); return *this;}
72
74
78 inline const Aws::String& GetMessage() const{ return m_message; }
79 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
80 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
81 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
82 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
83 inline BatchDeleteTaxRegistrationError& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
84 inline BatchDeleteTaxRegistrationError& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
85 inline BatchDeleteTaxRegistrationError& WithMessage(const char* value) { SetMessage(value); return *this;}
87 private:
88
89 Aws::String m_accountId;
90 bool m_accountIdHasBeenSet = false;
91
92 Aws::String m_code;
93 bool m_codeHasBeenSet = false;
94
95 Aws::String m_message;
96 bool m_messageHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace TaxSettings
101} // namespace Aws
BatchDeleteTaxRegistrationError & WithMessage(Aws::String &&value)
AWS_TAXSETTINGS_API Aws::Utils::Json::JsonValue Jsonize() const
BatchDeleteTaxRegistrationError & WithMessage(const char *value)
AWS_TAXSETTINGS_API BatchDeleteTaxRegistrationError(Aws::Utils::Json::JsonView jsonValue)
BatchDeleteTaxRegistrationError & WithMessage(const Aws::String &value)
BatchDeleteTaxRegistrationError & WithAccountId(Aws::String &&value)
BatchDeleteTaxRegistrationError & WithCode(const char *value)
BatchDeleteTaxRegistrationError & WithAccountId(const Aws::String &value)
BatchDeleteTaxRegistrationError & WithAccountId(const char *value)
BatchDeleteTaxRegistrationError & WithCode(const Aws::String &value)
BatchDeleteTaxRegistrationError & WithCode(Aws::String &&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