/**
* 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
{
/**
* Represents the output of a GetApiCache operation.
See
* Also:
AWS
* API Reference
*/
class AWS_APPSYNC_API GetApiCacheResult
{
public:
GetApiCacheResult();
GetApiCacheResult(const Aws::AmazonWebServiceResult& result);
GetApiCacheResult& operator=(const Aws::AmazonWebServiceResult& result);
/**
* The ApiCache object.
*/
inline const ApiCache& GetApiCache() const{ return m_apiCache; }
/**
* The ApiCache object.
*/
inline void SetApiCache(const ApiCache& value) { m_apiCache = value; }
/**
* The ApiCache object.
*/
inline void SetApiCache(ApiCache&& value) { m_apiCache = std::move(value); }
/**
* The ApiCache object.
*/
inline GetApiCacheResult& WithApiCache(const ApiCache& value) { SetApiCache(value); return *this;}
/**
* The ApiCache object.
*/
inline GetApiCacheResult& WithApiCache(ApiCache&& value) { SetApiCache(std::move(value)); return *this;}
private:
ApiCache m_apiCache;
};
} // namespace Model
} // namespace AppSync
} // namespace Aws