/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An authorization token data object that corresponds to a public
* registry.See Also:
AWS
* API Reference
A base64-encoded string that contains authorization data for a public Amazon
* ECR registry. When the string is decoded, it's presented in the format
* user:password
for public registry authentication using docker
* login
.
A base64-encoded string that contains authorization data for a public Amazon
* ECR registry. When the string is decoded, it's presented in the format
* user:password
for public registry authentication using docker
* login
.
A base64-encoded string that contains authorization data for a public Amazon
* ECR registry. When the string is decoded, it's presented in the format
* user:password
for public registry authentication using docker
* login
.
A base64-encoded string that contains authorization data for a public Amazon
* ECR registry. When the string is decoded, it's presented in the format
* user:password
for public registry authentication using docker
* login
.
A base64-encoded string that contains authorization data for a public Amazon
* ECR registry. When the string is decoded, it's presented in the format
* user:password
for public registry authentication using docker
* login
.
A base64-encoded string that contains authorization data for a public Amazon
* ECR registry. When the string is decoded, it's presented in the format
* user:password
for public registry authentication using docker
* login
.
A base64-encoded string that contains authorization data for a public Amazon
* ECR registry. When the string is decoded, it's presented in the format
* user:password
for public registry authentication using docker
* login
.
A base64-encoded string that contains authorization data for a public Amazon
* ECR registry. When the string is decoded, it's presented in the format
* user:password
for public registry authentication using docker
* login
.
The Unix time in seconds and milliseconds when the authorization token * expires. Authorization tokens are valid for 12 hours.
*/ inline const Aws::Utils::DateTime& GetExpiresAt() const{ return m_expiresAt; } /** *The Unix time in seconds and milliseconds when the authorization token * expires. Authorization tokens are valid for 12 hours.
*/ inline bool ExpiresAtHasBeenSet() const { return m_expiresAtHasBeenSet; } /** *The Unix time in seconds and milliseconds when the authorization token * expires. Authorization tokens are valid for 12 hours.
*/ inline void SetExpiresAt(const Aws::Utils::DateTime& value) { m_expiresAtHasBeenSet = true; m_expiresAt = value; } /** *The Unix time in seconds and milliseconds when the authorization token * expires. Authorization tokens are valid for 12 hours.
*/ inline void SetExpiresAt(Aws::Utils::DateTime&& value) { m_expiresAtHasBeenSet = true; m_expiresAt = std::move(value); } /** *The Unix time in seconds and milliseconds when the authorization token * expires. Authorization tokens are valid for 12 hours.
*/ inline AuthorizationData& WithExpiresAt(const Aws::Utils::DateTime& value) { SetExpiresAt(value); return *this;} /** *The Unix time in seconds and milliseconds when the authorization token * expires. Authorization tokens are valid for 12 hours.
*/ inline AuthorizationData& WithExpiresAt(Aws::Utils::DateTime&& value) { SetExpiresAt(std::move(value)); return *this;} private: Aws::String m_authorizationToken; bool m_authorizationTokenHasBeenSet = false; Aws::Utils::DateTime m_expiresAt; bool m_expiresAtHasBeenSet = false; }; } // namespace Model } // namespace ECRPublic } // namespace Aws