/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace PI { namespace Model { class AWS_PI_API DescribeDimensionKeysResult { public: DescribeDimensionKeysResult(); DescribeDimensionKeysResult(const Aws::AmazonWebServiceResult& result); DescribeDimensionKeysResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The start time for the returned dimension keys, after alignment to a granular * boundary (as specified by PeriodInSeconds). * AlignedStartTime will be less than or equal to the value of the * user-specified StartTime.

*/ inline const Aws::Utils::DateTime& GetAlignedStartTime() const{ return m_alignedStartTime; } /** *

The start time for the returned dimension keys, after alignment to a granular * boundary (as specified by PeriodInSeconds). * AlignedStartTime will be less than or equal to the value of the * user-specified StartTime.

*/ inline void SetAlignedStartTime(const Aws::Utils::DateTime& value) { m_alignedStartTime = value; } /** *

The start time for the returned dimension keys, after alignment to a granular * boundary (as specified by PeriodInSeconds). * AlignedStartTime will be less than or equal to the value of the * user-specified StartTime.

*/ inline void SetAlignedStartTime(Aws::Utils::DateTime&& value) { m_alignedStartTime = std::move(value); } /** *

The start time for the returned dimension keys, after alignment to a granular * boundary (as specified by PeriodInSeconds). * AlignedStartTime will be less than or equal to the value of the * user-specified StartTime.

*/ inline DescribeDimensionKeysResult& WithAlignedStartTime(const Aws::Utils::DateTime& value) { SetAlignedStartTime(value); return *this;} /** *

The start time for the returned dimension keys, after alignment to a granular * boundary (as specified by PeriodInSeconds). * AlignedStartTime will be less than or equal to the value of the * user-specified StartTime.

*/ inline DescribeDimensionKeysResult& WithAlignedStartTime(Aws::Utils::DateTime&& value) { SetAlignedStartTime(std::move(value)); return *this;} /** *

The end time for the returned dimension keys, after alignment to a granular * boundary (as specified by PeriodInSeconds). * AlignedEndTime will be greater than or equal to the value of the * user-specified Endtime.

*/ inline const Aws::Utils::DateTime& GetAlignedEndTime() const{ return m_alignedEndTime; } /** *

The end time for the returned dimension keys, after alignment to a granular * boundary (as specified by PeriodInSeconds). * AlignedEndTime will be greater than or equal to the value of the * user-specified Endtime.

*/ inline void SetAlignedEndTime(const Aws::Utils::DateTime& value) { m_alignedEndTime = value; } /** *

The end time for the returned dimension keys, after alignment to a granular * boundary (as specified by PeriodInSeconds). * AlignedEndTime will be greater than or equal to the value of the * user-specified Endtime.

*/ inline void SetAlignedEndTime(Aws::Utils::DateTime&& value) { m_alignedEndTime = std::move(value); } /** *

The end time for the returned dimension keys, after alignment to a granular * boundary (as specified by PeriodInSeconds). * AlignedEndTime will be greater than or equal to the value of the * user-specified Endtime.

*/ inline DescribeDimensionKeysResult& WithAlignedEndTime(const Aws::Utils::DateTime& value) { SetAlignedEndTime(value); return *this;} /** *

The end time for the returned dimension keys, after alignment to a granular * boundary (as specified by PeriodInSeconds). * AlignedEndTime will be greater than or equal to the value of the * user-specified Endtime.

*/ inline DescribeDimensionKeysResult& WithAlignedEndTime(Aws::Utils::DateTime&& value) { SetAlignedEndTime(std::move(value)); return *this;} /** *

If PartitionBy was present in the request, * PartitionKeys contains the breakdown of dimension keys by the * specified partitions.

*/ inline const Aws::Vector& GetPartitionKeys() const{ return m_partitionKeys; } /** *

If PartitionBy was present in the request, * PartitionKeys contains the breakdown of dimension keys by the * specified partitions.

*/ inline void SetPartitionKeys(const Aws::Vector& value) { m_partitionKeys = value; } /** *

If PartitionBy was present in the request, * PartitionKeys contains the breakdown of dimension keys by the * specified partitions.

*/ inline void SetPartitionKeys(Aws::Vector&& value) { m_partitionKeys = std::move(value); } /** *

If PartitionBy was present in the request, * PartitionKeys contains the breakdown of dimension keys by the * specified partitions.

*/ inline DescribeDimensionKeysResult& WithPartitionKeys(const Aws::Vector& value) { SetPartitionKeys(value); return *this;} /** *

If PartitionBy was present in the request, * PartitionKeys contains the breakdown of dimension keys by the * specified partitions.

*/ inline DescribeDimensionKeysResult& WithPartitionKeys(Aws::Vector&& value) { SetPartitionKeys(std::move(value)); return *this;} /** *

If PartitionBy was present in the request, * PartitionKeys contains the breakdown of dimension keys by the * specified partitions.

*/ inline DescribeDimensionKeysResult& AddPartitionKeys(const ResponsePartitionKey& value) { m_partitionKeys.push_back(value); return *this; } /** *

If PartitionBy was present in the request, * PartitionKeys contains the breakdown of dimension keys by the * specified partitions.

*/ inline DescribeDimensionKeysResult& AddPartitionKeys(ResponsePartitionKey&& value) { m_partitionKeys.push_back(std::move(value)); return *this; } /** *

The dimension keys that were requested.

*/ inline const Aws::Vector& GetKeys() const{ return m_keys; } /** *

The dimension keys that were requested.

*/ inline void SetKeys(const Aws::Vector& value) { m_keys = value; } /** *

The dimension keys that were requested.

*/ inline void SetKeys(Aws::Vector&& value) { m_keys = std::move(value); } /** *

The dimension keys that were requested.

*/ inline DescribeDimensionKeysResult& WithKeys(const Aws::Vector& value) { SetKeys(value); return *this;} /** *

The dimension keys that were requested.

*/ inline DescribeDimensionKeysResult& WithKeys(Aws::Vector&& value) { SetKeys(std::move(value)); return *this;} /** *

The dimension keys that were requested.

*/ inline DescribeDimensionKeysResult& AddKeys(const DimensionKeyDescription& value) { m_keys.push_back(value); return *this; } /** *

The dimension keys that were requested.

*/ inline DescribeDimensionKeysResult& AddKeys(DimensionKeyDescription&& value) { m_keys.push_back(std::move(value)); return *this; } /** *

An optional pagination token provided by a previous request. If this * parameter is specified, the response includes only records beyond the token, up * to the value specified by MaxRecords.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

An optional pagination token provided by a previous request. If this * parameter is specified, the response includes only records beyond the token, up * to the value specified by MaxRecords.

*/ inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } /** *

An optional pagination token provided by a previous request. If this * parameter is specified, the response includes only records beyond the token, up * to the value specified by MaxRecords.

*/ inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } /** *

An optional pagination token provided by a previous request. If this * parameter is specified, the response includes only records beyond the token, up * to the value specified by MaxRecords.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

An optional pagination token provided by a previous request. If this * parameter is specified, the response includes only records beyond the token, up * to the value specified by MaxRecords.

*/ inline DescribeDimensionKeysResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

An optional pagination token provided by a previous request. If this * parameter is specified, the response includes only records beyond the token, up * to the value specified by MaxRecords.

*/ inline DescribeDimensionKeysResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

An optional pagination token provided by a previous request. If this * parameter is specified, the response includes only records beyond the token, up * to the value specified by MaxRecords.

*/ inline DescribeDimensionKeysResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::Utils::DateTime m_alignedStartTime; Aws::Utils::DateTime m_alignedEndTime; Aws::Vector m_partitionKeys; Aws::Vector m_keys; Aws::String m_nextToken; }; } // namespace Model } // namespace PI } // namespace Aws