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

Provides details of the GuardDuty member account that uses a free trial * service.

See Also:

AWS * API Reference

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

The account identifier of the GuardDuty member account.

*/ inline const Aws::String& GetAccountId() const{ return m_accountId; } /** *

The account identifier of the GuardDuty member account.

*/ inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } /** *

The account identifier of the GuardDuty member account.

*/ inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } /** *

The account identifier of the GuardDuty member account.

*/ inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } /** *

The account identifier of the GuardDuty member account.

*/ inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } /** *

The account identifier of the GuardDuty member account.

*/ inline AccountFreeTrialInfo& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} /** *

The account identifier of the GuardDuty member account.

*/ inline AccountFreeTrialInfo& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} /** *

The account identifier of the GuardDuty member account.

*/ inline AccountFreeTrialInfo& WithAccountId(const char* value) { SetAccountId(value); return *this;} /** *

A list of features enabled for the GuardDuty account.

*/ inline const Aws::Vector& GetFeatures() const{ return m_features; } /** *

A list of features enabled for the GuardDuty account.

*/ inline bool FeaturesHasBeenSet() const { return m_featuresHasBeenSet; } /** *

A list of features enabled for the GuardDuty account.

*/ inline void SetFeatures(const Aws::Vector& value) { m_featuresHasBeenSet = true; m_features = value; } /** *

A list of features enabled for the GuardDuty account.

*/ inline void SetFeatures(Aws::Vector&& value) { m_featuresHasBeenSet = true; m_features = std::move(value); } /** *

A list of features enabled for the GuardDuty account.

*/ inline AccountFreeTrialInfo& WithFeatures(const Aws::Vector& value) { SetFeatures(value); return *this;} /** *

A list of features enabled for the GuardDuty account.

*/ inline AccountFreeTrialInfo& WithFeatures(Aws::Vector&& value) { SetFeatures(std::move(value)); return *this;} /** *

A list of features enabled for the GuardDuty account.

*/ inline AccountFreeTrialInfo& AddFeatures(const FreeTrialFeatureConfigurationResult& value) { m_featuresHasBeenSet = true; m_features.push_back(value); return *this; } /** *

A list of features enabled for the GuardDuty account.

*/ inline AccountFreeTrialInfo& AddFeatures(FreeTrialFeatureConfigurationResult&& value) { m_featuresHasBeenSet = true; m_features.push_back(std::move(value)); return *this; } private: Aws::String m_accountId; bool m_accountIdHasBeenSet = false; Aws::Vector m_features; bool m_featuresHasBeenSet = false; }; } // namespace Model } // namespace GuardDuty } // namespace Aws