AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DynamoDBCapacityDetails.h
1
6#pragma once
7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CostExplorer {
20namespace Model {
21
29 public:
30 AWS_COSTEXPLORER_API DynamoDBCapacityDetails() = default;
31 AWS_COSTEXPLORER_API DynamoDBCapacityDetails(Aws::Utils::Json::JsonView jsonValue);
33 AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetCapacityUnits() const { return m_capacityUnits; }
40 inline bool CapacityUnitsHasBeenSet() const { return m_capacityUnitsHasBeenSet; }
41 template <typename CapacityUnitsT = Aws::String>
42 void SetCapacityUnits(CapacityUnitsT&& value) {
43 m_capacityUnitsHasBeenSet = true;
44 m_capacityUnits = std::forward<CapacityUnitsT>(value);
45 }
46 template <typename CapacityUnitsT = Aws::String>
47 DynamoDBCapacityDetails& WithCapacityUnits(CapacityUnitsT&& value) {
48 SetCapacityUnits(std::forward<CapacityUnitsT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetRegion() const { return m_region; }
58 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
59 template <typename RegionT = Aws::String>
60 void SetRegion(RegionT&& value) {
61 m_regionHasBeenSet = true;
62 m_region = std::forward<RegionT>(value);
63 }
64 template <typename RegionT = Aws::String>
66 SetRegion(std::forward<RegionT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_capacityUnits;
72
73 Aws::String m_region;
74 bool m_capacityUnitsHasBeenSet = false;
75 bool m_regionHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace CostExplorer
80} // namespace Aws
AWS_COSTEXPLORER_API DynamoDBCapacityDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_COSTEXPLORER_API DynamoDBCapacityDetails()=default
AWS_COSTEXPLORER_API DynamoDBCapacityDetails(Aws::Utils::Json::JsonView jsonValue)
DynamoDBCapacityDetails & WithCapacityUnits(CapacityUnitsT &&value)
DynamoDBCapacityDetails & WithRegion(RegionT &&value)
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue