AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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#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 DynamoDBCapacityDetails();
36 AWS_COSTEXPLORER_API DynamoDBCapacityDetails(Aws::Utils::Json::JsonView jsonValue);
38 AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetCapacityUnits() const{ return m_capacityUnits; }
46 inline bool CapacityUnitsHasBeenSet() const { return m_capacityUnitsHasBeenSet; }
47 inline void SetCapacityUnits(const Aws::String& value) { m_capacityUnitsHasBeenSet = true; m_capacityUnits = value; }
48 inline void SetCapacityUnits(Aws::String&& value) { m_capacityUnitsHasBeenSet = true; m_capacityUnits = std::move(value); }
49 inline void SetCapacityUnits(const char* value) { m_capacityUnitsHasBeenSet = true; m_capacityUnits.assign(value); }
50 inline DynamoDBCapacityDetails& WithCapacityUnits(const Aws::String& value) { SetCapacityUnits(value); return *this;}
51 inline DynamoDBCapacityDetails& WithCapacityUnits(Aws::String&& value) { SetCapacityUnits(std::move(value)); return *this;}
52 inline DynamoDBCapacityDetails& WithCapacityUnits(const char* value) { SetCapacityUnits(value); return *this;}
54
56
59 inline const Aws::String& GetRegion() const{ return m_region; }
60 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
61 inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; }
62 inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); }
63 inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); }
64 inline DynamoDBCapacityDetails& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
65 inline DynamoDBCapacityDetails& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
66 inline DynamoDBCapacityDetails& WithRegion(const char* value) { SetRegion(value); return *this;}
68 private:
69
70 Aws::String m_capacityUnits;
71 bool m_capacityUnitsHasBeenSet = false;
72
73 Aws::String m_region;
74 bool m_regionHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace CostExplorer
79} // namespace Aws
AWS_COSTEXPLORER_API DynamoDBCapacityDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
DynamoDBCapacityDetails & WithRegion(const char *value)
AWS_COSTEXPLORER_API DynamoDBCapacityDetails(Aws::Utils::Json::JsonView jsonValue)
DynamoDBCapacityDetails & WithRegion(Aws::String &&value)
DynamoDBCapacityDetails & WithRegion(const Aws::String &value)
DynamoDBCapacityDetails & WithCapacityUnits(const char *value)
DynamoDBCapacityDetails & WithCapacityUnits(const Aws::String &value)
DynamoDBCapacityDetails & WithCapacityUnits(Aws::String &&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