AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
44 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
45 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
46 inline UpdateCustomLineItemRequest& WithArn(const Aws::String& value) { SetArn(value); return *this;}
47 inline UpdateCustomLineItemRequest& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
48 inline UpdateCustomLineItemRequest& WithArn(const char* value) { SetArn(value); return *this;}
50
52
55 inline const Aws::String& GetName() const{ return m_name; }
56 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
57 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
58 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
59 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
60 inline UpdateCustomLineItemRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
61 inline UpdateCustomLineItemRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
62 inline UpdateCustomLineItemRequest& WithName(const char* value) { SetName(value); return *this;}
64
66
69 inline const Aws::String& GetDescription() const{ return m_description; }
70 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
71 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
72 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
73 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
74 inline UpdateCustomLineItemRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
75 inline UpdateCustomLineItemRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
76 inline UpdateCustomLineItemRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
78
80
84 inline const UpdateCustomLineItemChargeDetails& GetChargeDetails() const{ return m_chargeDetails; }
85 inline bool ChargeDetailsHasBeenSet() const { return m_chargeDetailsHasBeenSet; }
86 inline void SetChargeDetails(const UpdateCustomLineItemChargeDetails& value) { m_chargeDetailsHasBeenSet = true; m_chargeDetails = value; }
87 inline void SetChargeDetails(UpdateCustomLineItemChargeDetails&& value) { m_chargeDetailsHasBeenSet = true; m_chargeDetails = std::move(value); }
91
93
94 inline const CustomLineItemBillingPeriodRange& GetBillingPeriodRange() const{ return m_billingPeriodRange; }
95 inline bool BillingPeriodRangeHasBeenSet() const { return m_billingPeriodRangeHasBeenSet; }
96 inline void SetBillingPeriodRange(const CustomLineItemBillingPeriodRange& value) { m_billingPeriodRangeHasBeenSet = true; m_billingPeriodRange = value; }
97 inline void SetBillingPeriodRange(CustomLineItemBillingPeriodRange&& value) { m_billingPeriodRangeHasBeenSet = true; m_billingPeriodRange = std::move(value); }
101 private:
102
103 Aws::String m_arn;
104 bool m_arnHasBeenSet = false;
105
106 Aws::String m_name;
107 bool m_nameHasBeenSet = false;
108
109 Aws::String m_description;
110 bool m_descriptionHasBeenSet = false;
111
112 UpdateCustomLineItemChargeDetails m_chargeDetails;
113 bool m_chargeDetailsHasBeenSet = false;
114
115 CustomLineItemBillingPeriodRange m_billingPeriodRange;
116 bool m_billingPeriodRangeHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace BillingConductor
121} // namespace Aws
UpdateCustomLineItemRequest & WithArn(const Aws::String &value)
UpdateCustomLineItemRequest & WithName(const Aws::String &value)
UpdateCustomLineItemRequest & WithBillingPeriodRange(CustomLineItemBillingPeriodRange &&value)
UpdateCustomLineItemRequest & WithArn(const char *value)
const CustomLineItemBillingPeriodRange & GetBillingPeriodRange() const
UpdateCustomLineItemRequest & WithName(const char *value)
UpdateCustomLineItemRequest & WithBillingPeriodRange(const CustomLineItemBillingPeriodRange &value)
void SetBillingPeriodRange(const CustomLineItemBillingPeriodRange &value)
UpdateCustomLineItemRequest & WithDescription(const char *value)
void SetChargeDetails(UpdateCustomLineItemChargeDetails &&value)
UpdateCustomLineItemRequest & WithChargeDetails(const UpdateCustomLineItemChargeDetails &value)
UpdateCustomLineItemRequest & WithDescription(Aws::String &&value)
void SetChargeDetails(const UpdateCustomLineItemChargeDetails &value)
UpdateCustomLineItemRequest & WithChargeDetails(UpdateCustomLineItemChargeDetails &&value)
UpdateCustomLineItemRequest & WithName(Aws::String &&value)
const UpdateCustomLineItemChargeDetails & GetChargeDetails() const
AWS_BILLINGCONDUCTOR_API Aws::String SerializePayload() const override
void SetBillingPeriodRange(CustomLineItemBillingPeriodRange &&value)
UpdateCustomLineItemRequest & WithDescription(const Aws::String &value)
UpdateCustomLineItemRequest & WithArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String