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