7#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/greengrassv2/model/SystemResourceLimits.h>
61 template<
typename PosixUserT = Aws::String>
62 void SetPosixUser(PosixUserT&& value) { m_posixUserHasBeenSet =
true; m_posixUser = std::forward<PosixUserT>(value); }
63 template<
typename PosixUserT = Aws::String>
79 template<
typename SystemResourceLimitsT = SystemResourceLimits>
80 void SetSystemResourceLimits(SystemResourceLimitsT&& value) { m_systemResourceLimitsHasBeenSet =
true; m_systemResourceLimits = std::forward<SystemResourceLimitsT>(value); }
81 template<
typename SystemResourceLimitsT = SystemResourceLimits>
98 template<
typename WindowsUserT = Aws::String>
99 void SetWindowsUser(WindowsUserT&& value) { m_windowsUserHasBeenSet =
true; m_windowsUser = std::forward<WindowsUserT>(value); }
100 template<
typename WindowsUserT = Aws::String>
106 bool m_posixUserHasBeenSet =
false;
109 bool m_systemResourceLimitsHasBeenSet =
false;
112 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