AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ImageConfig.h
1
6#pragma once
7#include <aws/lambda/Lambda_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 Lambda
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_LAMBDA_API ImageConfig() = default;
39 AWS_LAMBDA_API ImageConfig(Aws::Utils::Json::JsonView jsonValue);
41 AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::Vector<Aws::String>& GetEntryPoint() const { return m_entryPoint; }
50 inline bool EntryPointHasBeenSet() const { return m_entryPointHasBeenSet; }
51 template<typename EntryPointT = Aws::Vector<Aws::String>>
52 void SetEntryPoint(EntryPointT&& value) { m_entryPointHasBeenSet = true; m_entryPoint = std::forward<EntryPointT>(value); }
53 template<typename EntryPointT = Aws::Vector<Aws::String>>
54 ImageConfig& WithEntryPoint(EntryPointT&& value) { SetEntryPoint(std::forward<EntryPointT>(value)); return *this;}
55 template<typename EntryPointT = Aws::String>
56 ImageConfig& AddEntryPoint(EntryPointT&& value) { m_entryPointHasBeenSet = true; m_entryPoint.emplace_back(std::forward<EntryPointT>(value)); return *this; }
58
60
63 inline const Aws::Vector<Aws::String>& GetCommand() const { return m_command; }
64 inline bool CommandHasBeenSet() const { return m_commandHasBeenSet; }
65 template<typename CommandT = Aws::Vector<Aws::String>>
66 void SetCommand(CommandT&& value) { m_commandHasBeenSet = true; m_command = std::forward<CommandT>(value); }
67 template<typename CommandT = Aws::Vector<Aws::String>>
68 ImageConfig& WithCommand(CommandT&& value) { SetCommand(std::forward<CommandT>(value)); return *this;}
69 template<typename CommandT = Aws::String>
70 ImageConfig& AddCommand(CommandT&& value) { m_commandHasBeenSet = true; m_command.emplace_back(std::forward<CommandT>(value)); return *this; }
72
74
77 inline const Aws::String& GetWorkingDirectory() const { return m_workingDirectory; }
78 inline bool WorkingDirectoryHasBeenSet() const { return m_workingDirectoryHasBeenSet; }
79 template<typename WorkingDirectoryT = Aws::String>
80 void SetWorkingDirectory(WorkingDirectoryT&& value) { m_workingDirectoryHasBeenSet = true; m_workingDirectory = std::forward<WorkingDirectoryT>(value); }
81 template<typename WorkingDirectoryT = Aws::String>
82 ImageConfig& WithWorkingDirectory(WorkingDirectoryT&& value) { SetWorkingDirectory(std::forward<WorkingDirectoryT>(value)); return *this;}
84 private:
85
86 Aws::Vector<Aws::String> m_entryPoint;
87 bool m_entryPointHasBeenSet = false;
88
90 bool m_commandHasBeenSet = false;
91
92 Aws::String m_workingDirectory;
93 bool m_workingDirectoryHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace Lambda
98} // namespace Aws
ImageConfig & AddEntryPoint(EntryPointT &&value)
Definition ImageConfig.h:56
ImageConfig & AddCommand(CommandT &&value)
Definition ImageConfig.h:70
const Aws::String & GetWorkingDirectory() const
Definition ImageConfig.h:77
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetEntryPoint() const
Definition ImageConfig.h:49
AWS_LAMBDA_API ImageConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LAMBDA_API ImageConfig()=default
void SetWorkingDirectory(WorkingDirectoryT &&value)
Definition ImageConfig.h:80
ImageConfig & WithCommand(CommandT &&value)
Definition ImageConfig.h:68
void SetCommand(CommandT &&value)
Definition ImageConfig.h:66
AWS_LAMBDA_API ImageConfig(Aws::Utils::Json::JsonView jsonValue)
bool WorkingDirectoryHasBeenSet() const
Definition ImageConfig.h:78
ImageConfig & WithWorkingDirectory(WorkingDirectoryT &&value)
Definition ImageConfig.h:82
ImageConfig & WithEntryPoint(EntryPointT &&value)
Definition ImageConfig.h:54
void SetEntryPoint(EntryPointT &&value)
Definition ImageConfig.h:52
const Aws::Vector< Aws::String > & GetCommand() const
Definition ImageConfig.h:63
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue