AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetFunctions(const Aws::Vector<Aws::String>& value) { m_functionsHasBeenSet = true; m_functions = value; }
49 inline void SetFunctions(Aws::Vector<Aws::String>&& value) { m_functionsHasBeenSet = true; m_functions = std::move(value); }
50 inline PipelineConfig& WithFunctions(const Aws::Vector<Aws::String>& value) { SetFunctions(value); return *this;}
51 inline PipelineConfig& WithFunctions(Aws::Vector<Aws::String>&& value) { SetFunctions(std::move(value)); return *this;}
52 inline PipelineConfig& AddFunctions(const Aws::String& value) { m_functionsHasBeenSet = true; m_functions.push_back(value); return *this; }
53 inline PipelineConfig& AddFunctions(Aws::String&& value) { m_functionsHasBeenSet = true; m_functions.push_back(std::move(value)); return *this; }
54 inline PipelineConfig& AddFunctions(const char* value) { m_functionsHasBeenSet = true; m_functions.push_back(value); return *this; }
56 private:
57
58 Aws::Vector<Aws::String> m_functions;
59 bool m_functionsHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace AppSync
64} // namespace Aws
const Aws::Vector< Aws::String > & GetFunctions() const
PipelineConfig & AddFunctions(const char *value)
void SetFunctions(Aws::Vector< Aws::String > &&value)
PipelineConfig & AddFunctions(Aws::String &&value)
PipelineConfig & AddFunctions(const Aws::String &value)
AWS_APPSYNC_API PipelineConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPSYNC_API PipelineConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFunctions(const Aws::Vector< Aws::String > &value)
PipelineConfig & WithFunctions(const Aws::Vector< Aws::String > &value)
PipelineConfig & WithFunctions(Aws::Vector< Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue