AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateCustomLineItemResult.h
1
6#pragma once
7#include <aws/billingconductor/BillingConductor_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/billingconductor/model/ListCustomLineItemChargeDetails.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace BillingConductor
25{
26namespace Model
27{
29 {
30 public:
31 AWS_BILLINGCONDUCTOR_API UpdateCustomLineItemResult() = default;
34
35
37
40 inline const Aws::String& GetArn() const { return m_arn; }
41 template<typename ArnT = Aws::String>
42 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
43 template<typename ArnT = Aws::String>
44 UpdateCustomLineItemResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
46
48
51 inline const Aws::String& GetBillingGroupArn() const { return m_billingGroupArn; }
52 template<typename BillingGroupArnT = Aws::String>
53 void SetBillingGroupArn(BillingGroupArnT&& value) { m_billingGroupArnHasBeenSet = true; m_billingGroupArn = std::forward<BillingGroupArnT>(value); }
54 template<typename BillingGroupArnT = Aws::String>
55 UpdateCustomLineItemResult& WithBillingGroupArn(BillingGroupArnT&& value) { SetBillingGroupArn(std::forward<BillingGroupArnT>(value)); return *this;}
57
59
62 inline const Aws::String& GetName() const { return m_name; }
63 template<typename NameT = Aws::String>
64 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
65 template<typename NameT = Aws::String>
66 UpdateCustomLineItemResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
68
70
73 inline const Aws::String& GetDescription() const { return m_description; }
74 template<typename DescriptionT = Aws::String>
75 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
76 template<typename DescriptionT = Aws::String>
77 UpdateCustomLineItemResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
79
81
85 inline const ListCustomLineItemChargeDetails& GetChargeDetails() const { return m_chargeDetails; }
86 template<typename ChargeDetailsT = ListCustomLineItemChargeDetails>
87 void SetChargeDetails(ChargeDetailsT&& value) { m_chargeDetailsHasBeenSet = true; m_chargeDetails = std::forward<ChargeDetailsT>(value); }
88 template<typename ChargeDetailsT = ListCustomLineItemChargeDetails>
89 UpdateCustomLineItemResult& WithChargeDetails(ChargeDetailsT&& value) { SetChargeDetails(std::forward<ChargeDetailsT>(value)); return *this;}
91
93
96 inline long long GetLastModifiedTime() const { return m_lastModifiedTime; }
97 inline void SetLastModifiedTime(long long value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
98 inline UpdateCustomLineItemResult& WithLastModifiedTime(long long value) { SetLastModifiedTime(value); return *this;}
100
102
105 inline long long GetAssociationSize() const { return m_associationSize; }
106 inline void SetAssociationSize(long long value) { m_associationSizeHasBeenSet = true; m_associationSize = value; }
107 inline UpdateCustomLineItemResult& WithAssociationSize(long long value) { SetAssociationSize(value); return *this;}
109
111
112 inline const Aws::String& GetRequestId() const { return m_requestId; }
113 template<typename RequestIdT = Aws::String>
114 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
115 template<typename RequestIdT = Aws::String>
116 UpdateCustomLineItemResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
118 private:
119
120 Aws::String m_arn;
121 bool m_arnHasBeenSet = false;
122
123 Aws::String m_billingGroupArn;
124 bool m_billingGroupArnHasBeenSet = false;
125
126 Aws::String m_name;
127 bool m_nameHasBeenSet = false;
128
129 Aws::String m_description;
130 bool m_descriptionHasBeenSet = false;
131
132 ListCustomLineItemChargeDetails m_chargeDetails;
133 bool m_chargeDetailsHasBeenSet = false;
134
135 long long m_lastModifiedTime{0};
136 bool m_lastModifiedTimeHasBeenSet = false;
137
138 long long m_associationSize{0};
139 bool m_associationSizeHasBeenSet = false;
140
141 Aws::String m_requestId;
142 bool m_requestIdHasBeenSet = false;
143 };
144
145} // namespace Model
146} // namespace BillingConductor
147} // namespace Aws
UpdateCustomLineItemResult & WithDescription(DescriptionT &&value)
AWS_BILLINGCONDUCTOR_API UpdateCustomLineItemResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateCustomLineItemResult & WithBillingGroupArn(BillingGroupArnT &&value)
UpdateCustomLineItemResult & WithRequestId(RequestIdT &&value)
UpdateCustomLineItemResult & WithChargeDetails(ChargeDetailsT &&value)
AWS_BILLINGCONDUCTOR_API UpdateCustomLineItemResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateCustomLineItemResult & WithLastModifiedTime(long long value)
AWS_BILLINGCONDUCTOR_API UpdateCustomLineItemResult()=default
const ListCustomLineItemChargeDetails & GetChargeDetails() const
UpdateCustomLineItemResult & WithAssociationSize(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue