74 lines
1.8 KiB
C++
74 lines
1.8 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/appsync/AppSync_EXPORTS.h>
|
|
#include <aws/appsync/model/ApiCache.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
template<typename RESULT_TYPE>
|
|
class AmazonWebServiceResult;
|
|
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace AppSync
|
|
{
|
|
namespace Model
|
|
{
|
|
/**
|
|
* <p>Represents the output of a <code>GetApiCache</code> operation.</p><p><h3>See
|
|
* Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetApiCacheResponse">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_APPSYNC_API GetApiCacheResult
|
|
{
|
|
public:
|
|
GetApiCacheResult();
|
|
GetApiCacheResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|
GetApiCacheResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|
|
|
|
|
/**
|
|
* <p>The <code>ApiCache</code> object.</p>
|
|
*/
|
|
inline const ApiCache& GetApiCache() const{ return m_apiCache; }
|
|
|
|
/**
|
|
* <p>The <code>ApiCache</code> object.</p>
|
|
*/
|
|
inline void SetApiCache(const ApiCache& value) { m_apiCache = value; }
|
|
|
|
/**
|
|
* <p>The <code>ApiCache</code> object.</p>
|
|
*/
|
|
inline void SetApiCache(ApiCache&& value) { m_apiCache = std::move(value); }
|
|
|
|
/**
|
|
* <p>The <code>ApiCache</code> object.</p>
|
|
*/
|
|
inline GetApiCacheResult& WithApiCache(const ApiCache& value) { SetApiCache(value); return *this;}
|
|
|
|
/**
|
|
* <p>The <code>ApiCache</code> object.</p>
|
|
*/
|
|
inline GetApiCacheResult& WithApiCache(ApiCache&& value) { SetApiCache(std::move(value)); return *this;}
|
|
|
|
private:
|
|
|
|
ApiCache m_apiCache;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace AppSync
|
|
} // namespace Aws
|