AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
P95Metrics.h
1
6#pragma once
7#include <aws/datasync/DataSync_EXPORTS.h>
8#include <aws/datasync/model/IOPS.h>
9#include <aws/datasync/model/Throughput.h>
10#include <aws/datasync/model/Latency.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace DataSync
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_DATASYNC_API P95Metrics();
38 AWS_DATASYNC_API P95Metrics(Aws::Utils::Json::JsonView jsonValue);
39 AWS_DATASYNC_API P95Metrics& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const IOPS& GetIOPS() const{ return m_iOPS; }
49 inline bool IOPSHasBeenSet() const { return m_iOPSHasBeenSet; }
50 inline void SetIOPS(const IOPS& value) { m_iOPSHasBeenSet = true; m_iOPS = value; }
51 inline void SetIOPS(IOPS&& value) { m_iOPSHasBeenSet = true; m_iOPS = std::move(value); }
52 inline P95Metrics& WithIOPS(const IOPS& value) { SetIOPS(value); return *this;}
53 inline P95Metrics& WithIOPS(IOPS&& value) { SetIOPS(std::move(value)); return *this;}
55
57
61 inline const Throughput& GetThroughput() const{ return m_throughput; }
62 inline bool ThroughputHasBeenSet() const { return m_throughputHasBeenSet; }
63 inline void SetThroughput(const Throughput& value) { m_throughputHasBeenSet = true; m_throughput = value; }
64 inline void SetThroughput(Throughput&& value) { m_throughputHasBeenSet = true; m_throughput = std::move(value); }
65 inline P95Metrics& WithThroughput(const Throughput& value) { SetThroughput(value); return *this;}
66 inline P95Metrics& WithThroughput(Throughput&& value) { SetThroughput(std::move(value)); return *this;}
68
70
74 inline const Latency& GetLatency() const{ return m_latency; }
75 inline bool LatencyHasBeenSet() const { return m_latencyHasBeenSet; }
76 inline void SetLatency(const Latency& value) { m_latencyHasBeenSet = true; m_latency = value; }
77 inline void SetLatency(Latency&& value) { m_latencyHasBeenSet = true; m_latency = std::move(value); }
78 inline P95Metrics& WithLatency(const Latency& value) { SetLatency(value); return *this;}
79 inline P95Metrics& WithLatency(Latency&& value) { SetLatency(std::move(value)); return *this;}
81 private:
82
83 IOPS m_iOPS;
84 bool m_iOPSHasBeenSet = false;
85
86 Throughput m_throughput;
87 bool m_throughputHasBeenSet = false;
88
89 Latency m_latency;
90 bool m_latencyHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace DataSync
95} // namespace Aws
void SetThroughput(Throughput &&value)
Definition P95Metrics.h:64
P95Metrics & WithLatency(Latency &&value)
Definition P95Metrics.h:79
AWS_DATASYNC_API P95Metrics(Aws::Utils::Json::JsonView jsonValue)
AWS_DATASYNC_API P95Metrics & operator=(Aws::Utils::Json::JsonView jsonValue)
P95Metrics & WithLatency(const Latency &value)
Definition P95Metrics.h:78
P95Metrics & WithThroughput(const Throughput &value)
Definition P95Metrics.h:65
P95Metrics & WithIOPS(const IOPS &value)
Definition P95Metrics.h:52
P95Metrics & WithIOPS(IOPS &&value)
Definition P95Metrics.h:53
void SetThroughput(const Throughput &value)
Definition P95Metrics.h:63
const Latency & GetLatency() const
Definition P95Metrics.h:74
void SetLatency(Latency &&value)
Definition P95Metrics.h:77
void SetLatency(const Latency &value)
Definition P95Metrics.h:76
void SetIOPS(const IOPS &value)
Definition P95Metrics.h:50
P95Metrics & WithThroughput(Throughput &&value)
Definition P95Metrics.h:66
const IOPS & GetIOPS() const
Definition P95Metrics.h:48
const Throughput & GetThroughput() const
Definition P95Metrics.h:61
AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue