/** * 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 DescribeDimensionKeysResult { public: AWS_PI_API DescribeDimensionKeysResult(); AWS_PI_API DescribeDimensionKeysResult(const Aws::AmazonWebServiceResult& result); AWS_PI_API 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; } /** *

A pagination token that indicates the response didn’t return all available * records because MaxRecords was specified in the previous request. * To get the remaining records, specify NextToken in a separate * request with this value.

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

A pagination token that indicates the response didn’t return all available * records because MaxRecords was specified in the previous request. * To get the remaining records, specify NextToken in a separate * request with this value.

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

A pagination token that indicates the response didn’t return all available * records because MaxRecords was specified in the previous request. * To get the remaining records, specify NextToken in a separate * request with this value.

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

A pagination token that indicates the response didn’t return all available * records because MaxRecords was specified in the previous request. * To get the remaining records, specify NextToken in a separate * request with this value.

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

A pagination token that indicates the response didn’t return all available * records because MaxRecords was specified in the previous request. * To get the remaining records, specify NextToken in a separate * request with this value.

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

A pagination token that indicates the response didn’t return all available * records because MaxRecords was specified in the previous request. * To get the remaining records, specify NextToken in a separate * request with this value.

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

A pagination token that indicates the response didn’t return all available * records because MaxRecords was specified in the previous request. * To get the remaining records, specify NextToken in a separate * request with this value.

*/ inline DescribeDimensionKeysResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeDimensionKeysResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeDimensionKeysResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeDimensionKeysResult& WithRequestId(const char* value) { SetRequestId(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; Aws::String m_requestId; }; } // namespace Model } // namespace PI } // namespace Aws