/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Requests the public keys for a specified time range.See Also:
* AWS
* API Reference
Optionally specifies, in UTC, the start of the time range to look up public * keys for CloudTrail digest files. If not specified, the current time is used, * and the current public key is returned.
*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } /** *Optionally specifies, in UTC, the start of the time range to look up public * keys for CloudTrail digest files. If not specified, the current time is used, * and the current public key is returned.
*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *Optionally specifies, in UTC, the start of the time range to look up public * keys for CloudTrail digest files. If not specified, the current time is used, * and the current public key is returned.
*/ inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *Optionally specifies, in UTC, the start of the time range to look up public * keys for CloudTrail digest files. If not specified, the current time is used, * and the current public key is returned.
*/ inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } /** *Optionally specifies, in UTC, the start of the time range to look up public * keys for CloudTrail digest files. If not specified, the current time is used, * and the current public key is returned.
*/ inline ListPublicKeysRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** *Optionally specifies, in UTC, the start of the time range to look up public * keys for CloudTrail digest files. If not specified, the current time is used, * and the current public key is returned.
*/ inline ListPublicKeysRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} /** *Optionally specifies, in UTC, the end of the time range to look up public * keys for CloudTrail digest files. If not specified, the current time is * used.
*/ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } /** *Optionally specifies, in UTC, the end of the time range to look up public * keys for CloudTrail digest files. If not specified, the current time is * used.
*/ inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } /** *Optionally specifies, in UTC, the end of the time range to look up public * keys for CloudTrail digest files. If not specified, the current time is * used.
*/ inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } /** *Optionally specifies, in UTC, the end of the time range to look up public * keys for CloudTrail digest files. If not specified, the current time is * used.
*/ inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } /** *Optionally specifies, in UTC, the end of the time range to look up public * keys for CloudTrail digest files. If not specified, the current time is * used.
*/ inline ListPublicKeysRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} /** *Optionally specifies, in UTC, the end of the time range to look up public * keys for CloudTrail digest files. If not specified, the current time is * used.
*/ inline ListPublicKeysRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} /** *Reserved for future use.
*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *Reserved for future use.
*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *Reserved for future use.
*/ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } /** *Reserved for future use.
*/ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } /** *Reserved for future use.
*/ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } /** *Reserved for future use.
*/ inline ListPublicKeysRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *Reserved for future use.
*/ inline ListPublicKeysRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *Reserved for future use.
*/ inline ListPublicKeysRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::Utils::DateTime m_startTime; bool m_startTimeHasBeenSet = false; Aws::Utils::DateTime m_endTime; bool m_endTimeHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; }; } // namespace Model } // namespace CloudTrail } // namespace Aws