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

The token domains that are defined in this API key.

*/ inline const Aws::Vector& GetTokenDomains() const{ return m_tokenDomains; } /** *

The token domains that are defined in this API key.

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

The token domains that are defined in this API key.

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

The token domains that are defined in this API key.

*/ inline GetDecryptedAPIKeyResult& WithTokenDomains(const Aws::Vector& value) { SetTokenDomains(value); return *this;} /** *

The token domains that are defined in this API key.

*/ inline GetDecryptedAPIKeyResult& WithTokenDomains(Aws::Vector&& value) { SetTokenDomains(std::move(value)); return *this;} /** *

The token domains that are defined in this API key.

*/ inline GetDecryptedAPIKeyResult& AddTokenDomains(const Aws::String& value) { m_tokenDomains.push_back(value); return *this; } /** *

The token domains that are defined in this API key.

*/ inline GetDecryptedAPIKeyResult& AddTokenDomains(Aws::String&& value) { m_tokenDomains.push_back(std::move(value)); return *this; } /** *

The token domains that are defined in this API key.

*/ inline GetDecryptedAPIKeyResult& AddTokenDomains(const char* value) { m_tokenDomains.push_back(value); return *this; } /** *

The date and time that the key was created.

*/ inline const Aws::Utils::DateTime& GetCreationTimestamp() const{ return m_creationTimestamp; } /** *

The date and time that the key was created.

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

The date and time that the key was created.

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

The date and time that the key was created.

*/ inline GetDecryptedAPIKeyResult& WithCreationTimestamp(const Aws::Utils::DateTime& value) { SetCreationTimestamp(value); return *this;} /** *

The date and time that the key was created.

*/ inline GetDecryptedAPIKeyResult& WithCreationTimestamp(Aws::Utils::DateTime&& value) { SetCreationTimestamp(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 GetDecryptedAPIKeyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetDecryptedAPIKeyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetDecryptedAPIKeyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_tokenDomains; Aws::Utils::DateTime m_creationTimestamp; Aws::String m_requestId; }; } // namespace Model } // namespace WAFV2 } // namespace Aws