AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
BatchPutTaxRegistrationResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/taxsettings/TaxSettings_EXPORTS.h>
10#include <aws/taxsettings/model/BatchPutTaxRegistrationError.h>
11#include <aws/taxsettings/model/TaxRegistrationStatus.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace TaxSettings {
25namespace Model {
27 public:
28 AWS_TAXSETTINGS_API BatchPutTaxRegistrationResult() = default;
31
33
37 inline const Aws::Vector<BatchPutTaxRegistrationError>& GetErrors() const { return m_errors; }
38 template <typename ErrorsT = Aws::Vector<BatchPutTaxRegistrationError>>
39 void SetErrors(ErrorsT&& value) {
40 m_errorsHasBeenSet = true;
41 m_errors = std::forward<ErrorsT>(value);
42 }
43 template <typename ErrorsT = Aws::Vector<BatchPutTaxRegistrationError>>
45 SetErrors(std::forward<ErrorsT>(value));
46 return *this;
47 }
48 template <typename ErrorsT = BatchPutTaxRegistrationError>
50 m_errorsHasBeenSet = true;
51 m_errors.emplace_back(std::forward<ErrorsT>(value));
52 return *this;
53 }
55
57
62 inline TaxRegistrationStatus GetStatus() const { return m_status; }
63 inline void SetStatus(TaxRegistrationStatus value) {
64 m_statusHasBeenSet = true;
65 m_status = value;
66 }
68 SetStatus(value);
69 return *this;
70 }
72
74
75 inline const Aws::String& GetRequestId() const { return m_requestId; }
76 template <typename RequestIdT = Aws::String>
77 void SetRequestId(RequestIdT&& value) {
78 m_requestIdHasBeenSet = true;
79 m_requestId = std::forward<RequestIdT>(value);
80 }
81 template <typename RequestIdT = Aws::String>
83 SetRequestId(std::forward<RequestIdT>(value));
84 return *this;
85 }
87 private:
89
91
92 Aws::String m_requestId;
93 bool m_errorsHasBeenSet = false;
94 bool m_statusHasBeenSet = false;
95 bool m_requestIdHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace TaxSettings
100} // namespace Aws
AWS_TAXSETTINGS_API BatchPutTaxRegistrationResult()=default
AWS_TAXSETTINGS_API BatchPutTaxRegistrationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< BatchPutTaxRegistrationError > & GetErrors() const
BatchPutTaxRegistrationResult & AddErrors(ErrorsT &&value)
BatchPutTaxRegistrationResult & WithStatus(TaxRegistrationStatus value)
BatchPutTaxRegistrationResult & WithErrors(ErrorsT &&value)
BatchPutTaxRegistrationResult & WithRequestId(RequestIdT &&value)
AWS_TAXSETTINGS_API BatchPutTaxRegistrationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue