AWS SDK for C++

AWS SDK for C++ Version 1.11.745

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