AWS SDK for C++  1.9.40
AWS SDK for C++
PipelineConfig.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace AppSync
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const Aws::Vector<Aws::String>& GetFunctions() const{ return m_functions; }
46 
50  inline bool FunctionsHasBeenSet() const { return m_functionsHasBeenSet; }
51 
55  inline void SetFunctions(const Aws::Vector<Aws::String>& value) { m_functionsHasBeenSet = true; m_functions = value; }
56 
60  inline void SetFunctions(Aws::Vector<Aws::String>&& value) { m_functionsHasBeenSet = true; m_functions = std::move(value); }
61 
65  inline PipelineConfig& WithFunctions(const Aws::Vector<Aws::String>& value) { SetFunctions(value); return *this;}
66 
70  inline PipelineConfig& WithFunctions(Aws::Vector<Aws::String>&& value) { SetFunctions(std::move(value)); return *this;}
71 
75  inline PipelineConfig& AddFunctions(const Aws::String& value) { m_functionsHasBeenSet = true; m_functions.push_back(value); return *this; }
76 
80  inline PipelineConfig& AddFunctions(Aws::String&& value) { m_functionsHasBeenSet = true; m_functions.push_back(std::move(value)); return *this; }
81 
85  inline PipelineConfig& AddFunctions(const char* value) { m_functionsHasBeenSet = true; m_functions.push_back(value); return *this; }
86 
87  private:
88 
89  Aws::Vector<Aws::String> m_functions;
90  bool m_functionsHasBeenSet;
91  };
92 
93 } // namespace Model
94 } // namespace AppSync
95 } // namespace Aws
Aws::AppSync::Model::PipelineConfig::AddFunctions
PipelineConfig & AddFunctions(Aws::String &&value)
Definition: PipelineConfig.h:80
Aws::AppSync::Model::PipelineConfig::SetFunctions
void SetFunctions(Aws::Vector< Aws::String > &&value)
Definition: PipelineConfig.h:60
Aws::AppSync::Model::PipelineConfig::PipelineConfig
PipelineConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::AppSync::Model::PipelineConfig::PipelineConfig
PipelineConfig()
Aws::AppSync::Model::PipelineConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AppSync::Model::PipelineConfig::GetFunctions
const Aws::Vector< Aws::String > & GetFunctions() const
Definition: PipelineConfig.h:45
Aws::AppSync::Model::PipelineConfig
Definition: PipelineConfig.h:34
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AppSync_EXPORTS.h
AWSVector.h
Aws::AppSync::Model::PipelineConfig::AddFunctions
PipelineConfig & AddFunctions(const char *value)
Definition: PipelineConfig.h:85
Aws::AppSync::Model::PipelineConfig::SetFunctions
void SetFunctions(const Aws::Vector< Aws::String > &value)
Definition: PipelineConfig.h:55
Aws::AppSync::Model::PipelineConfig::WithFunctions
PipelineConfig & WithFunctions(const Aws::Vector< Aws::String > &value)
Definition: PipelineConfig.h:65
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::AppSync::Model::PipelineConfig::AddFunctions
PipelineConfig & AddFunctions(const Aws::String &value)
Definition: PipelineConfig.h:75
Aws
Definition: AccessManagementClient.h:15
Aws::AppSync::Model::PipelineConfig::operator=
PipelineConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPSYNC_API
#define AWS_APPSYNC_API
Definition: AppSync_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppSync::Model::PipelineConfig::FunctionsHasBeenSet
bool FunctionsHasBeenSet() const
Definition: PipelineConfig.h:50
Aws::AppSync::Model::PipelineConfig::WithFunctions
PipelineConfig & WithFunctions(Aws::Vector< Aws::String > &&value)
Definition: PipelineConfig.h:70