AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConsumptionConfiguration.h
1
6#pragma once
7#include <aws/license-manager/LicenseManager_EXPORTS.h>
8#include <aws/license-manager/model/RenewType.h>
9#include <aws/license-manager/model/ProvisionalConfiguration.h>
10#include <aws/license-manager/model/BorrowConfiguration.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace LicenseManager
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_LICENSEMANAGER_API ConsumptionConfiguration();
37 AWS_LICENSEMANAGER_API ConsumptionConfiguration(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LICENSEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const RenewType& GetRenewType() const{ return m_renewType; }
47 inline bool RenewTypeHasBeenSet() const { return m_renewTypeHasBeenSet; }
48 inline void SetRenewType(const RenewType& value) { m_renewTypeHasBeenSet = true; m_renewType = value; }
49 inline void SetRenewType(RenewType&& value) { m_renewTypeHasBeenSet = true; m_renewType = std::move(value); }
50 inline ConsumptionConfiguration& WithRenewType(const RenewType& value) { SetRenewType(value); return *this;}
51 inline ConsumptionConfiguration& WithRenewType(RenewType&& value) { SetRenewType(std::move(value)); return *this;}
53
55
58 inline const ProvisionalConfiguration& GetProvisionalConfiguration() const{ return m_provisionalConfiguration; }
59 inline bool ProvisionalConfigurationHasBeenSet() const { return m_provisionalConfigurationHasBeenSet; }
60 inline void SetProvisionalConfiguration(const ProvisionalConfiguration& value) { m_provisionalConfigurationHasBeenSet = true; m_provisionalConfiguration = value; }
61 inline void SetProvisionalConfiguration(ProvisionalConfiguration&& value) { m_provisionalConfigurationHasBeenSet = true; m_provisionalConfiguration = std::move(value); }
65
67
70 inline const BorrowConfiguration& GetBorrowConfiguration() const{ return m_borrowConfiguration; }
71 inline bool BorrowConfigurationHasBeenSet() const { return m_borrowConfigurationHasBeenSet; }
72 inline void SetBorrowConfiguration(const BorrowConfiguration& value) { m_borrowConfigurationHasBeenSet = true; m_borrowConfiguration = value; }
73 inline void SetBorrowConfiguration(BorrowConfiguration&& value) { m_borrowConfigurationHasBeenSet = true; m_borrowConfiguration = std::move(value); }
77 private:
78
79 RenewType m_renewType;
80 bool m_renewTypeHasBeenSet = false;
81
82 ProvisionalConfiguration m_provisionalConfiguration;
83 bool m_provisionalConfigurationHasBeenSet = false;
84
85 BorrowConfiguration m_borrowConfiguration;
86 bool m_borrowConfigurationHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace LicenseManager
91} // namespace Aws
void SetProvisionalConfiguration(const ProvisionalConfiguration &value)
ConsumptionConfiguration & WithRenewType(RenewType &&value)
ConsumptionConfiguration & WithProvisionalConfiguration(ProvisionalConfiguration &&value)
ConsumptionConfiguration & WithProvisionalConfiguration(const ProvisionalConfiguration &value)
void SetBorrowConfiguration(const BorrowConfiguration &value)
ConsumptionConfiguration & WithBorrowConfiguration(const BorrowConfiguration &value)
ConsumptionConfiguration & WithBorrowConfiguration(BorrowConfiguration &&value)
AWS_LICENSEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LICENSEMANAGER_API ConsumptionConfiguration(Aws::Utils::Json::JsonView jsonValue)
ConsumptionConfiguration & WithRenewType(const RenewType &value)
AWS_LICENSEMANAGER_API ConsumptionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetProvisionalConfiguration(ProvisionalConfiguration &&value)
const ProvisionalConfiguration & GetProvisionalConfiguration() const
Aws::Utils::Json::JsonValue JsonValue