AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EC2Specification.h
1
6#pragma once
7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/ce/model/OfferingClass.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 CostExplorer
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_COSTEXPLORER_API EC2Specification();
36 AWS_COSTEXPLORER_API EC2Specification(Aws::Utils::Json::JsonView jsonValue);
37 AWS_COSTEXPLORER_API EC2Specification& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const OfferingClass& GetOfferingClass() const{ return m_offeringClass; }
47 inline bool OfferingClassHasBeenSet() const { return m_offeringClassHasBeenSet; }
48 inline void SetOfferingClass(const OfferingClass& value) { m_offeringClassHasBeenSet = true; m_offeringClass = value; }
49 inline void SetOfferingClass(OfferingClass&& value) { m_offeringClassHasBeenSet = true; m_offeringClass = std::move(value); }
50 inline EC2Specification& WithOfferingClass(const OfferingClass& value) { SetOfferingClass(value); return *this;}
51 inline EC2Specification& WithOfferingClass(OfferingClass&& value) { SetOfferingClass(std::move(value)); return *this;}
53 private:
54
55 OfferingClass m_offeringClass;
56 bool m_offeringClassHasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace CostExplorer
61} // namespace Aws
const OfferingClass & GetOfferingClass() const
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOfferingClass(OfferingClass &&value)
EC2Specification & WithOfferingClass(const OfferingClass &value)
EC2Specification & WithOfferingClass(OfferingClass &&value)
AWS_COSTEXPLORER_API EC2Specification & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_COSTEXPLORER_API EC2Specification(Aws::Utils::Json::JsonView jsonValue)
void SetOfferingClass(const OfferingClass &value)
Aws::Utils::Json::JsonValue JsonValue