AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Tiering.h
1
6#pragma once
7#include <aws/billingconductor/BillingConductor_EXPORTS.h>
8#include <aws/billingconductor/model/FreeTierConfig.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace BillingConductor
22{
23namespace Model
24{
25
32 class Tiering
33 {
34 public:
35 AWS_BILLINGCONDUCTOR_API Tiering() = default;
36 AWS_BILLINGCONDUCTOR_API Tiering(Aws::Utils::Json::JsonView jsonValue);
37 AWS_BILLINGCONDUCTOR_API Tiering& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_BILLINGCONDUCTOR_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const FreeTierConfig& GetFreeTier() const { return m_freeTier; }
46 inline bool FreeTierHasBeenSet() const { return m_freeTierHasBeenSet; }
47 template<typename FreeTierT = FreeTierConfig>
48 void SetFreeTier(FreeTierT&& value) { m_freeTierHasBeenSet = true; m_freeTier = std::forward<FreeTierT>(value); }
49 template<typename FreeTierT = FreeTierConfig>
50 Tiering& WithFreeTier(FreeTierT&& value) { SetFreeTier(std::forward<FreeTierT>(value)); return *this;}
52 private:
53
54 FreeTierConfig m_freeTier;
55 bool m_freeTierHasBeenSet = false;
56 };
57
58} // namespace Model
59} // namespace BillingConductor
60} // namespace Aws
AWS_BILLINGCONDUCTOR_API Tiering & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFreeTier(FreeTierT &&value)
Definition Tiering.h:48
Tiering & WithFreeTier(FreeTierT &&value)
Definition Tiering.h:50
AWS_BILLINGCONDUCTOR_API Tiering()=default
const FreeTierConfig & GetFreeTier() const
Definition Tiering.h:45
AWS_BILLINGCONDUCTOR_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BILLINGCONDUCTOR_API Tiering(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue