This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-connect/include/aws/connect/model/CurrentMetricResult.h

126 lines
3.6 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/connect/Connect_EXPORTS.h>
#include <aws/connect/model/Dimensions.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/connect/model/CurrentMetricData.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace Connect
{
namespace Model
{
/**
* <p>Contains information about a set of real-time metrics.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CurrentMetricResult">AWS
* API Reference</a></p>
*/
class AWS_CONNECT_API CurrentMetricResult
{
public:
CurrentMetricResult();
CurrentMetricResult(Aws::Utils::Json::JsonView jsonValue);
CurrentMetricResult& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The dimensions for the metrics.</p>
*/
inline const Dimensions& GetDimensions() const{ return m_dimensions; }
/**
* <p>The dimensions for the metrics.</p>
*/
inline bool DimensionsHasBeenSet() const { return m_dimensionsHasBeenSet; }
/**
* <p>The dimensions for the metrics.</p>
*/
inline void SetDimensions(const Dimensions& value) { m_dimensionsHasBeenSet = true; m_dimensions = value; }
/**
* <p>The dimensions for the metrics.</p>
*/
inline void SetDimensions(Dimensions&& value) { m_dimensionsHasBeenSet = true; m_dimensions = std::move(value); }
/**
* <p>The dimensions for the metrics.</p>
*/
inline CurrentMetricResult& WithDimensions(const Dimensions& value) { SetDimensions(value); return *this;}
/**
* <p>The dimensions for the metrics.</p>
*/
inline CurrentMetricResult& WithDimensions(Dimensions&& value) { SetDimensions(std::move(value)); return *this;}
/**
* <p>The set of metrics.</p>
*/
inline const Aws::Vector<CurrentMetricData>& GetCollections() const{ return m_collections; }
/**
* <p>The set of metrics.</p>
*/
inline bool CollectionsHasBeenSet() const { return m_collectionsHasBeenSet; }
/**
* <p>The set of metrics.</p>
*/
inline void SetCollections(const Aws::Vector<CurrentMetricData>& value) { m_collectionsHasBeenSet = true; m_collections = value; }
/**
* <p>The set of metrics.</p>
*/
inline void SetCollections(Aws::Vector<CurrentMetricData>&& value) { m_collectionsHasBeenSet = true; m_collections = std::move(value); }
/**
* <p>The set of metrics.</p>
*/
inline CurrentMetricResult& WithCollections(const Aws::Vector<CurrentMetricData>& value) { SetCollections(value); return *this;}
/**
* <p>The set of metrics.</p>
*/
inline CurrentMetricResult& WithCollections(Aws::Vector<CurrentMetricData>&& value) { SetCollections(std::move(value)); return *this;}
/**
* <p>The set of metrics.</p>
*/
inline CurrentMetricResult& AddCollections(const CurrentMetricData& value) { m_collectionsHasBeenSet = true; m_collections.push_back(value); return *this; }
/**
* <p>The set of metrics.</p>
*/
inline CurrentMetricResult& AddCollections(CurrentMetricData&& value) { m_collectionsHasBeenSet = true; m_collections.push_back(std::move(value)); return *this; }
private:
Dimensions m_dimensions;
bool m_dimensionsHasBeenSet;
Aws::Vector<CurrentMetricData> m_collections;
bool m_collectionsHasBeenSet;
};
} // namespace Model
} // namespace Connect
} // namespace Aws