AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
StorageConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/cost-optimization-hub/CostOptimizationHub_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CostOptimizationHub {
20namespace Model {
21
29 public:
30 AWS_COSTOPTIMIZATIONHUB_API StorageConfiguration() = default;
31 AWS_COSTOPTIMIZATIONHUB_API StorageConfiguration(Aws::Utils::Json::JsonView jsonValue);
32 AWS_COSTOPTIMIZATIONHUB_API StorageConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_COSTOPTIMIZATIONHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetType() const { return m_type; }
40 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
41 template <typename TypeT = Aws::String>
42 void SetType(TypeT&& value) {
43 m_typeHasBeenSet = true;
44 m_type = std::forward<TypeT>(value);
45 }
46 template <typename TypeT = Aws::String>
48 SetType(std::forward<TypeT>(value));
49 return *this;
50 }
52
54
57 inline double GetSizeInGb() const { return m_sizeInGb; }
58 inline bool SizeInGbHasBeenSet() const { return m_sizeInGbHasBeenSet; }
59 inline void SetSizeInGb(double value) {
60 m_sizeInGbHasBeenSet = true;
61 m_sizeInGb = value;
62 }
63 inline StorageConfiguration& WithSizeInGb(double value) {
64 SetSizeInGb(value);
65 return *this;
66 }
68 private:
69 Aws::String m_type;
70
71 double m_sizeInGb{0.0};
72 bool m_typeHasBeenSet = false;
73 bool m_sizeInGbHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace CostOptimizationHub
78} // namespace Aws
AWS_COSTOPTIMIZATIONHUB_API StorageConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_COSTOPTIMIZATIONHUB_API StorageConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_COSTOPTIMIZATIONHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_COSTOPTIMIZATIONHUB_API StorageConfiguration()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue