AWS SDK for C++

AWS SDK for C++ Version 1.11.817

Loading...
Searching...
No Matches
Entity.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/BillingEntity.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
29class Entity {
30 public:
31 AWS_INVOICING_API Entity() = default;
32 AWS_INVOICING_API Entity(Aws::Utils::Json::JsonView jsonValue);
33 AWS_INVOICING_API Entity& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_INVOICING_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetInvoicingEntity() const { return m_invoicingEntity; }
41 inline bool InvoicingEntityHasBeenSet() const { return m_invoicingEntityHasBeenSet; }
42 template <typename InvoicingEntityT = Aws::String>
43 void SetInvoicingEntity(InvoicingEntityT&& value) {
44 m_invoicingEntityHasBeenSet = true;
45 m_invoicingEntity = std::forward<InvoicingEntityT>(value);
46 }
47 template <typename InvoicingEntityT = Aws::String>
48 Entity& WithInvoicingEntity(InvoicingEntityT&& value) {
49 SetInvoicingEntity(std::forward<InvoicingEntityT>(value));
50 return *this;
51 }
53
55
59 inline BillingEntity GetBillingEntity() const { return m_billingEntity; }
60 inline bool BillingEntityHasBeenSet() const { return m_billingEntityHasBeenSet; }
61 inline void SetBillingEntity(BillingEntity value) {
62 m_billingEntityHasBeenSet = true;
63 m_billingEntity = value;
64 }
66 SetBillingEntity(value);
67 return *this;
68 }
70 private:
71 Aws::String m_invoicingEntity;
72
74 bool m_invoicingEntityHasBeenSet = false;
75 bool m_billingEntityHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace Invoicing
80} // namespace Aws
void SetBillingEntity(BillingEntity value)
Definition Entity.h:61
bool InvoicingEntityHasBeenSet() const
Definition Entity.h:41
AWS_INVOICING_API Entity & operator=(Aws::Utils::Json::JsonView jsonValue)
bool BillingEntityHasBeenSet() const
Definition Entity.h:60
BillingEntity GetBillingEntity() const
Definition Entity.h:59
Entity & WithInvoicingEntity(InvoicingEntityT &&value)
Definition Entity.h:48
AWS_INVOICING_API Entity()=default
AWS_INVOICING_API Entity(Aws::Utils::Json::JsonView jsonValue)
Entity & WithBillingEntity(BillingEntity value)
Definition Entity.h:65
AWS_INVOICING_API Aws::Utils::Json::JsonValue Jsonize() const
void SetInvoicingEntity(InvoicingEntityT &&value)
Definition Entity.h:43
const Aws::String & GetInvoicingEntity() const
Definition Entity.h:40
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue