AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EnhancedMetrics.h
1
6#pragma once
7#include <aws/kinesis/Kinesis_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/kinesis/model/MetricsName.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Kinesis
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_KINESIS_API EnhancedMetrics();
36 AWS_KINESIS_API EnhancedMetrics(Aws::Utils::Json::JsonView jsonValue);
38 AWS_KINESIS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
56 inline const Aws::Vector<MetricsName>& GetShardLevelMetrics() const{ return m_shardLevelMetrics; }
57 inline bool ShardLevelMetricsHasBeenSet() const { return m_shardLevelMetricsHasBeenSet; }
58 inline void SetShardLevelMetrics(const Aws::Vector<MetricsName>& value) { m_shardLevelMetricsHasBeenSet = true; m_shardLevelMetrics = value; }
59 inline void SetShardLevelMetrics(Aws::Vector<MetricsName>&& value) { m_shardLevelMetricsHasBeenSet = true; m_shardLevelMetrics = std::move(value); }
61 inline EnhancedMetrics& WithShardLevelMetrics(Aws::Vector<MetricsName>&& value) { SetShardLevelMetrics(std::move(value)); return *this;}
62 inline EnhancedMetrics& AddShardLevelMetrics(const MetricsName& value) { m_shardLevelMetricsHasBeenSet = true; m_shardLevelMetrics.push_back(value); return *this; }
63 inline EnhancedMetrics& AddShardLevelMetrics(MetricsName&& value) { m_shardLevelMetricsHasBeenSet = true; m_shardLevelMetrics.push_back(std::move(value)); return *this; }
65 private:
66
67 Aws::Vector<MetricsName> m_shardLevelMetrics;
68 bool m_shardLevelMetricsHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace Kinesis
73} // namespace Aws
AWS_KINESIS_API EnhancedMetrics & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< MetricsName > & GetShardLevelMetrics() const
void SetShardLevelMetrics(const Aws::Vector< MetricsName > &value)
AWS_KINESIS_API EnhancedMetrics(Aws::Utils::Json::JsonView jsonValue)
EnhancedMetrics & WithShardLevelMetrics(const Aws::Vector< MetricsName > &value)
EnhancedMetrics & WithShardLevelMetrics(Aws::Vector< MetricsName > &&value)
EnhancedMetrics & AddShardLevelMetrics(const MetricsName &value)
EnhancedMetrics & AddShardLevelMetrics(MetricsName &&value)
void SetShardLevelMetrics(Aws::Vector< MetricsName > &&value)
AWS_KINESIS_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue