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

An authorization token data object that corresponds to a public registry.

*/ inline const AuthorizationData& GetAuthorizationData() const{ return m_authorizationData; } /** *

An authorization token data object that corresponds to a public registry.

*/ inline void SetAuthorizationData(const AuthorizationData& value) { m_authorizationData = value; } /** *

An authorization token data object that corresponds to a public registry.

*/ inline void SetAuthorizationData(AuthorizationData&& value) { m_authorizationData = std::move(value); } /** *

An authorization token data object that corresponds to a public registry.

*/ inline GetAuthorizationTokenResult& WithAuthorizationData(const AuthorizationData& value) { SetAuthorizationData(value); return *this;} /** *

An authorization token data object that corresponds to a public registry.

*/ inline GetAuthorizationTokenResult& WithAuthorizationData(AuthorizationData&& value) { SetAuthorizationData(std::move(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 GetAuthorizationTokenResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetAuthorizationTokenResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetAuthorizationTokenResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: AuthorizationData m_authorizationData; Aws::String m_requestId; }; } // namespace Model } // namespace ECRPublic } // namespace Aws