AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetEntryPoint(const Aws::Vector<Aws::String>& value) { m_entryPointHasBeenSet = true; m_entryPoint = value; }
52 inline void SetEntryPoint(Aws::Vector<Aws::String>&& value) { m_entryPointHasBeenSet = true; m_entryPoint = std::move(value); }
53 inline ImageConfig& WithEntryPoint(const Aws::Vector<Aws::String>& value) { SetEntryPoint(value); return *this;}
54 inline ImageConfig& WithEntryPoint(Aws::Vector<Aws::String>&& value) { SetEntryPoint(std::move(value)); return *this;}
55 inline ImageConfig& AddEntryPoint(const Aws::String& value) { m_entryPointHasBeenSet = true; m_entryPoint.push_back(value); return *this; }
56 inline ImageConfig& AddEntryPoint(Aws::String&& value) { m_entryPointHasBeenSet = true; m_entryPoint.push_back(std::move(value)); return *this; }
57 inline ImageConfig& AddEntryPoint(const char* value) { m_entryPointHasBeenSet = true; m_entryPoint.push_back(value); return *this; }
59
61
64 inline const Aws::Vector<Aws::String>& GetCommand() const{ return m_command; }
65 inline bool CommandHasBeenSet() const { return m_commandHasBeenSet; }
66 inline void SetCommand(const Aws::Vector<Aws::String>& value) { m_commandHasBeenSet = true; m_command = value; }
67 inline void SetCommand(Aws::Vector<Aws::String>&& value) { m_commandHasBeenSet = true; m_command = std::move(value); }
68 inline ImageConfig& WithCommand(const Aws::Vector<Aws::String>& value) { SetCommand(value); return *this;}
69 inline ImageConfig& WithCommand(Aws::Vector<Aws::String>&& value) { SetCommand(std::move(value)); return *this;}
70 inline ImageConfig& AddCommand(const Aws::String& value) { m_commandHasBeenSet = true; m_command.push_back(value); return *this; }
71 inline ImageConfig& AddCommand(Aws::String&& value) { m_commandHasBeenSet = true; m_command.push_back(std::move(value)); return *this; }
72 inline ImageConfig& AddCommand(const char* value) { m_commandHasBeenSet = true; m_command.push_back(value); return *this; }
74
76
79 inline const Aws::String& GetWorkingDirectory() const{ return m_workingDirectory; }
80 inline bool WorkingDirectoryHasBeenSet() const { return m_workingDirectoryHasBeenSet; }
81 inline void SetWorkingDirectory(const Aws::String& value) { m_workingDirectoryHasBeenSet = true; m_workingDirectory = value; }
82 inline void SetWorkingDirectory(Aws::String&& value) { m_workingDirectoryHasBeenSet = true; m_workingDirectory = std::move(value); }
83 inline void SetWorkingDirectory(const char* value) { m_workingDirectoryHasBeenSet = true; m_workingDirectory.assign(value); }
84 inline ImageConfig& WithWorkingDirectory(const Aws::String& value) { SetWorkingDirectory(value); return *this;}
85 inline ImageConfig& WithWorkingDirectory(Aws::String&& value) { SetWorkingDirectory(std::move(value)); return *this;}
86 inline ImageConfig& WithWorkingDirectory(const char* value) { SetWorkingDirectory(value); return *this;}
88 private:
89
90 Aws::Vector<Aws::String> m_entryPoint;
91 bool m_entryPointHasBeenSet = false;
92
94 bool m_commandHasBeenSet = false;
95
96 Aws::String m_workingDirectory;
97 bool m_workingDirectoryHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace Lambda
102} // namespace Aws
ImageConfig & AddEntryPoint(const Aws::String &value)
Definition ImageConfig.h:55
ImageConfig & AddCommand(Aws::String &&value)
Definition ImageConfig.h:71
void SetCommand(const Aws::Vector< Aws::String > &value)
Definition ImageConfig.h:66
const Aws::String & GetWorkingDirectory() const
Definition ImageConfig.h:79
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetEntryPoint() const
Definition ImageConfig.h:49
void SetWorkingDirectory(Aws::String &&value)
Definition ImageConfig.h:82
ImageConfig & AddEntryPoint(Aws::String &&value)
Definition ImageConfig.h:56
AWS_LAMBDA_API ImageConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
ImageConfig & WithWorkingDirectory(const Aws::String &value)
Definition ImageConfig.h:84
ImageConfig & WithCommand(const Aws::Vector< Aws::String > &value)
Definition ImageConfig.h:68
void SetWorkingDirectory(const char *value)
Definition ImageConfig.h:83
ImageConfig & AddCommand(const Aws::String &value)
Definition ImageConfig.h:70
void SetEntryPoint(Aws::Vector< Aws::String > &&value)
Definition ImageConfig.h:52
ImageConfig & WithEntryPoint(const Aws::Vector< Aws::String > &value)
Definition ImageConfig.h:53
ImageConfig & AddCommand(const char *value)
Definition ImageConfig.h:72
AWS_LAMBDA_API ImageConfig(Aws::Utils::Json::JsonView jsonValue)
ImageConfig & AddEntryPoint(const char *value)
Definition ImageConfig.h:57
bool WorkingDirectoryHasBeenSet() const
Definition ImageConfig.h:80
ImageConfig & WithEntryPoint(Aws::Vector< Aws::String > &&value)
Definition ImageConfig.h:54
ImageConfig & WithCommand(Aws::Vector< Aws::String > &&value)
Definition ImageConfig.h:69
void SetEntryPoint(const Aws::Vector< Aws::String > &value)
Definition ImageConfig.h:51
void SetCommand(Aws::Vector< Aws::String > &&value)
Definition ImageConfig.h:67
ImageConfig & WithWorkingDirectory(Aws::String &&value)
Definition ImageConfig.h:85
ImageConfig & WithWorkingDirectory(const char *value)
Definition ImageConfig.h:86
const Aws::Vector< Aws::String > & GetCommand() const
Definition ImageConfig.h:64
void SetWorkingDirectory(const Aws::String &value)
Definition ImageConfig.h:81
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue