AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchPutTaxRegistrationResult.h
1
6#pragma once
7#include <aws/taxsettings/TaxSettings_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/taxsettings/model/TaxRegistrationStatus.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/taxsettings/model/BatchPutTaxRegistrationError.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace TaxSettings
27{
28namespace Model
29{
31 {
32 public:
33 AWS_TAXSETTINGS_API BatchPutTaxRegistrationResult();
36
37
39
43 inline const Aws::Vector<BatchPutTaxRegistrationError>& GetErrors() const{ return m_errors; }
44 inline void SetErrors(const Aws::Vector<BatchPutTaxRegistrationError>& value) { m_errors = value; }
45 inline void SetErrors(Aws::Vector<BatchPutTaxRegistrationError>&& value) { m_errors = std::move(value); }
48 inline BatchPutTaxRegistrationResult& AddErrors(const BatchPutTaxRegistrationError& value) { m_errors.push_back(value); return *this; }
49 inline BatchPutTaxRegistrationResult& AddErrors(BatchPutTaxRegistrationError&& value) { m_errors.push_back(std::move(value)); return *this; }
51
53
58 inline const TaxRegistrationStatus& GetStatus() const{ return m_status; }
59 inline void SetStatus(const TaxRegistrationStatus& value) { m_status = value; }
60 inline void SetStatus(TaxRegistrationStatus&& value) { m_status = std::move(value); }
61 inline BatchPutTaxRegistrationResult& WithStatus(const TaxRegistrationStatus& value) { SetStatus(value); return *this;}
62 inline BatchPutTaxRegistrationResult& WithStatus(TaxRegistrationStatus&& value) { SetStatus(std::move(value)); return *this;}
64
66
67 inline const Aws::String& GetRequestId() const{ return m_requestId; }
68 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
69 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
70 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
71 inline BatchPutTaxRegistrationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
72 inline BatchPutTaxRegistrationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
73 inline BatchPutTaxRegistrationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
75 private:
76
78
79 TaxRegistrationStatus m_status;
80
81 Aws::String m_requestId;
82 };
83
84} // namespace Model
85} // namespace TaxSettings
86} // namespace Aws
BatchPutTaxRegistrationResult & WithErrors(const Aws::Vector< BatchPutTaxRegistrationError > &value)
BatchPutTaxRegistrationResult & WithStatus(const TaxRegistrationStatus &value)
BatchPutTaxRegistrationResult & WithRequestId(Aws::String &&value)
void SetErrors(Aws::Vector< BatchPutTaxRegistrationError > &&value)
BatchPutTaxRegistrationResult & WithRequestId(const char *value)
AWS_TAXSETTINGS_API BatchPutTaxRegistrationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchPutTaxRegistrationResult & WithRequestId(const Aws::String &value)
void SetErrors(const Aws::Vector< BatchPutTaxRegistrationError > &value)
const Aws::Vector< BatchPutTaxRegistrationError > & GetErrors() const
BatchPutTaxRegistrationResult & AddErrors(BatchPutTaxRegistrationError &&value)
BatchPutTaxRegistrationResult & WithErrors(Aws::Vector< BatchPutTaxRegistrationError > &&value)
BatchPutTaxRegistrationResult & WithStatus(TaxRegistrationStatus &&value)
AWS_TAXSETTINGS_API BatchPutTaxRegistrationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchPutTaxRegistrationResult & AddErrors(const BatchPutTaxRegistrationError &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue