7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
9#include <aws/greengrassv2/model/SystemResourceLimits.h>
20namespace GreengrassV2 {
55 template <
typename PosixUserT = Aws::String>
57 m_posixUserHasBeenSet =
true;
58 m_posixUser = std::forward<PosixUserT>(value);
60 template <
typename PosixUserT = Aws::String>
79 template <
typename SystemResourceLimitsT = SystemResourceLimits>
81 m_systemResourceLimitsHasBeenSet =
true;
82 m_systemResourceLimits = std::forward<SystemResourceLimitsT>(value);
84 template <
typename SystemResourceLimitsT = SystemResourceLimits>
104 template <
typename WindowsUserT = Aws::String>
106 m_windowsUserHasBeenSet =
true;
107 m_windowsUser = std::forward<WindowsUserT>(value);
109 template <
typename WindowsUserT = Aws::String>
121 bool m_posixUserHasBeenSet =
false;
122 bool m_systemResourceLimitsHasBeenSet =
false;
123 bool m_windowsUserHasBeenSet =
false;
void SetWindowsUser(WindowsUserT &&value)
const SystemResourceLimits & GetSystemResourceLimits() const
bool SystemResourceLimitsHasBeenSet() const
AWS_GREENGRASSV2_API ComponentRunWith()=default
AWS_GREENGRASSV2_API ComponentRunWith & operator=(Aws::Utils::Json::JsonView jsonValue)
bool WindowsUserHasBeenSet() const
const Aws::String & GetPosixUser() const
ComponentRunWith & WithSystemResourceLimits(SystemResourceLimitsT &&value)
bool PosixUserHasBeenSet() const
void SetSystemResourceLimits(SystemResourceLimitsT &&value)
void SetPosixUser(PosixUserT &&value)
AWS_GREENGRASSV2_API ComponentRunWith(Aws::Utils::Json::JsonView jsonValue)
AWS_GREENGRASSV2_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetWindowsUser() const
ComponentRunWith & WithPosixUser(PosixUserT &&value)
ComponentRunWith & WithWindowsUser(WindowsUserT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue