AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DeleteCustomLineItemRequest.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/CustomLineItemBillingPeriodRange.h>
11#include <utility>
12
13namespace Aws
14{
15namespace BillingConductor
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_BILLINGCONDUCTOR_API DeleteCustomLineItemRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DeleteCustomLineItem"; }
32
33 AWS_BILLINGCONDUCTOR_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetArn() const { return m_arn; }
41 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
42 template<typename ArnT = Aws::String>
43 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
44 template<typename ArnT = Aws::String>
45 DeleteCustomLineItemRequest& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
47
49
50 inline const CustomLineItemBillingPeriodRange& GetBillingPeriodRange() const { return m_billingPeriodRange; }
51 inline bool BillingPeriodRangeHasBeenSet() const { return m_billingPeriodRangeHasBeenSet; }
52 template<typename BillingPeriodRangeT = CustomLineItemBillingPeriodRange>
53 void SetBillingPeriodRange(BillingPeriodRangeT&& value) { m_billingPeriodRangeHasBeenSet = true; m_billingPeriodRange = std::forward<BillingPeriodRangeT>(value); }
54 template<typename BillingPeriodRangeT = CustomLineItemBillingPeriodRange>
55 DeleteCustomLineItemRequest& WithBillingPeriodRange(BillingPeriodRangeT&& value) { SetBillingPeriodRange(std::forward<BillingPeriodRangeT>(value)); return *this;}
57 private:
58
59 Aws::String m_arn;
60 bool m_arnHasBeenSet = false;
61
62 CustomLineItemBillingPeriodRange m_billingPeriodRange;
63 bool m_billingPeriodRangeHasBeenSet = false;
64 };
65
66} // namespace Model
67} // namespace BillingConductor
68} // namespace Aws
const CustomLineItemBillingPeriodRange & GetBillingPeriodRange() const
DeleteCustomLineItemRequest & WithBillingPeriodRange(BillingPeriodRangeT &&value)
AWS_BILLINGCONDUCTOR_API Aws::String SerializePayload() const override
AWS_BILLINGCONDUCTOR_API DeleteCustomLineItemRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String