AWS SDK for C++  1.9.103
AWS SDK for C++
EnhancedMetrics.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Kinesis
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
55  inline const Aws::Vector<MetricsName>& GetShardLevelMetrics() const{ return m_shardLevelMetrics; }
56 
71  inline bool ShardLevelMetricsHasBeenSet() const { return m_shardLevelMetricsHasBeenSet; }
72 
87  inline void SetShardLevelMetrics(const Aws::Vector<MetricsName>& value) { m_shardLevelMetricsHasBeenSet = true; m_shardLevelMetrics = value; }
88 
103  inline void SetShardLevelMetrics(Aws::Vector<MetricsName>&& value) { m_shardLevelMetricsHasBeenSet = true; m_shardLevelMetrics = std::move(value); }
104 
119  inline EnhancedMetrics& WithShardLevelMetrics(const Aws::Vector<MetricsName>& value) { SetShardLevelMetrics(value); return *this;}
120 
135  inline EnhancedMetrics& WithShardLevelMetrics(Aws::Vector<MetricsName>&& value) { SetShardLevelMetrics(std::move(value)); return *this;}
136 
151  inline EnhancedMetrics& AddShardLevelMetrics(const MetricsName& value) { m_shardLevelMetricsHasBeenSet = true; m_shardLevelMetrics.push_back(value); return *this; }
152 
167  inline EnhancedMetrics& AddShardLevelMetrics(MetricsName&& value) { m_shardLevelMetricsHasBeenSet = true; m_shardLevelMetrics.push_back(std::move(value)); return *this; }
168 
169  private:
170 
171  Aws::Vector<MetricsName> m_shardLevelMetrics;
172  bool m_shardLevelMetricsHasBeenSet;
173  };
174 
175 } // namespace Model
176 } // namespace Kinesis
177 } // namespace Aws
Aws::Kinesis::Model::EnhancedMetrics::EnhancedMetrics
EnhancedMetrics(Aws::Utils::Json::JsonView jsonValue)
Aws::Kinesis::Model::EnhancedMetrics::ShardLevelMetricsHasBeenSet
bool ShardLevelMetricsHasBeenSet() const
Definition: EnhancedMetrics.h:71
Aws::Kinesis::Model::EnhancedMetrics::SetShardLevelMetrics
void SetShardLevelMetrics(const Aws::Vector< MetricsName > &value)
Definition: EnhancedMetrics.h:87
Aws::Kinesis::Model::EnhancedMetrics::EnhancedMetrics
EnhancedMetrics()
Aws::Kinesis::Model::EnhancedMetrics::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
AWS_KINESIS_API
#define AWS_KINESIS_API
Definition: Kinesis_EXPORTS.h:28
Aws::Kinesis::Model::EnhancedMetrics::WithShardLevelMetrics
EnhancedMetrics & WithShardLevelMetrics(const Aws::Vector< MetricsName > &value)
Definition: EnhancedMetrics.h:119
Aws::Kinesis::Model::EnhancedMetrics::AddShardLevelMetrics
EnhancedMetrics & AddShardLevelMetrics(const MetricsName &value)
Definition: EnhancedMetrics.h:151
Aws::Kinesis::Model::EnhancedMetrics::WithShardLevelMetrics
EnhancedMetrics & WithShardLevelMetrics(Aws::Vector< MetricsName > &&value)
Definition: EnhancedMetrics.h:135
Aws::Kinesis::Model::EnhancedMetrics::GetShardLevelMetrics
const Aws::Vector< MetricsName > & GetShardLevelMetrics() const
Definition: EnhancedMetrics.h:55
Aws::Kinesis::Model::EnhancedMetrics
Definition: EnhancedMetrics.h:33
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Kinesis_EXPORTS.h
Aws::Kinesis::Model::EnhancedMetrics::operator=
EnhancedMetrics & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
MetricsName.h
Aws::Kinesis::Model::EnhancedMetrics::AddShardLevelMetrics
EnhancedMetrics & AddShardLevelMetrics(MetricsName &&value)
Definition: EnhancedMetrics.h:167
Aws::Kinesis::Model::MetricsName
MetricsName
Definition: MetricsName.h:17
Aws::Kinesis::Model::EnhancedMetrics::SetShardLevelMetrics
void SetShardLevelMetrics(Aws::Vector< MetricsName > &&value)
Definition: EnhancedMetrics.h:103