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

Contains information about the free trial period for a feature.

See * Also:

AWS * API Reference

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

The name of the feature for which the free trial is configured.

*/ inline const FreeTrialFeatureResult& GetName() const{ return m_name; } /** *

The name of the feature for which the free trial is configured.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the feature for which the free trial is configured.

*/ inline void SetName(const FreeTrialFeatureResult& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the feature for which the free trial is configured.

*/ inline void SetName(FreeTrialFeatureResult&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the feature for which the free trial is configured.

*/ inline FreeTrialFeatureConfigurationResult& WithName(const FreeTrialFeatureResult& value) { SetName(value); return *this;} /** *

The name of the feature for which the free trial is configured.

*/ inline FreeTrialFeatureConfigurationResult& WithName(FreeTrialFeatureResult&& value) { SetName(std::move(value)); return *this;} /** *

The number of the remaining free trial days for the feature.

*/ inline int GetFreeTrialDaysRemaining() const{ return m_freeTrialDaysRemaining; } /** *

The number of the remaining free trial days for the feature.

*/ inline bool FreeTrialDaysRemainingHasBeenSet() const { return m_freeTrialDaysRemainingHasBeenSet; } /** *

The number of the remaining free trial days for the feature.

*/ inline void SetFreeTrialDaysRemaining(int value) { m_freeTrialDaysRemainingHasBeenSet = true; m_freeTrialDaysRemaining = value; } /** *

The number of the remaining free trial days for the feature.

*/ inline FreeTrialFeatureConfigurationResult& WithFreeTrialDaysRemaining(int value) { SetFreeTrialDaysRemaining(value); return *this;} private: FreeTrialFeatureResult m_name; bool m_nameHasBeenSet = false; int m_freeTrialDaysRemaining; bool m_freeTrialDaysRemainingHasBeenSet = false; }; } // namespace Model } // namespace GuardDuty } // namespace Aws