AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateBillingViewRequest.h
1
6#pragma once
7#include <aws/billing/Billing_EXPORTS.h>
8#include <aws/billing/BillingRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/billing/model/Expression.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Billing
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_BILLING_API UpdateBillingViewRequest() = 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 "UpdateBillingView"; }
32
33 AWS_BILLING_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline const Aws::String& GetArn() const { return m_arn; }
44 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
45 template<typename ArnT = Aws::String>
46 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
47 template<typename ArnT = Aws::String>
48 UpdateBillingViewRequest& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
50
52
55 inline const Aws::String& GetName() const { return m_name; }
56 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
57 template<typename NameT = Aws::String>
58 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
59 template<typename NameT = Aws::String>
60 UpdateBillingViewRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
62
64
67 inline const Aws::String& GetDescription() const { return m_description; }
68 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
69 template<typename DescriptionT = Aws::String>
70 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
71 template<typename DescriptionT = Aws::String>
72 UpdateBillingViewRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
74
76
82 inline const Expression& GetDataFilterExpression() const { return m_dataFilterExpression; }
83 inline bool DataFilterExpressionHasBeenSet() const { return m_dataFilterExpressionHasBeenSet; }
84 template<typename DataFilterExpressionT = Expression>
85 void SetDataFilterExpression(DataFilterExpressionT&& value) { m_dataFilterExpressionHasBeenSet = true; m_dataFilterExpression = std::forward<DataFilterExpressionT>(value); }
86 template<typename DataFilterExpressionT = Expression>
87 UpdateBillingViewRequest& WithDataFilterExpression(DataFilterExpressionT&& value) { SetDataFilterExpression(std::forward<DataFilterExpressionT>(value)); return *this;}
89 private:
90
91 Aws::String m_arn;
92 bool m_arnHasBeenSet = false;
93
94 Aws::String m_name;
95 bool m_nameHasBeenSet = false;
96
97 Aws::String m_description;
98 bool m_descriptionHasBeenSet = false;
99
100 Expression m_dataFilterExpression;
101 bool m_dataFilterExpressionHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace Billing
106} // namespace Aws
AWS_BILLING_API UpdateBillingViewRequest()=default
AWS_BILLING_API Aws::String SerializePayload() const override
AWS_BILLING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateBillingViewRequest & WithDescription(DescriptionT &&value)
UpdateBillingViewRequest & WithArn(ArnT &&value)
UpdateBillingViewRequest & WithName(NameT &&value)
virtual const char * GetServiceRequestName() const override
UpdateBillingViewRequest & WithDataFilterExpression(DataFilterExpressionT &&value)
void SetDataFilterExpression(DataFilterExpressionT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String