AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateCustomLineItemRequest.h
1
6#pragma once
7#include <aws/billingconductor/BillingConductor_EXPORTS.h>
8#include <aws/billingconductor/BillingConductorRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/billingconductor/model/UpdateCustomLineItemChargeDetails.h>
11#include <aws/billingconductor/model/CustomLineItemBillingPeriodRange.h>
12#include <utility>
13
14namespace Aws
15{
16namespace BillingConductor
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_BILLINGCONDUCTOR_API UpdateCustomLineItemRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateCustomLineItem"; }
33
34 AWS_BILLINGCONDUCTOR_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetArn() const { return m_arn; }
42 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
43 template<typename ArnT = Aws::String>
44 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
45 template<typename ArnT = Aws::String>
46 UpdateCustomLineItemRequest& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
48
50
53 inline const Aws::String& GetName() const { return m_name; }
54 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
55 template<typename NameT = Aws::String>
56 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
57 template<typename NameT = Aws::String>
58 UpdateCustomLineItemRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
60
62
65 inline const Aws::String& GetDescription() const { return m_description; }
66 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
67 template<typename DescriptionT = Aws::String>
68 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
69 template<typename DescriptionT = Aws::String>
70 UpdateCustomLineItemRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
72
74
78 inline const UpdateCustomLineItemChargeDetails& GetChargeDetails() const { return m_chargeDetails; }
79 inline bool ChargeDetailsHasBeenSet() const { return m_chargeDetailsHasBeenSet; }
80 template<typename ChargeDetailsT = UpdateCustomLineItemChargeDetails>
81 void SetChargeDetails(ChargeDetailsT&& value) { m_chargeDetailsHasBeenSet = true; m_chargeDetails = std::forward<ChargeDetailsT>(value); }
82 template<typename ChargeDetailsT = UpdateCustomLineItemChargeDetails>
83 UpdateCustomLineItemRequest& WithChargeDetails(ChargeDetailsT&& value) { SetChargeDetails(std::forward<ChargeDetailsT>(value)); return *this;}
85
87
88 inline const CustomLineItemBillingPeriodRange& GetBillingPeriodRange() const { return m_billingPeriodRange; }
89 inline bool BillingPeriodRangeHasBeenSet() const { return m_billingPeriodRangeHasBeenSet; }
90 template<typename BillingPeriodRangeT = CustomLineItemBillingPeriodRange>
91 void SetBillingPeriodRange(BillingPeriodRangeT&& value) { m_billingPeriodRangeHasBeenSet = true; m_billingPeriodRange = std::forward<BillingPeriodRangeT>(value); }
92 template<typename BillingPeriodRangeT = CustomLineItemBillingPeriodRange>
93 UpdateCustomLineItemRequest& WithBillingPeriodRange(BillingPeriodRangeT&& value) { SetBillingPeriodRange(std::forward<BillingPeriodRangeT>(value)); return *this;}
95 private:
96
97 Aws::String m_arn;
98 bool m_arnHasBeenSet = false;
99
100 Aws::String m_name;
101 bool m_nameHasBeenSet = false;
102
103 Aws::String m_description;
104 bool m_descriptionHasBeenSet = false;
105
106 UpdateCustomLineItemChargeDetails m_chargeDetails;
107 bool m_chargeDetailsHasBeenSet = false;
108
109 CustomLineItemBillingPeriodRange m_billingPeriodRange;
110 bool m_billingPeriodRangeHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace BillingConductor
115} // namespace Aws
UpdateCustomLineItemRequest & WithDescription(DescriptionT &&value)
UpdateCustomLineItemRequest & WithBillingPeriodRange(BillingPeriodRangeT &&value)
const CustomLineItemBillingPeriodRange & GetBillingPeriodRange() const
UpdateCustomLineItemRequest & WithChargeDetails(ChargeDetailsT &&value)
const UpdateCustomLineItemChargeDetails & GetChargeDetails() const
AWS_BILLINGCONDUCTOR_API Aws::String SerializePayload() const override
AWS_BILLINGCONDUCTOR_API UpdateCustomLineItemRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String