AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
BillingViewListElement.h
1
6#pragma once
7#include <aws/billing/Billing_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/billing/model/BillingViewType.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Billing
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_BILLING_API BillingViewListElement() = default;
38 AWS_BILLING_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetArn() const { return m_arn; }
47 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
48 template<typename ArnT = Aws::String>
49 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
50 template<typename ArnT = Aws::String>
51 BillingViewListElement& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
53
55
58 inline const Aws::String& GetName() const { return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 template<typename NameT = Aws::String>
61 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
62 template<typename NameT = Aws::String>
63 BillingViewListElement& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
65
67
70 inline const Aws::String& GetDescription() const { return m_description; }
71 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
72 template<typename DescriptionT = Aws::String>
73 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
74 template<typename DescriptionT = Aws::String>
75 BillingViewListElement& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
77
79
82 inline const Aws::String& GetOwnerAccountId() const { return m_ownerAccountId; }
83 inline bool OwnerAccountIdHasBeenSet() const { return m_ownerAccountIdHasBeenSet; }
84 template<typename OwnerAccountIdT = Aws::String>
85 void SetOwnerAccountId(OwnerAccountIdT&& value) { m_ownerAccountIdHasBeenSet = true; m_ownerAccountId = std::forward<OwnerAccountIdT>(value); }
86 template<typename OwnerAccountIdT = Aws::String>
87 BillingViewListElement& WithOwnerAccountId(OwnerAccountIdT&& value) { SetOwnerAccountId(std::forward<OwnerAccountIdT>(value)); return *this;}
89
91
94 inline BillingViewType GetBillingViewType() const { return m_billingViewType; }
95 inline bool BillingViewTypeHasBeenSet() const { return m_billingViewTypeHasBeenSet; }
96 inline void SetBillingViewType(BillingViewType value) { m_billingViewTypeHasBeenSet = true; m_billingViewType = value; }
99 private:
100
101 Aws::String m_arn;
102 bool m_arnHasBeenSet = false;
103
104 Aws::String m_name;
105 bool m_nameHasBeenSet = false;
106
107 Aws::String m_description;
108 bool m_descriptionHasBeenSet = false;
109
110 Aws::String m_ownerAccountId;
111 bool m_ownerAccountIdHasBeenSet = false;
112
113 BillingViewType m_billingViewType{BillingViewType::NOT_SET};
114 bool m_billingViewTypeHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace Billing
119} // namespace Aws
AWS_BILLING_API BillingViewListElement & operator=(Aws::Utils::Json::JsonView jsonValue)
BillingViewListElement & WithOwnerAccountId(OwnerAccountIdT &&value)
BillingViewListElement & WithBillingViewType(BillingViewType value)
BillingViewListElement & WithName(NameT &&value)
BillingViewListElement & WithDescription(DescriptionT &&value)
AWS_BILLING_API BillingViewListElement()=default
BillingViewListElement & WithArn(ArnT &&value)
AWS_BILLING_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BILLING_API BillingViewListElement(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue