AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ServiceSpecification.h
1
6#pragma once
7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/ce/model/EC2Specification.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 ServiceSpecification();
36 AWS_COSTEXPLORER_API ServiceSpecification(Aws::Utils::Json::JsonView jsonValue);
38 AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const EC2Specification& GetEC2Specification() const{ return m_eC2Specification; }
47 inline bool EC2SpecificationHasBeenSet() const { return m_eC2SpecificationHasBeenSet; }
48 inline void SetEC2Specification(const EC2Specification& value) { m_eC2SpecificationHasBeenSet = true; m_eC2Specification = value; }
49 inline void SetEC2Specification(EC2Specification&& value) { m_eC2SpecificationHasBeenSet = true; m_eC2Specification = std::move(value); }
51 inline ServiceSpecification& WithEC2Specification(EC2Specification&& value) { SetEC2Specification(std::move(value)); return *this;}
53 private:
54
55 EC2Specification m_eC2Specification;
56 bool m_eC2SpecificationHasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace CostExplorer
61} // namespace Aws
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_COSTEXPLORER_API ServiceSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceSpecification & WithEC2Specification(EC2Specification &&value)
void SetEC2Specification(const EC2Specification &value)
AWS_COSTEXPLORER_API ServiceSpecification(Aws::Utils::Json::JsonView jsonValue)
ServiceSpecification & WithEC2Specification(const EC2Specification &value)
const EC2Specification & GetEC2Specification() const
Aws::Utils::Json::JsonValue JsonValue