7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/invoicing/Invoicing_EXPORTS.h>
10#include <aws/invoicing/model/ConnectionTestingMethod.h>
11#include <aws/invoicing/model/EinvoiceDeliveryAttachmentType.h>
12#include <aws/invoicing/model/EinvoiceDeliveryDocumentType.h>
13#include <aws/invoicing/model/Protocol.h>
14#include <aws/invoicing/model/PurchaseOrderDataSource.h>
46 return m_einvoiceDeliveryDocumentTypes;
49 template <
typename EinvoiceDeliveryDocumentTypesT = Aws::Vector<EinvoiceDeliveryDocumentType>>
51 m_einvoiceDeliveryDocumentTypesHasBeenSet =
true;
52 m_einvoiceDeliveryDocumentTypes = std::forward<EinvoiceDeliveryDocumentTypesT>(value);
54 template <
typename EinvoiceDeliveryDocumentTypesT = Aws::Vector<EinvoiceDeliveryDocumentType>>
60 m_einvoiceDeliveryDocumentTypesHasBeenSet =
true;
61 m_einvoiceDeliveryDocumentTypes.push_back(value);
71 return m_einvoiceDeliveryAttachmentTypes;
74 template <
typename EinvoiceDeliveryAttachmentTypesT = Aws::Vector<EinvoiceDeliveryAttachmentType>>
76 m_einvoiceDeliveryAttachmentTypesHasBeenSet =
true;
77 m_einvoiceDeliveryAttachmentTypes = std::forward<EinvoiceDeliveryAttachmentTypesT>(value);
79 template <
typename EinvoiceDeliveryAttachmentTypesT = Aws::Vector<EinvoiceDeliveryAttachmentType>>
85 m_einvoiceDeliveryAttachmentTypesHasBeenSet =
true;
86 m_einvoiceDeliveryAttachmentTypes.push_back(value);
98 m_protocolHasBeenSet =
true;
114 template <
typename PurchaseOrderDataSourcesT = Aws::Vector<PurchaseOrderDataSource>>
116 m_purchaseOrderDataSourcesHasBeenSet =
true;
117 m_purchaseOrderDataSources = std::forward<PurchaseOrderDataSourcesT>(value);
119 template <
typename PurchaseOrderDataSourcesT = Aws::Vector<PurchaseOrderDataSource>>
124 template <
typename PurchaseOrderDataSourcesT = PurchaseOrderDataSource>
126 m_purchaseOrderDataSourcesHasBeenSet =
true;
127 m_purchaseOrderDataSources.emplace_back(std::forward<PurchaseOrderDataSourcesT>(value));
139 m_connectionTestingMethodHasBeenSet =
true;
140 m_connectionTestingMethod = value;
154 template <
typename EinvoiceDeliveryActivationDateT = Aws::Utils::DateTime>
156 m_einvoiceDeliveryActivationDateHasBeenSet =
true;
157 m_einvoiceDeliveryActivationDate = std::forward<EinvoiceDeliveryActivationDateT>(value);
159 template <
typename EinvoiceDeliveryActivationDateT = Aws::Utils::DateTime>
174 ConnectionTestingMethod m_connectionTestingMethod{ConnectionTestingMethod::NOT_SET};
177 bool m_einvoiceDeliveryDocumentTypesHasBeenSet =
false;
178 bool m_einvoiceDeliveryAttachmentTypesHasBeenSet =
false;
179 bool m_protocolHasBeenSet =
false;
180 bool m_purchaseOrderDataSourcesHasBeenSet =
false;
181 bool m_connectionTestingMethodHasBeenSet =
false;
182 bool m_einvoiceDeliveryActivationDateHasBeenSet =
false;
void SetEinvoiceDeliveryDocumentTypes(EinvoiceDeliveryDocumentTypesT &&value)
EinvoiceDeliveryPreference & WithEinvoiceDeliveryDocumentTypes(EinvoiceDeliveryDocumentTypesT &&value)
EinvoiceDeliveryPreference & AddPurchaseOrderDataSources(PurchaseOrderDataSourcesT &&value)
AWS_INVOICING_API EinvoiceDeliveryPreference & operator=(Aws::Utils::Json::JsonView jsonValue)
EinvoiceDeliveryPreference & WithConnectionTestingMethod(ConnectionTestingMethod value)
AWS_INVOICING_API EinvoiceDeliveryPreference()=default
EinvoiceDeliveryPreference & WithEinvoiceDeliveryActivationDate(EinvoiceDeliveryActivationDateT &&value)
const Aws::Vector< PurchaseOrderDataSource > & GetPurchaseOrderDataSources() const
void SetEinvoiceDeliveryAttachmentTypes(EinvoiceDeliveryAttachmentTypesT &&value)
EinvoiceDeliveryPreference & WithProtocol(Protocol value)
EinvoiceDeliveryPreference & WithEinvoiceDeliveryAttachmentTypes(EinvoiceDeliveryAttachmentTypesT &&value)
bool EinvoiceDeliveryAttachmentTypesHasBeenSet() const
const Aws::Vector< EinvoiceDeliveryAttachmentType > & GetEinvoiceDeliveryAttachmentTypes() const
EinvoiceDeliveryPreference & AddEinvoiceDeliveryAttachmentTypes(EinvoiceDeliveryAttachmentType value)
EinvoiceDeliveryPreference & AddEinvoiceDeliveryDocumentTypes(EinvoiceDeliveryDocumentType value)
EinvoiceDeliveryPreference & WithPurchaseOrderDataSources(PurchaseOrderDataSourcesT &&value)
const Aws::Vector< EinvoiceDeliveryDocumentType > & GetEinvoiceDeliveryDocumentTypes() const
void SetConnectionTestingMethod(ConnectionTestingMethod value)
const Aws::Utils::DateTime & GetEinvoiceDeliveryActivationDate() const
void SetEinvoiceDeliveryActivationDate(EinvoiceDeliveryActivationDateT &&value)
ConnectionTestingMethod GetConnectionTestingMethod() const
bool ProtocolHasBeenSet() const
AWS_INVOICING_API EinvoiceDeliveryPreference(Aws::Utils::Json::JsonView jsonValue)
void SetPurchaseOrderDataSources(PurchaseOrderDataSourcesT &&value)
bool ConnectionTestingMethodHasBeenSet() const
bool EinvoiceDeliveryDocumentTypesHasBeenSet() const
bool PurchaseOrderDataSourcesHasBeenSet() const
Protocol GetProtocol() const
AWS_INVOICING_API Aws::Utils::Json::JsonValue Jsonize() const
bool EinvoiceDeliveryActivationDateHasBeenSet() const
void SetProtocol(Protocol value)
EinvoiceDeliveryDocumentType
EinvoiceDeliveryAttachmentType
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue