AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CurrentMetricResult.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/Dimensions.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/connect/model/CurrentMetricData.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 Connect
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_CONNECT_API CurrentMetricResult();
40 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Dimensions& GetDimensions() const{ return m_dimensions; }
48 inline bool DimensionsHasBeenSet() const { return m_dimensionsHasBeenSet; }
49 inline void SetDimensions(const Dimensions& value) { m_dimensionsHasBeenSet = true; m_dimensions = value; }
50 inline void SetDimensions(Dimensions&& value) { m_dimensionsHasBeenSet = true; m_dimensions = std::move(value); }
51 inline CurrentMetricResult& WithDimensions(const Dimensions& value) { SetDimensions(value); return *this;}
52 inline CurrentMetricResult& WithDimensions(Dimensions&& value) { SetDimensions(std::move(value)); return *this;}
54
56
59 inline const Aws::Vector<CurrentMetricData>& GetCollections() const{ return m_collections; }
60 inline bool CollectionsHasBeenSet() const { return m_collectionsHasBeenSet; }
61 inline void SetCollections(const Aws::Vector<CurrentMetricData>& value) { m_collectionsHasBeenSet = true; m_collections = value; }
62 inline void SetCollections(Aws::Vector<CurrentMetricData>&& value) { m_collectionsHasBeenSet = true; m_collections = std::move(value); }
64 inline CurrentMetricResult& WithCollections(Aws::Vector<CurrentMetricData>&& value) { SetCollections(std::move(value)); return *this;}
65 inline CurrentMetricResult& AddCollections(const CurrentMetricData& value) { m_collectionsHasBeenSet = true; m_collections.push_back(value); return *this; }
66 inline CurrentMetricResult& AddCollections(CurrentMetricData&& value) { m_collectionsHasBeenSet = true; m_collections.push_back(std::move(value)); return *this; }
68 private:
69
70 Dimensions m_dimensions;
71 bool m_dimensionsHasBeenSet = false;
72
74 bool m_collectionsHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace Connect
79} // namespace Aws
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API CurrentMetricResult(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< CurrentMetricData > & GetCollections() const
CurrentMetricResult & WithDimensions(Dimensions &&value)
void SetCollections(Aws::Vector< CurrentMetricData > &&value)
CurrentMetricResult & WithCollections(const Aws::Vector< CurrentMetricData > &value)
CurrentMetricResult & AddCollections(CurrentMetricData &&value)
CurrentMetricResult & AddCollections(const CurrentMetricData &value)
CurrentMetricResult & WithCollections(Aws::Vector< CurrentMetricData > &&value)
AWS_CONNECT_API CurrentMetricResult & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCollections(const Aws::Vector< CurrentMetricData > &value)
CurrentMetricResult & WithDimensions(const Dimensions &value)
void SetDimensions(const Dimensions &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue