AWS SDK for C++

AWS SDK for C++ Version 1.11.945

Loading...
Searching...
No Matches
CoverageCost.h
1
6#pragma once
7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CostExplorer {
20namespace Model {
21
29 public:
30 AWS_COSTEXPLORER_API CoverageCost() = default;
31 AWS_COSTEXPLORER_API CoverageCost(Aws::Utils::Json::JsonView jsonValue);
32 AWS_COSTEXPLORER_API CoverageCost& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
42 inline const Aws::String& GetOnDemandCost() const { return m_onDemandCost; }
43 inline bool OnDemandCostHasBeenSet() const { return m_onDemandCostHasBeenSet; }
44 template <typename OnDemandCostT = Aws::String>
45 void SetOnDemandCost(OnDemandCostT&& value) {
46 m_onDemandCostHasBeenSet = true;
47 m_onDemandCost = std::forward<OnDemandCostT>(value);
48 }
49 template <typename OnDemandCostT = Aws::String>
50 CoverageCost& WithOnDemandCost(OnDemandCostT&& value) {
51 SetOnDemandCost(std::forward<OnDemandCostT>(value));
52 return *this;
53 }
55 private:
56 Aws::String m_onDemandCost;
57 bool m_onDemandCostHasBeenSet = false;
58};
59
60} // namespace Model
61} // namespace CostExplorer
62} // namespace Aws
CoverageCost & WithOnDemandCost(OnDemandCostT &&value)
const Aws::String & GetOnDemandCost() const
void SetOnDemandCost(OnDemandCostT &&value)
AWS_COSTEXPLORER_API CoverageCost()=default
AWS_COSTEXPLORER_API CoverageCost(Aws::Utils::Json::JsonView jsonValue)
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_COSTEXPLORER_API CoverageCost & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue