/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace CustomerProfiles { namespace Model { /** *

Usage-specific statistics about the domain.

See Also:

AWS * API Reference

*/ class DomainStats { public: AWS_CUSTOMERPROFILES_API DomainStats(); AWS_CUSTOMERPROFILES_API DomainStats(Aws::Utils::Json::JsonView jsonValue); AWS_CUSTOMERPROFILES_API DomainStats& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The total number of profiles currently in the domain.

*/ inline long long GetProfileCount() const{ return m_profileCount; } /** *

The total number of profiles currently in the domain.

*/ inline bool ProfileCountHasBeenSet() const { return m_profileCountHasBeenSet; } /** *

The total number of profiles currently in the domain.

*/ inline void SetProfileCount(long long value) { m_profileCountHasBeenSet = true; m_profileCount = value; } /** *

The total number of profiles currently in the domain.

*/ inline DomainStats& WithProfileCount(long long value) { SetProfileCount(value); return *this;} /** *

The number of profiles that you are currently paying for in the domain. If * you have more than 100 objects associated with a single profile, that profile * counts as two profiles. If you have more than 200 objects, that profile counts * as three, and so on.

*/ inline long long GetMeteringProfileCount() const{ return m_meteringProfileCount; } /** *

The number of profiles that you are currently paying for in the domain. If * you have more than 100 objects associated with a single profile, that profile * counts as two profiles. If you have more than 200 objects, that profile counts * as three, and so on.

*/ inline bool MeteringProfileCountHasBeenSet() const { return m_meteringProfileCountHasBeenSet; } /** *

The number of profiles that you are currently paying for in the domain. If * you have more than 100 objects associated with a single profile, that profile * counts as two profiles. If you have more than 200 objects, that profile counts * as three, and so on.

*/ inline void SetMeteringProfileCount(long long value) { m_meteringProfileCountHasBeenSet = true; m_meteringProfileCount = value; } /** *

The number of profiles that you are currently paying for in the domain. If * you have more than 100 objects associated with a single profile, that profile * counts as two profiles. If you have more than 200 objects, that profile counts * as three, and so on.

*/ inline DomainStats& WithMeteringProfileCount(long long value) { SetMeteringProfileCount(value); return *this;} /** *

The total number of objects in domain.

*/ inline long long GetObjectCount() const{ return m_objectCount; } /** *

The total number of objects in domain.

*/ inline bool ObjectCountHasBeenSet() const { return m_objectCountHasBeenSet; } /** *

The total number of objects in domain.

*/ inline void SetObjectCount(long long value) { m_objectCountHasBeenSet = true; m_objectCount = value; } /** *

The total number of objects in domain.

*/ inline DomainStats& WithObjectCount(long long value) { SetObjectCount(value); return *this;} /** *

The total size, in bytes, of all objects in the domain.

*/ inline long long GetTotalSize() const{ return m_totalSize; } /** *

The total size, in bytes, of all objects in the domain.

*/ inline bool TotalSizeHasBeenSet() const { return m_totalSizeHasBeenSet; } /** *

The total size, in bytes, of all objects in the domain.

*/ inline void SetTotalSize(long long value) { m_totalSizeHasBeenSet = true; m_totalSize = value; } /** *

The total size, in bytes, of all objects in the domain.

*/ inline DomainStats& WithTotalSize(long long value) { SetTotalSize(value); return *this;} private: long long m_profileCount; bool m_profileCountHasBeenSet = false; long long m_meteringProfileCount; bool m_meteringProfileCountHasBeenSet = false; long long m_objectCount; bool m_objectCountHasBeenSet = false; long long m_totalSize; bool m_totalSizeHasBeenSet = false; }; } // namespace Model } // namespace CustomerProfiles } // namespace Aws