AWS SDK for C++

AWS SDK for C++ Version 1.11.762

Loading...
Searching...
No Matches
PutSupplementalTaxRegistrationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/taxsettings/TaxSettings_EXPORTS.h>
10#include <aws/taxsettings/model/TaxRegistrationStatus.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace TaxSettings {
24namespace Model {
26 public:
27 AWS_TAXSETTINGS_API PutSupplementalTaxRegistrationResult() = default;
31
33
37 inline const Aws::String& GetAuthorityId() const { return m_authorityId; }
38 template <typename AuthorityIdT = Aws::String>
39 void SetAuthorityId(AuthorityIdT&& value) {
40 m_authorityIdHasBeenSet = true;
41 m_authorityId = std::forward<AuthorityIdT>(value);
42 }
43 template <typename AuthorityIdT = Aws::String>
45 SetAuthorityId(std::forward<AuthorityIdT>(value));
46 return *this;
47 }
49
51
57 inline TaxRegistrationStatus GetStatus() const { return m_status; }
58 inline void SetStatus(TaxRegistrationStatus value) {
59 m_statusHasBeenSet = true;
60 m_status = value;
61 }
63 SetStatus(value);
64 return *this;
65 }
67
69
70 inline const Aws::String& GetRequestId() const { return m_requestId; }
71 template <typename RequestIdT = Aws::String>
72 void SetRequestId(RequestIdT&& value) {
73 m_requestIdHasBeenSet = true;
74 m_requestId = std::forward<RequestIdT>(value);
75 }
76 template <typename RequestIdT = Aws::String>
78 SetRequestId(std::forward<RequestIdT>(value));
79 return *this;
80 }
82 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
83
84 private:
85 Aws::String m_authorityId;
86
88
89 Aws::String m_requestId;
90 Aws::Http::HttpResponseCode m_HttpResponseCode;
91 bool m_authorityIdHasBeenSet = false;
92 bool m_statusHasBeenSet = false;
93 bool m_requestIdHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace TaxSettings
98} // namespace Aws
PutSupplementalTaxRegistrationResult & WithStatus(TaxRegistrationStatus value)
AWS_TAXSETTINGS_API PutSupplementalTaxRegistrationResult()=default
AWS_TAXSETTINGS_API PutSupplementalTaxRegistrationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutSupplementalTaxRegistrationResult & WithAuthorityId(AuthorityIdT &&value)
AWS_TAXSETTINGS_API PutSupplementalTaxRegistrationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutSupplementalTaxRegistrationResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue