/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object that contains information about the Amazon Inspector free trial for
* an account.See Also:
AWS
* API Reference
The date and time that the Amazon Inspector free trail ends for a given * account.
*/ inline const Aws::Utils::DateTime& GetEnd() const{ return m_end; } /** *The date and time that the Amazon Inspector free trail ends for a given * account.
*/ inline bool EndHasBeenSet() const { return m_endHasBeenSet; } /** *The date and time that the Amazon Inspector free trail ends for a given * account.
*/ inline void SetEnd(const Aws::Utils::DateTime& value) { m_endHasBeenSet = true; m_end = value; } /** *The date and time that the Amazon Inspector free trail ends for a given * account.
*/ inline void SetEnd(Aws::Utils::DateTime&& value) { m_endHasBeenSet = true; m_end = std::move(value); } /** *The date and time that the Amazon Inspector free trail ends for a given * account.
*/ inline FreeTrialInfo& WithEnd(const Aws::Utils::DateTime& value) { SetEnd(value); return *this;} /** *The date and time that the Amazon Inspector free trail ends for a given * account.
*/ inline FreeTrialInfo& WithEnd(Aws::Utils::DateTime&& value) { SetEnd(std::move(value)); return *this;} /** *The date and time that the Amazon Inspector free trail started for a given * account.
*/ inline const Aws::Utils::DateTime& GetStart() const{ return m_start; } /** *The date and time that the Amazon Inspector free trail started for a given * account.
*/ inline bool StartHasBeenSet() const { return m_startHasBeenSet; } /** *The date and time that the Amazon Inspector free trail started for a given * account.
*/ inline void SetStart(const Aws::Utils::DateTime& value) { m_startHasBeenSet = true; m_start = value; } /** *The date and time that the Amazon Inspector free trail started for a given * account.
*/ inline void SetStart(Aws::Utils::DateTime&& value) { m_startHasBeenSet = true; m_start = std::move(value); } /** *The date and time that the Amazon Inspector free trail started for a given * account.
*/ inline FreeTrialInfo& WithStart(const Aws::Utils::DateTime& value) { SetStart(value); return *this;} /** *The date and time that the Amazon Inspector free trail started for a given * account.
*/ inline FreeTrialInfo& WithStart(Aws::Utils::DateTime&& value) { SetStart(std::move(value)); return *this;} /** *The order to sort results by.
*/ inline const FreeTrialStatus& GetStatus() const{ return m_status; } /** *The order to sort results by.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The order to sort results by.
*/ inline void SetStatus(const FreeTrialStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The order to sort results by.
*/ inline void SetStatus(FreeTrialStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The order to sort results by.
*/ inline FreeTrialInfo& WithStatus(const FreeTrialStatus& value) { SetStatus(value); return *this;} /** *The order to sort results by.
*/ inline FreeTrialInfo& WithStatus(FreeTrialStatus&& value) { SetStatus(std::move(value)); return *this;} /** *The type of scan covered by the Amazon Inspector free trail.
*/ inline const FreeTrialType& GetType() const{ return m_type; } /** *The type of scan covered by the Amazon Inspector free trail.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The type of scan covered by the Amazon Inspector free trail.
*/ inline void SetType(const FreeTrialType& value) { m_typeHasBeenSet = true; m_type = value; } /** *The type of scan covered by the Amazon Inspector free trail.
*/ inline void SetType(FreeTrialType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The type of scan covered by the Amazon Inspector free trail.
*/ inline FreeTrialInfo& WithType(const FreeTrialType& value) { SetType(value); return *this;} /** *The type of scan covered by the Amazon Inspector free trail.
*/ inline FreeTrialInfo& WithType(FreeTrialType&& value) { SetType(std::move(value)); return *this;} private: Aws::Utils::DateTime m_end; bool m_endHasBeenSet = false; Aws::Utils::DateTime m_start; bool m_startHasBeenSet = false; FreeTrialStatus m_status; bool m_statusHasBeenSet = false; FreeTrialType m_type; bool m_typeHasBeenSet = false; }; } // namespace Model } // namespace Inspector2 } // namespace Aws