AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
PipelineConfig.h
1
6#pragma once
7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace AppSync
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_APPSYNC_API PipelineConfig() = default;
37 AWS_APPSYNC_API PipelineConfig(Aws::Utils::Json::JsonView jsonValue);
39 AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<Aws::String>& GetFunctions() const { return m_functions; }
47 inline bool FunctionsHasBeenSet() const { return m_functionsHasBeenSet; }
48 template<typename FunctionsT = Aws::Vector<Aws::String>>
49 void SetFunctions(FunctionsT&& value) { m_functionsHasBeenSet = true; m_functions = std::forward<FunctionsT>(value); }
50 template<typename FunctionsT = Aws::Vector<Aws::String>>
51 PipelineConfig& WithFunctions(FunctionsT&& value) { SetFunctions(std::forward<FunctionsT>(value)); return *this;}
52 template<typename FunctionsT = Aws::String>
53 PipelineConfig& AddFunctions(FunctionsT&& value) { m_functionsHasBeenSet = true; m_functions.emplace_back(std::forward<FunctionsT>(value)); return *this; }
55 private:
56
57 Aws::Vector<Aws::String> m_functions;
58 bool m_functionsHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace AppSync
63} // namespace Aws
const Aws::Vector< Aws::String > & GetFunctions() const
void SetFunctions(FunctionsT &&value)
AWS_APPSYNC_API PipelineConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
PipelineConfig & WithFunctions(FunctionsT &&value)
AWS_APPSYNC_API PipelineConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
PipelineConfig & AddFunctions(FunctionsT &&value)
AWS_APPSYNC_API PipelineConfig()=default
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue