AWS SDK for C++

AWS SDK for C++ Version 1.11.766

Loading...
Searching...
No Matches
TestEnvPreference.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/invoicing/Invoicing_EXPORTS.h>
9#include <aws/invoicing/model/BuyerDomain.h>
10#include <aws/invoicing/model/SupplierDomain.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Invoicing {
22namespace Model {
23
31 public:
32 AWS_INVOICING_API TestEnvPreference() = default;
33 AWS_INVOICING_API TestEnvPreference(Aws::Utils::Json::JsonView jsonValue);
35 AWS_INVOICING_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline BuyerDomain GetBuyerDomain() const { return m_buyerDomain; }
43 inline bool BuyerDomainHasBeenSet() const { return m_buyerDomainHasBeenSet; }
44 inline void SetBuyerDomain(BuyerDomain value) {
45 m_buyerDomainHasBeenSet = true;
46 m_buyerDomain = value;
47 }
49 SetBuyerDomain(value);
50 return *this;
51 }
53
55
59 inline const Aws::String& GetBuyerIdentifier() const { return m_buyerIdentifier; }
60 inline bool BuyerIdentifierHasBeenSet() const { return m_buyerIdentifierHasBeenSet; }
61 template <typename BuyerIdentifierT = Aws::String>
62 void SetBuyerIdentifier(BuyerIdentifierT&& value) {
63 m_buyerIdentifierHasBeenSet = true;
64 m_buyerIdentifier = std::forward<BuyerIdentifierT>(value);
65 }
66 template <typename BuyerIdentifierT = Aws::String>
67 TestEnvPreference& WithBuyerIdentifier(BuyerIdentifierT&& value) {
68 SetBuyerIdentifier(std::forward<BuyerIdentifierT>(value));
69 return *this;
70 }
72
74
78 inline SupplierDomain GetSupplierDomain() const { return m_supplierDomain; }
79 inline bool SupplierDomainHasBeenSet() const { return m_supplierDomainHasBeenSet; }
80 inline void SetSupplierDomain(SupplierDomain value) {
81 m_supplierDomainHasBeenSet = true;
82 m_supplierDomain = value;
83 }
85 SetSupplierDomain(value);
86 return *this;
87 }
89
91
95 inline const Aws::String& GetSupplierIdentifier() const { return m_supplierIdentifier; }
96 inline bool SupplierIdentifierHasBeenSet() const { return m_supplierIdentifierHasBeenSet; }
97 template <typename SupplierIdentifierT = Aws::String>
98 void SetSupplierIdentifier(SupplierIdentifierT&& value) {
99 m_supplierIdentifierHasBeenSet = true;
100 m_supplierIdentifier = std::forward<SupplierIdentifierT>(value);
101 }
102 template <typename SupplierIdentifierT = Aws::String>
103 TestEnvPreference& WithSupplierIdentifier(SupplierIdentifierT&& value) {
104 SetSupplierIdentifier(std::forward<SupplierIdentifierT>(value));
105 return *this;
106 }
108
110
114 inline const Aws::String& GetProcurementPortalSharedSecret() const { return m_procurementPortalSharedSecret; }
115 inline bool ProcurementPortalSharedSecretHasBeenSet() const { return m_procurementPortalSharedSecretHasBeenSet; }
116 template <typename ProcurementPortalSharedSecretT = Aws::String>
117 void SetProcurementPortalSharedSecret(ProcurementPortalSharedSecretT&& value) {
118 m_procurementPortalSharedSecretHasBeenSet = true;
119 m_procurementPortalSharedSecret = std::forward<ProcurementPortalSharedSecretT>(value);
120 }
121 template <typename ProcurementPortalSharedSecretT = Aws::String>
122 TestEnvPreference& WithProcurementPortalSharedSecret(ProcurementPortalSharedSecretT&& value) {
123 SetProcurementPortalSharedSecret(std::forward<ProcurementPortalSharedSecretT>(value));
124 return *this;
125 }
127
129
132 inline const Aws::String& GetProcurementPortalInstanceEndpoint() const { return m_procurementPortalInstanceEndpoint; }
133 inline bool ProcurementPortalInstanceEndpointHasBeenSet() const { return m_procurementPortalInstanceEndpointHasBeenSet; }
134 template <typename ProcurementPortalInstanceEndpointT = Aws::String>
135 void SetProcurementPortalInstanceEndpoint(ProcurementPortalInstanceEndpointT&& value) {
136 m_procurementPortalInstanceEndpointHasBeenSet = true;
137 m_procurementPortalInstanceEndpoint = std::forward<ProcurementPortalInstanceEndpointT>(value);
138 }
139 template <typename ProcurementPortalInstanceEndpointT = Aws::String>
140 TestEnvPreference& WithProcurementPortalInstanceEndpoint(ProcurementPortalInstanceEndpointT&& value) {
141 SetProcurementPortalInstanceEndpoint(std::forward<ProcurementPortalInstanceEndpointT>(value));
142 return *this;
143 }
145
147
151 inline const Aws::String& GetPurchaseOrderRetrievalEndpoint() const { return m_purchaseOrderRetrievalEndpoint; }
152 inline bool PurchaseOrderRetrievalEndpointHasBeenSet() const { return m_purchaseOrderRetrievalEndpointHasBeenSet; }
153 template <typename PurchaseOrderRetrievalEndpointT = Aws::String>
154 void SetPurchaseOrderRetrievalEndpoint(PurchaseOrderRetrievalEndpointT&& value) {
155 m_purchaseOrderRetrievalEndpointHasBeenSet = true;
156 m_purchaseOrderRetrievalEndpoint = std::forward<PurchaseOrderRetrievalEndpointT>(value);
157 }
158 template <typename PurchaseOrderRetrievalEndpointT = Aws::String>
159 TestEnvPreference& WithPurchaseOrderRetrievalEndpoint(PurchaseOrderRetrievalEndpointT&& value) {
160 SetPurchaseOrderRetrievalEndpoint(std::forward<PurchaseOrderRetrievalEndpointT>(value));
161 return *this;
162 }
164 private:
165 BuyerDomain m_buyerDomain{BuyerDomain::NOT_SET};
166
167 Aws::String m_buyerIdentifier;
168
169 SupplierDomain m_supplierDomain{SupplierDomain::NOT_SET};
170
171 Aws::String m_supplierIdentifier;
172
173 Aws::String m_procurementPortalSharedSecret;
174
175 Aws::String m_procurementPortalInstanceEndpoint;
176
177 Aws::String m_purchaseOrderRetrievalEndpoint;
178 bool m_buyerDomainHasBeenSet = false;
179 bool m_buyerIdentifierHasBeenSet = false;
180 bool m_supplierDomainHasBeenSet = false;
181 bool m_supplierIdentifierHasBeenSet = false;
182 bool m_procurementPortalSharedSecretHasBeenSet = false;
183 bool m_procurementPortalInstanceEndpointHasBeenSet = false;
184 bool m_purchaseOrderRetrievalEndpointHasBeenSet = false;
185};
186
187} // namespace Model
188} // namespace Invoicing
189} // namespace Aws
const Aws::String & GetBuyerIdentifier() const
void SetSupplierDomain(SupplierDomain value)
AWS_INVOICING_API TestEnvPreference()=default
AWS_INVOICING_API TestEnvPreference(Aws::Utils::Json::JsonView jsonValue)
TestEnvPreference & WithBuyerDomain(BuyerDomain value)
void SetBuyerIdentifier(BuyerIdentifierT &&value)
void SetProcurementPortalInstanceEndpoint(ProcurementPortalInstanceEndpointT &&value)
TestEnvPreference & WithProcurementPortalSharedSecret(ProcurementPortalSharedSecretT &&value)
TestEnvPreference & WithProcurementPortalInstanceEndpoint(ProcurementPortalInstanceEndpointT &&value)
void SetProcurementPortalSharedSecret(ProcurementPortalSharedSecretT &&value)
const Aws::String & GetPurchaseOrderRetrievalEndpoint() const
AWS_INVOICING_API TestEnvPreference & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetProcurementPortalInstanceEndpoint() const
void SetSupplierIdentifier(SupplierIdentifierT &&value)
const Aws::String & GetSupplierIdentifier() const
void SetPurchaseOrderRetrievalEndpoint(PurchaseOrderRetrievalEndpointT &&value)
TestEnvPreference & WithSupplierIdentifier(SupplierIdentifierT &&value)
TestEnvPreference & WithPurchaseOrderRetrievalEndpoint(PurchaseOrderRetrievalEndpointT &&value)
const Aws::String & GetProcurementPortalSharedSecret() const
TestEnvPreference & WithSupplierDomain(SupplierDomain value)
AWS_INVOICING_API Aws::Utils::Json::JsonValue Jsonize() const
TestEnvPreference & WithBuyerIdentifier(BuyerIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue