AWS SDK for C++

AWS SDK for C++ Version 1.11.766

Loading...
Searching...
No Matches
TestEnvPreferenceInput.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 TestEnvPreferenceInput() = default;
35 AWS_INVOICING_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline BuyerDomain GetBuyerDomain() const { return m_buyerDomain; }
42 inline bool BuyerDomainHasBeenSet() const { return m_buyerDomainHasBeenSet; }
43 inline void SetBuyerDomain(BuyerDomain value) {
44 m_buyerDomainHasBeenSet = true;
45 m_buyerDomain = value;
46 }
48 SetBuyerDomain(value);
49 return *this;
50 }
52
54
57 inline const Aws::String& GetBuyerIdentifier() const { return m_buyerIdentifier; }
58 inline bool BuyerIdentifierHasBeenSet() const { return m_buyerIdentifierHasBeenSet; }
59 template <typename BuyerIdentifierT = Aws::String>
60 void SetBuyerIdentifier(BuyerIdentifierT&& value) {
61 m_buyerIdentifierHasBeenSet = true;
62 m_buyerIdentifier = std::forward<BuyerIdentifierT>(value);
63 }
64 template <typename BuyerIdentifierT = Aws::String>
65 TestEnvPreferenceInput& WithBuyerIdentifier(BuyerIdentifierT&& value) {
66 SetBuyerIdentifier(std::forward<BuyerIdentifierT>(value));
67 return *this;
68 }
70
72
75 inline SupplierDomain GetSupplierDomain() const { return m_supplierDomain; }
76 inline bool SupplierDomainHasBeenSet() const { return m_supplierDomainHasBeenSet; }
77 inline void SetSupplierDomain(SupplierDomain value) {
78 m_supplierDomainHasBeenSet = true;
79 m_supplierDomain = value;
80 }
82 SetSupplierDomain(value);
83 return *this;
84 }
86
88
91 inline const Aws::String& GetSupplierIdentifier() const { return m_supplierIdentifier; }
92 inline bool SupplierIdentifierHasBeenSet() const { return m_supplierIdentifierHasBeenSet; }
93 template <typename SupplierIdentifierT = Aws::String>
94 void SetSupplierIdentifier(SupplierIdentifierT&& value) {
95 m_supplierIdentifierHasBeenSet = true;
96 m_supplierIdentifier = std::forward<SupplierIdentifierT>(value);
97 }
98 template <typename SupplierIdentifierT = Aws::String>
99 TestEnvPreferenceInput& WithSupplierIdentifier(SupplierIdentifierT&& value) {
100 SetSupplierIdentifier(std::forward<SupplierIdentifierT>(value));
101 return *this;
102 }
104
106
110 inline const Aws::String& GetProcurementPortalSharedSecret() const { return m_procurementPortalSharedSecret; }
111 inline bool ProcurementPortalSharedSecretHasBeenSet() const { return m_procurementPortalSharedSecretHasBeenSet; }
112 template <typename ProcurementPortalSharedSecretT = Aws::String>
113 void SetProcurementPortalSharedSecret(ProcurementPortalSharedSecretT&& value) {
114 m_procurementPortalSharedSecretHasBeenSet = true;
115 m_procurementPortalSharedSecret = std::forward<ProcurementPortalSharedSecretT>(value);
116 }
117 template <typename ProcurementPortalSharedSecretT = Aws::String>
118 TestEnvPreferenceInput& WithProcurementPortalSharedSecret(ProcurementPortalSharedSecretT&& value) {
119 SetProcurementPortalSharedSecret(std::forward<ProcurementPortalSharedSecretT>(value));
120 return *this;
121 }
123
125
129 inline const Aws::String& GetProcurementPortalInstanceEndpoint() const { return m_procurementPortalInstanceEndpoint; }
130 inline bool ProcurementPortalInstanceEndpointHasBeenSet() const { return m_procurementPortalInstanceEndpointHasBeenSet; }
131 template <typename ProcurementPortalInstanceEndpointT = Aws::String>
132 void SetProcurementPortalInstanceEndpoint(ProcurementPortalInstanceEndpointT&& value) {
133 m_procurementPortalInstanceEndpointHasBeenSet = true;
134 m_procurementPortalInstanceEndpoint = std::forward<ProcurementPortalInstanceEndpointT>(value);
135 }
136 template <typename ProcurementPortalInstanceEndpointT = Aws::String>
137 TestEnvPreferenceInput& WithProcurementPortalInstanceEndpoint(ProcurementPortalInstanceEndpointT&& value) {
138 SetProcurementPortalInstanceEndpoint(std::forward<ProcurementPortalInstanceEndpointT>(value));
139 return *this;
140 }
142 private:
143 BuyerDomain m_buyerDomain{BuyerDomain::NOT_SET};
144
145 Aws::String m_buyerIdentifier;
146
147 SupplierDomain m_supplierDomain{SupplierDomain::NOT_SET};
148
149 Aws::String m_supplierIdentifier;
150
151 Aws::String m_procurementPortalSharedSecret;
152
153 Aws::String m_procurementPortalInstanceEndpoint;
154 bool m_buyerDomainHasBeenSet = false;
155 bool m_buyerIdentifierHasBeenSet = false;
156 bool m_supplierDomainHasBeenSet = false;
157 bool m_supplierIdentifierHasBeenSet = false;
158 bool m_procurementPortalSharedSecretHasBeenSet = false;
159 bool m_procurementPortalInstanceEndpointHasBeenSet = false;
160};
161
162} // namespace Model
163} // namespace Invoicing
164} // namespace Aws
TestEnvPreferenceInput & WithProcurementPortalInstanceEndpoint(ProcurementPortalInstanceEndpointT &&value)
void SetSupplierIdentifier(SupplierIdentifierT &&value)
TestEnvPreferenceInput & WithBuyerDomain(BuyerDomain value)
AWS_INVOICING_API TestEnvPreferenceInput()=default
AWS_INVOICING_API TestEnvPreferenceInput(Aws::Utils::Json::JsonView jsonValue)
void SetProcurementPortalSharedSecret(ProcurementPortalSharedSecretT &&value)
TestEnvPreferenceInput & WithBuyerIdentifier(BuyerIdentifierT &&value)
AWS_INVOICING_API TestEnvPreferenceInput & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetProcurementPortalInstanceEndpoint(ProcurementPortalInstanceEndpointT &&value)
TestEnvPreferenceInput & WithSupplierIdentifier(SupplierIdentifierT &&value)
const Aws::String & GetProcurementPortalInstanceEndpoint() const
TestEnvPreferenceInput & WithSupplierDomain(SupplierDomain value)
AWS_INVOICING_API Aws::Utils::Json::JsonValue Jsonize() const
TestEnvPreferenceInput & WithProcurementPortalSharedSecret(ProcurementPortalSharedSecretT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue