/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include
#include
#include
#include
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace AppSync
{
namespace Model
{
/**
* The pipeline configuration for a resolver of kind
* PIPELINE
.
See Also:
AWS
* API Reference
*/
class PipelineConfig
{
public:
AWS_APPSYNC_API PipelineConfig();
AWS_APPSYNC_API PipelineConfig(Aws::Utils::Json::JsonView jsonValue);
AWS_APPSYNC_API PipelineConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
/**
* A list of Function
objects.
*/
inline const Aws::Vector& GetFunctions() const{ return m_functions; }
/**
* A list of Function
objects.
*/
inline bool FunctionsHasBeenSet() const { return m_functionsHasBeenSet; }
/**
* A list of Function
objects.
*/
inline void SetFunctions(const Aws::Vector& value) { m_functionsHasBeenSet = true; m_functions = value; }
/**
* A list of Function
objects.
*/
inline void SetFunctions(Aws::Vector&& value) { m_functionsHasBeenSet = true; m_functions = std::move(value); }
/**
* A list of Function
objects.
*/
inline PipelineConfig& WithFunctions(const Aws::Vector& value) { SetFunctions(value); return *this;}
/**
* A list of Function
objects.
*/
inline PipelineConfig& WithFunctions(Aws::Vector&& value) { SetFunctions(std::move(value)); return *this;}
/**
* A list of Function
objects.
*/
inline PipelineConfig& AddFunctions(const Aws::String& value) { m_functionsHasBeenSet = true; m_functions.push_back(value); return *this; }
/**
* A list of Function
objects.
*/
inline PipelineConfig& AddFunctions(Aws::String&& value) { m_functionsHasBeenSet = true; m_functions.push_back(std::move(value)); return *this; }
/**
* A list of Function
objects.
*/
inline PipelineConfig& AddFunctions(const char* value) { m_functionsHasBeenSet = true; m_functions.push_back(value); return *this; }
private:
Aws::Vector m_functions;
bool m_functionsHasBeenSet = false;
};
} // namespace Model
} // namespace AppSync
} // namespace Aws