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

The API key.

*/ inline const ApiKey& GetApiKey() const{ return m_apiKey; } /** *

The API key.

*/ inline void SetApiKey(const ApiKey& value) { m_apiKey = value; } /** *

The API key.

*/ inline void SetApiKey(ApiKey&& value) { m_apiKey = std::move(value); } /** *

The API key.

*/ inline UpdateApiKeyResult& WithApiKey(const ApiKey& value) { SetApiKey(value); return *this;} /** *

The API key.

*/ inline UpdateApiKeyResult& WithApiKey(ApiKey&& value) { SetApiKey(std::move(value)); return *this;} private: ApiKey m_apiKey; }; } // namespace Model } // namespace AppSync } // namespace Aws