AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EC2ResourceUtilization.h
1
6#pragma once
7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ce/model/EBSResourceUtilization.h>
10#include <aws/ce/model/DiskResourceUtilization.h>
11#include <aws/ce/model/NetworkResourceUtilization.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace CostExplorer
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_COSTEXPLORER_API EC2ResourceUtilization();
38 AWS_COSTEXPLORER_API EC2ResourceUtilization(Aws::Utils::Json::JsonView jsonValue);
40 AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetMaxCpuUtilizationPercentage() const{ return m_maxCpuUtilizationPercentage; }
48 inline bool MaxCpuUtilizationPercentageHasBeenSet() const { return m_maxCpuUtilizationPercentageHasBeenSet; }
49 inline void SetMaxCpuUtilizationPercentage(const Aws::String& value) { m_maxCpuUtilizationPercentageHasBeenSet = true; m_maxCpuUtilizationPercentage = value; }
50 inline void SetMaxCpuUtilizationPercentage(Aws::String&& value) { m_maxCpuUtilizationPercentageHasBeenSet = true; m_maxCpuUtilizationPercentage = std::move(value); }
51 inline void SetMaxCpuUtilizationPercentage(const char* value) { m_maxCpuUtilizationPercentageHasBeenSet = true; m_maxCpuUtilizationPercentage.assign(value); }
56
58
61 inline const Aws::String& GetMaxMemoryUtilizationPercentage() const{ return m_maxMemoryUtilizationPercentage; }
62 inline bool MaxMemoryUtilizationPercentageHasBeenSet() const { return m_maxMemoryUtilizationPercentageHasBeenSet; }
63 inline void SetMaxMemoryUtilizationPercentage(const Aws::String& value) { m_maxMemoryUtilizationPercentageHasBeenSet = true; m_maxMemoryUtilizationPercentage = value; }
64 inline void SetMaxMemoryUtilizationPercentage(Aws::String&& value) { m_maxMemoryUtilizationPercentageHasBeenSet = true; m_maxMemoryUtilizationPercentage = std::move(value); }
65 inline void SetMaxMemoryUtilizationPercentage(const char* value) { m_maxMemoryUtilizationPercentageHasBeenSet = true; m_maxMemoryUtilizationPercentage.assign(value); }
70
72
76 inline const Aws::String& GetMaxStorageUtilizationPercentage() const{ return m_maxStorageUtilizationPercentage; }
77 inline bool MaxStorageUtilizationPercentageHasBeenSet() const { return m_maxStorageUtilizationPercentageHasBeenSet; }
78 inline void SetMaxStorageUtilizationPercentage(const Aws::String& value) { m_maxStorageUtilizationPercentageHasBeenSet = true; m_maxStorageUtilizationPercentage = value; }
79 inline void SetMaxStorageUtilizationPercentage(Aws::String&& value) { m_maxStorageUtilizationPercentageHasBeenSet = true; m_maxStorageUtilizationPercentage = std::move(value); }
80 inline void SetMaxStorageUtilizationPercentage(const char* value) { m_maxStorageUtilizationPercentageHasBeenSet = true; m_maxStorageUtilizationPercentage.assign(value); }
85
87
91 inline const EBSResourceUtilization& GetEBSResourceUtilization() const{ return m_eBSResourceUtilization; }
92 inline bool EBSResourceUtilizationHasBeenSet() const { return m_eBSResourceUtilizationHasBeenSet; }
93 inline void SetEBSResourceUtilization(const EBSResourceUtilization& value) { m_eBSResourceUtilizationHasBeenSet = true; m_eBSResourceUtilization = value; }
94 inline void SetEBSResourceUtilization(EBSResourceUtilization&& value) { m_eBSResourceUtilizationHasBeenSet = true; m_eBSResourceUtilization = std::move(value); }
98
100
104 inline const DiskResourceUtilization& GetDiskResourceUtilization() const{ return m_diskResourceUtilization; }
105 inline bool DiskResourceUtilizationHasBeenSet() const { return m_diskResourceUtilizationHasBeenSet; }
106 inline void SetDiskResourceUtilization(const DiskResourceUtilization& value) { m_diskResourceUtilizationHasBeenSet = true; m_diskResourceUtilization = value; }
107 inline void SetDiskResourceUtilization(DiskResourceUtilization&& value) { m_diskResourceUtilizationHasBeenSet = true; m_diskResourceUtilization = std::move(value); }
111
113
117 inline const NetworkResourceUtilization& GetNetworkResourceUtilization() const{ return m_networkResourceUtilization; }
118 inline bool NetworkResourceUtilizationHasBeenSet() const { return m_networkResourceUtilizationHasBeenSet; }
119 inline void SetNetworkResourceUtilization(const NetworkResourceUtilization& value) { m_networkResourceUtilizationHasBeenSet = true; m_networkResourceUtilization = value; }
120 inline void SetNetworkResourceUtilization(NetworkResourceUtilization&& value) { m_networkResourceUtilizationHasBeenSet = true; m_networkResourceUtilization = std::move(value); }
124 private:
125
126 Aws::String m_maxCpuUtilizationPercentage;
127 bool m_maxCpuUtilizationPercentageHasBeenSet = false;
128
129 Aws::String m_maxMemoryUtilizationPercentage;
130 bool m_maxMemoryUtilizationPercentageHasBeenSet = false;
131
132 Aws::String m_maxStorageUtilizationPercentage;
133 bool m_maxStorageUtilizationPercentageHasBeenSet = false;
134
135 EBSResourceUtilization m_eBSResourceUtilization;
136 bool m_eBSResourceUtilizationHasBeenSet = false;
137
138 DiskResourceUtilization m_diskResourceUtilization;
139 bool m_diskResourceUtilizationHasBeenSet = false;
140
141 NetworkResourceUtilization m_networkResourceUtilization;
142 bool m_networkResourceUtilizationHasBeenSet = false;
143 };
144
145} // namespace Model
146} // namespace CostExplorer
147} // namespace Aws
EC2ResourceUtilization & WithMaxStorageUtilizationPercentage(Aws::String &&value)
EC2ResourceUtilization & WithEBSResourceUtilization(EBSResourceUtilization &&value)
EC2ResourceUtilization & WithMaxCpuUtilizationPercentage(const char *value)
EC2ResourceUtilization & WithMaxMemoryUtilizationPercentage(Aws::String &&value)
EC2ResourceUtilization & WithDiskResourceUtilization(const DiskResourceUtilization &value)
EC2ResourceUtilization & WithDiskResourceUtilization(DiskResourceUtilization &&value)
AWS_COSTEXPLORER_API EC2ResourceUtilization & operator=(Aws::Utils::Json::JsonView jsonValue)
EC2ResourceUtilization & WithNetworkResourceUtilization(NetworkResourceUtilization &&value)
AWS_COSTEXPLORER_API EC2ResourceUtilization(Aws::Utils::Json::JsonView jsonValue)
void SetMaxStorageUtilizationPercentage(const Aws::String &value)
const DiskResourceUtilization & GetDiskResourceUtilization() const
void SetDiskResourceUtilization(const DiskResourceUtilization &value)
EC2ResourceUtilization & WithMaxCpuUtilizationPercentage(Aws::String &&value)
EC2ResourceUtilization & WithMaxCpuUtilizationPercentage(const Aws::String &value)
void SetDiskResourceUtilization(DiskResourceUtilization &&value)
EC2ResourceUtilization & WithNetworkResourceUtilization(const NetworkResourceUtilization &value)
void SetNetworkResourceUtilization(const NetworkResourceUtilization &value)
EC2ResourceUtilization & WithMaxMemoryUtilizationPercentage(const Aws::String &value)
const EBSResourceUtilization & GetEBSResourceUtilization() const
void SetEBSResourceUtilization(const EBSResourceUtilization &value)
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMaxCpuUtilizationPercentage(const Aws::String &value)
void SetNetworkResourceUtilization(NetworkResourceUtilization &&value)
void SetMaxMemoryUtilizationPercentage(const Aws::String &value)
EC2ResourceUtilization & WithMaxStorageUtilizationPercentage(const Aws::String &value)
EC2ResourceUtilization & WithMaxMemoryUtilizationPercentage(const char *value)
EC2ResourceUtilization & WithMaxStorageUtilizationPercentage(const char *value)
void SetEBSResourceUtilization(EBSResourceUtilization &&value)
EC2ResourceUtilization & WithEBSResourceUtilization(const EBSResourceUtilization &value)
const NetworkResourceUtilization & GetNetworkResourceUtilization() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue