AWS SDK for C++

AWS SDK for C++ Version 1.11.891

Loading...
Searching...
No Matches
ProcurementPortalSupplier.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/ProcurementPortalEnv.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Invoicing {
21namespace Model {
22
30 public:
31 AWS_INVOICING_API ProcurementPortalSupplier() = default;
34 AWS_INVOICING_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetSupplierIdentifier() const { return m_supplierIdentifier; }
41 inline bool SupplierIdentifierHasBeenSet() const { return m_supplierIdentifierHasBeenSet; }
42 template <typename SupplierIdentifierT = Aws::String>
43 void SetSupplierIdentifier(SupplierIdentifierT&& value) {
44 m_supplierIdentifierHasBeenSet = true;
45 m_supplierIdentifier = std::forward<SupplierIdentifierT>(value);
46 }
47 template <typename SupplierIdentifierT = Aws::String>
48 ProcurementPortalSupplier& WithSupplierIdentifier(SupplierIdentifierT&& value) {
49 SetSupplierIdentifier(std::forward<SupplierIdentifierT>(value));
50 return *this;
51 }
53
55
60 inline const Aws::String& GetSellerOfRecord() const { return m_sellerOfRecord; }
61 inline bool SellerOfRecordHasBeenSet() const { return m_sellerOfRecordHasBeenSet; }
62 template <typename SellerOfRecordT = Aws::String>
63 void SetSellerOfRecord(SellerOfRecordT&& value) {
64 m_sellerOfRecordHasBeenSet = true;
65 m_sellerOfRecord = std::forward<SellerOfRecordT>(value);
66 }
67 template <typename SellerOfRecordT = Aws::String>
69 SetSellerOfRecord(std::forward<SellerOfRecordT>(value));
70 return *this;
71 }
73
75
79 inline const Aws::String& GetCountryCode() const { return m_countryCode; }
80 inline bool CountryCodeHasBeenSet() const { return m_countryCodeHasBeenSet; }
81 template <typename CountryCodeT = Aws::String>
82 void SetCountryCode(CountryCodeT&& value) {
83 m_countryCodeHasBeenSet = true;
84 m_countryCode = std::forward<CountryCodeT>(value);
85 }
86 template <typename CountryCodeT = Aws::String>
88 SetCountryCode(std::forward<CountryCodeT>(value));
89 return *this;
90 }
92
94
98 inline ProcurementPortalEnv GetEnvironment() const { return m_environment; }
99 inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; }
101 m_environmentHasBeenSet = true;
102 m_environment = value;
103 }
105 SetEnvironment(value);
106 return *this;
107 }
109 private:
110 Aws::String m_supplierIdentifier;
111
112 Aws::String m_sellerOfRecord;
113
114 Aws::String m_countryCode;
115
117 bool m_supplierIdentifierHasBeenSet = false;
118 bool m_sellerOfRecordHasBeenSet = false;
119 bool m_countryCodeHasBeenSet = false;
120 bool m_environmentHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace Invoicing
125} // namespace Aws
ProcurementPortalSupplier & WithEnvironment(ProcurementPortalEnv value)
AWS_INVOICING_API Aws::Utils::Json::JsonValue Jsonize() const
ProcurementPortalSupplier & WithSellerOfRecord(SellerOfRecordT &&value)
AWS_INVOICING_API ProcurementPortalSupplier(Aws::Utils::Json::JsonView jsonValue)
AWS_INVOICING_API ProcurementPortalSupplier & operator=(Aws::Utils::Json::JsonView jsonValue)
ProcurementPortalSupplier & WithSupplierIdentifier(SupplierIdentifierT &&value)
AWS_INVOICING_API ProcurementPortalSupplier()=default
ProcurementPortalSupplier & WithCountryCode(CountryCodeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue