AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
UpdateBillingViewRequest.h
1
6#pragma once
7#include <aws/billing/BillingRequest.h>
8#include <aws/billing/Billing_EXPORTS.h>
9#include <aws/billing/model/Expression.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Billing {
16namespace Model {
17
21 public:
22 AWS_BILLING_API UpdateBillingViewRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateBillingView"; }
29
30 AWS_BILLING_API Aws::String SerializePayload() const override;
31
33
35
39 inline const Aws::String& GetArn() const { return m_arn; }
40 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
41 template <typename ArnT = Aws::String>
42 void SetArn(ArnT&& value) {
43 m_arnHasBeenSet = true;
44 m_arn = std::forward<ArnT>(value);
45 }
46 template <typename ArnT = Aws::String>
48 SetArn(std::forward<ArnT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetName() const { return m_name; }
58 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
59 template <typename NameT = Aws::String>
60 void SetName(NameT&& value) {
61 m_nameHasBeenSet = true;
62 m_name = std::forward<NameT>(value);
63 }
64 template <typename NameT = Aws::String>
66 SetName(std::forward<NameT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetDescription() const { return m_description; }
76 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
77 template <typename DescriptionT = Aws::String>
78 void SetDescription(DescriptionT&& value) {
79 m_descriptionHasBeenSet = true;
80 m_description = std::forward<DescriptionT>(value);
81 }
82 template <typename DescriptionT = Aws::String>
84 SetDescription(std::forward<DescriptionT>(value));
85 return *this;
86 }
88
90
96 inline const Expression& GetDataFilterExpression() const { return m_dataFilterExpression; }
97 inline bool DataFilterExpressionHasBeenSet() const { return m_dataFilterExpressionHasBeenSet; }
98 template <typename DataFilterExpressionT = Expression>
99 void SetDataFilterExpression(DataFilterExpressionT&& value) {
100 m_dataFilterExpressionHasBeenSet = true;
101 m_dataFilterExpression = std::forward<DataFilterExpressionT>(value);
102 }
103 template <typename DataFilterExpressionT = Expression>
104 UpdateBillingViewRequest& WithDataFilterExpression(DataFilterExpressionT&& value) {
105 SetDataFilterExpression(std::forward<DataFilterExpressionT>(value));
106 return *this;
107 }
109 private:
110 Aws::String m_arn;
111
112 Aws::String m_name;
113
114 Aws::String m_description;
115
116 Expression m_dataFilterExpression;
117 bool m_arnHasBeenSet = false;
118 bool m_nameHasBeenSet = false;
119 bool m_descriptionHasBeenSet = false;
120 bool m_dataFilterExpressionHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace Billing
125} // 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