/** * 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 Proton { namespace Model { /** *

Summary counts of each Proton resource types.

See Also:

AWS * API Reference

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

The number of resources of this type in the Amazon Web Services account that * need a major template version update.

*/ inline int GetBehindMajor() const{ return m_behindMajor; } /** *

The number of resources of this type in the Amazon Web Services account that * need a major template version update.

*/ inline bool BehindMajorHasBeenSet() const { return m_behindMajorHasBeenSet; } /** *

The number of resources of this type in the Amazon Web Services account that * need a major template version update.

*/ inline void SetBehindMajor(int value) { m_behindMajorHasBeenSet = true; m_behindMajor = value; } /** *

The number of resources of this type in the Amazon Web Services account that * need a major template version update.

*/ inline ResourceCountsSummary& WithBehindMajor(int value) { SetBehindMajor(value); return *this;} /** *

The number of resources of this type in the Amazon Web Services account that * need a minor template version update.

*/ inline int GetBehindMinor() const{ return m_behindMinor; } /** *

The number of resources of this type in the Amazon Web Services account that * need a minor template version update.

*/ inline bool BehindMinorHasBeenSet() const { return m_behindMinorHasBeenSet; } /** *

The number of resources of this type in the Amazon Web Services account that * need a minor template version update.

*/ inline void SetBehindMinor(int value) { m_behindMinorHasBeenSet = true; m_behindMinor = value; } /** *

The number of resources of this type in the Amazon Web Services account that * need a minor template version update.

*/ inline ResourceCountsSummary& WithBehindMinor(int value) { SetBehindMinor(value); return *this;} /** *

The number of resources of this type in the Amazon Web Services account that * failed to deploy.

*/ inline int GetFailed() const{ return m_failed; } /** *

The number of resources of this type in the Amazon Web Services account that * failed to deploy.

*/ inline bool FailedHasBeenSet() const { return m_failedHasBeenSet; } /** *

The number of resources of this type in the Amazon Web Services account that * failed to deploy.

*/ inline void SetFailed(int value) { m_failedHasBeenSet = true; m_failed = value; } /** *

The number of resources of this type in the Amazon Web Services account that * failed to deploy.

*/ inline ResourceCountsSummary& WithFailed(int value) { SetFailed(value); return *this;} /** *

The total number of resources of this type in the Amazon Web Services * account.

*/ inline int GetTotal() const{ return m_total; } /** *

The total number of resources of this type in the Amazon Web Services * account.

*/ inline bool TotalHasBeenSet() const { return m_totalHasBeenSet; } /** *

The total number of resources of this type in the Amazon Web Services * account.

*/ inline void SetTotal(int value) { m_totalHasBeenSet = true; m_total = value; } /** *

The total number of resources of this type in the Amazon Web Services * account.

*/ inline ResourceCountsSummary& WithTotal(int value) { SetTotal(value); return *this;} /** *

The number of resources of this type in the Amazon Web Services account that * are up-to-date with their template.

*/ inline int GetUpToDate() const{ return m_upToDate; } /** *

The number of resources of this type in the Amazon Web Services account that * are up-to-date with their template.

*/ inline bool UpToDateHasBeenSet() const { return m_upToDateHasBeenSet; } /** *

The number of resources of this type in the Amazon Web Services account that * are up-to-date with their template.

*/ inline void SetUpToDate(int value) { m_upToDateHasBeenSet = true; m_upToDate = value; } /** *

The number of resources of this type in the Amazon Web Services account that * are up-to-date with their template.

*/ inline ResourceCountsSummary& WithUpToDate(int value) { SetUpToDate(value); return *this;} private: int m_behindMajor; bool m_behindMajorHasBeenSet = false; int m_behindMinor; bool m_behindMinorHasBeenSet = false; int m_failed; bool m_failedHasBeenSet = false; int m_total; bool m_totalHasBeenSet = false; int m_upToDate; bool m_upToDateHasBeenSet = false; }; } // namespace Model } // namespace Proton } // namespace Aws