AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
43 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
44 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
45 inline DeleteCustomLineItemRequest& WithArn(const Aws::String& value) { SetArn(value); return *this;}
46 inline DeleteCustomLineItemRequest& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
47 inline DeleteCustomLineItemRequest& WithArn(const char* value) { SetArn(value); return *this;}
49
51
52 inline const CustomLineItemBillingPeriodRange& GetBillingPeriodRange() const{ return m_billingPeriodRange; }
53 inline bool BillingPeriodRangeHasBeenSet() const { return m_billingPeriodRangeHasBeenSet; }
54 inline void SetBillingPeriodRange(const CustomLineItemBillingPeriodRange& value) { m_billingPeriodRangeHasBeenSet = true; m_billingPeriodRange = value; }
55 inline void SetBillingPeriodRange(CustomLineItemBillingPeriodRange&& value) { m_billingPeriodRangeHasBeenSet = true; m_billingPeriodRange = std::move(value); }
59 private:
60
61 Aws::String m_arn;
62 bool m_arnHasBeenSet = false;
63
64 CustomLineItemBillingPeriodRange m_billingPeriodRange;
65 bool m_billingPeriodRangeHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace BillingConductor
70} // namespace Aws
const CustomLineItemBillingPeriodRange & GetBillingPeriodRange() const
DeleteCustomLineItemRequest & WithArn(const Aws::String &value)
DeleteCustomLineItemRequest & WithBillingPeriodRange(const CustomLineItemBillingPeriodRange &value)
DeleteCustomLineItemRequest & WithBillingPeriodRange(CustomLineItemBillingPeriodRange &&value)
AWS_BILLINGCONDUCTOR_API Aws::String SerializePayload() const override
DeleteCustomLineItemRequest & WithArn(Aws::String &&value)
void SetBillingPeriodRange(CustomLineItemBillingPeriodRange &&value)
DeleteCustomLineItemRequest & WithArn(const char *value)
void SetBillingPeriodRange(const CustomLineItemBillingPeriodRange &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String