AWS SDK for C++

AWS SDK for C++ Version 1.11.719

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
28 public:
29 AWS_COSTEXPLORER_API CoverageCost() = default;
30 AWS_COSTEXPLORER_API CoverageCost(Aws::Utils::Json::JsonView jsonValue);
31 AWS_COSTEXPLORER_API CoverageCost& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetOnDemandCost() const { return m_onDemandCost; }
39 inline bool OnDemandCostHasBeenSet() const { return m_onDemandCostHasBeenSet; }
40 template <typename OnDemandCostT = Aws::String>
41 void SetOnDemandCost(OnDemandCostT&& value) {
42 m_onDemandCostHasBeenSet = true;
43 m_onDemandCost = std::forward<OnDemandCostT>(value);
44 }
45 template <typename OnDemandCostT = Aws::String>
46 CoverageCost& WithOnDemandCost(OnDemandCostT&& value) {
47 SetOnDemandCost(std::forward<OnDemandCostT>(value));
48 return *this;
49 }
51 private:
52 Aws::String m_onDemandCost;
53 bool m_onDemandCostHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace CostExplorer
58} // 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