AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
34
35
37
40 inline const Aws::String& GetArn() const{ return m_arn; }
41 inline void SetArn(const Aws::String& value) { m_arn = value; }
42 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
43 inline void SetArn(const char* value) { m_arn.assign(value); }
44 inline UpdateCustomLineItemResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
45 inline UpdateCustomLineItemResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
46 inline UpdateCustomLineItemResult& WithArn(const char* value) { SetArn(value); return *this;}
48
50
53 inline const Aws::String& GetBillingGroupArn() const{ return m_billingGroupArn; }
54 inline void SetBillingGroupArn(const Aws::String& value) { m_billingGroupArn = value; }
55 inline void SetBillingGroupArn(Aws::String&& value) { m_billingGroupArn = std::move(value); }
56 inline void SetBillingGroupArn(const char* value) { m_billingGroupArn.assign(value); }
58 inline UpdateCustomLineItemResult& WithBillingGroupArn(Aws::String&& value) { SetBillingGroupArn(std::move(value)); return *this;}
59 inline UpdateCustomLineItemResult& WithBillingGroupArn(const char* value) { SetBillingGroupArn(value); return *this;}
61
63
66 inline const Aws::String& GetName() const{ return m_name; }
67 inline void SetName(const Aws::String& value) { m_name = value; }
68 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
69 inline void SetName(const char* value) { m_name.assign(value); }
70 inline UpdateCustomLineItemResult& WithName(const Aws::String& value) { SetName(value); return *this;}
71 inline UpdateCustomLineItemResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
72 inline UpdateCustomLineItemResult& WithName(const char* value) { SetName(value); return *this;}
74
76
79 inline const Aws::String& GetDescription() const{ return m_description; }
80 inline void SetDescription(const Aws::String& value) { m_description = value; }
81 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
82 inline void SetDescription(const char* value) { m_description.assign(value); }
83 inline UpdateCustomLineItemResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
84 inline UpdateCustomLineItemResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
85 inline UpdateCustomLineItemResult& WithDescription(const char* value) { SetDescription(value); return *this;}
87
89
93 inline const ListCustomLineItemChargeDetails& GetChargeDetails() const{ return m_chargeDetails; }
94 inline void SetChargeDetails(const ListCustomLineItemChargeDetails& value) { m_chargeDetails = value; }
95 inline void SetChargeDetails(ListCustomLineItemChargeDetails&& value) { m_chargeDetails = std::move(value); }
99
101
104 inline long long GetLastModifiedTime() const{ return m_lastModifiedTime; }
105 inline void SetLastModifiedTime(long long value) { m_lastModifiedTime = value; }
106 inline UpdateCustomLineItemResult& WithLastModifiedTime(long long value) { SetLastModifiedTime(value); return *this;}
108
110
113 inline long long GetAssociationSize() const{ return m_associationSize; }
114 inline void SetAssociationSize(long long value) { m_associationSize = value; }
115 inline UpdateCustomLineItemResult& WithAssociationSize(long long value) { SetAssociationSize(value); return *this;}
117
119
120 inline const Aws::String& GetRequestId() const{ return m_requestId; }
121 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
122 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
123 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
124 inline UpdateCustomLineItemResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
125 inline UpdateCustomLineItemResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
126 inline UpdateCustomLineItemResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
128 private:
129
130 Aws::String m_arn;
131
132 Aws::String m_billingGroupArn;
133
134 Aws::String m_name;
135
136 Aws::String m_description;
137
138 ListCustomLineItemChargeDetails m_chargeDetails;
139
140 long long m_lastModifiedTime;
141
142 long long m_associationSize;
143
144 Aws::String m_requestId;
145 };
146
147} // namespace Model
148} // namespace BillingConductor
149} // namespace Aws
AWS_BILLINGCONDUCTOR_API UpdateCustomLineItemResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateCustomLineItemResult & WithArn(Aws::String &&value)
UpdateCustomLineItemResult & WithDescription(Aws::String &&value)
void SetChargeDetails(ListCustomLineItemChargeDetails &&value)
UpdateCustomLineItemResult & WithArn(const Aws::String &value)
UpdateCustomLineItemResult & WithRequestId(Aws::String &&value)
UpdateCustomLineItemResult & WithRequestId(const Aws::String &value)
void SetChargeDetails(const ListCustomLineItemChargeDetails &value)
UpdateCustomLineItemResult & WithBillingGroupArn(Aws::String &&value)
UpdateCustomLineItemResult & WithName(const char *value)
UpdateCustomLineItemResult & WithRequestId(const char *value)
AWS_BILLINGCONDUCTOR_API UpdateCustomLineItemResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateCustomLineItemResult & WithName(const Aws::String &value)
UpdateCustomLineItemResult & WithName(Aws::String &&value)
UpdateCustomLineItemResult & WithDescription(const Aws::String &value)
UpdateCustomLineItemResult & WithLastModifiedTime(long long value)
UpdateCustomLineItemResult & WithBillingGroupArn(const Aws::String &value)
UpdateCustomLineItemResult & WithDescription(const char *value)
UpdateCustomLineItemResult & WithArn(const char *value)
const ListCustomLineItemChargeDetails & GetChargeDetails() const
UpdateCustomLineItemResult & WithChargeDetails(const ListCustomLineItemChargeDetails &value)
UpdateCustomLineItemResult & WithAssociationSize(long long value)
UpdateCustomLineItemResult & WithBillingGroupArn(const char *value)
UpdateCustomLineItemResult & WithChargeDetails(ListCustomLineItemChargeDetails &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue