/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A structure that defines the time range that you want to retrieve results
* from.See Also:
AWS API
* Reference
The beginning of the time range to retrieve performance events from.
*/ inline long long GetAfter() const{ return m_after; } /** *The beginning of the time range to retrieve performance events from.
*/ inline bool AfterHasBeenSet() const { return m_afterHasBeenSet; } /** *The beginning of the time range to retrieve performance events from.
*/ inline void SetAfter(long long value) { m_afterHasBeenSet = true; m_after = value; } /** *The beginning of the time range to retrieve performance events from.
*/ inline TimeRange& WithAfter(long long value) { SetAfter(value); return *this;} /** *The end of the time range to retrieve performance events from. If you omit * this, the time range extends to the time that this operation is performed.
*/ inline long long GetBefore() const{ return m_before; } /** *The end of the time range to retrieve performance events from. If you omit * this, the time range extends to the time that this operation is performed.
*/ inline bool BeforeHasBeenSet() const { return m_beforeHasBeenSet; } /** *The end of the time range to retrieve performance events from. If you omit * this, the time range extends to the time that this operation is performed.
*/ inline void SetBefore(long long value) { m_beforeHasBeenSet = true; m_before = value; } /** *The end of the time range to retrieve performance events from. If you omit * this, the time range extends to the time that this operation is performed.
*/ inline TimeRange& WithBefore(long long value) { SetBefore(value); return *this;} private: long long m_after; bool m_afterHasBeenSet = false; long long m_before; bool m_beforeHasBeenSet = false; }; } // namespace Model } // namespace CloudWatchRUM } // namespace Aws