AWS SDK for C++

AWS SDK for C++ Version 1.11.785

Loading...
Searching...
No Matches
CreateBillEstimateRequest.h
1
6#pragma once
7#include <aws/bcm-pricing-calculator/BCMPricingCalculatorRequest.h>
8#include <aws/bcm-pricing-calculator/BCMPricingCalculator_EXPORTS.h>
9#include <aws/core/utils/UUID.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16namespace BCMPricingCalculator {
17namespace Model {
18
22 public:
23 AWS_BCMPRICINGCALCULATOR_API CreateBillEstimateRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "CreateBillEstimate"; }
30
31 AWS_BCMPRICINGCALCULATOR_API Aws::String SerializePayload() const override;
32
33 AWS_BCMPRICINGCALCULATOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
34
36
40 inline const Aws::String& GetBillScenarioId() const { return m_billScenarioId; }
41 inline bool BillScenarioIdHasBeenSet() const { return m_billScenarioIdHasBeenSet; }
42 template <typename BillScenarioIdT = Aws::String>
43 void SetBillScenarioId(BillScenarioIdT&& value) {
44 m_billScenarioIdHasBeenSet = true;
45 m_billScenarioId = std::forward<BillScenarioIdT>(value);
46 }
47 template <typename BillScenarioIdT = Aws::String>
49 SetBillScenarioId(std::forward<BillScenarioIdT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetName() const { return m_name; }
60 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
61 template <typename NameT = Aws::String>
62 void SetName(NameT&& value) {
63 m_nameHasBeenSet = true;
64 m_name = std::forward<NameT>(value);
65 }
66 template <typename NameT = Aws::String>
68 SetName(std::forward<NameT>(value));
69 return *this;
70 }
72
74
78 inline const Aws::String& GetClientToken() const { return m_clientToken; }
79 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
80 template <typename ClientTokenT = Aws::String>
81 void SetClientToken(ClientTokenT&& value) {
82 m_clientTokenHasBeenSet = true;
83 m_clientToken = std::forward<ClientTokenT>(value);
84 }
85 template <typename ClientTokenT = Aws::String>
87 SetClientToken(std::forward<ClientTokenT>(value));
88 return *this;
89 }
91
93
108 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
109 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
110 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
111 void SetTags(TagsT&& value) {
112 m_tagsHasBeenSet = true;
113 m_tags = std::forward<TagsT>(value);
114 }
115 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
117 SetTags(std::forward<TagsT>(value));
118 return *this;
119 }
120 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
121 CreateBillEstimateRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
122 m_tagsHasBeenSet = true;
123 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
124 return *this;
125 }
127 private:
128 Aws::String m_billScenarioId;
129
130 Aws::String m_name;
131
133
135 bool m_billScenarioIdHasBeenSet = false;
136 bool m_nameHasBeenSet = false;
137 bool m_clientTokenHasBeenSet = true;
138 bool m_tagsHasBeenSet = false;
139};
140
141} // namespace Model
142} // namespace BCMPricingCalculator
143} // namespace Aws
AWS_BCMPRICINGCALCULATOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateBillEstimateRequest & WithBillScenarioId(BillScenarioIdT &&value)
AWS_BCMPRICINGCALCULATOR_API Aws::String SerializePayload() const override
AWS_BCMPRICINGCALCULATOR_API CreateBillEstimateRequest()=default
CreateBillEstimateRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateBillEstimateRequest & WithClientToken(ClientTokenT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String