7#include <aws/opsworks/OpsWorks_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
46 template<
typename StackIdT = Aws::String>
47 void SetStackId(StackIdT&& value) { m_stackIdHasBeenSet =
true; m_stackId = std::forward<StackIdT>(value); }
48 template<
typename StackIdT = Aws::String>
61 template<
typename IamUserArnT = Aws::String>
62 void SetIamUserArn(IamUserArnT&& value) { m_iamUserArnHasBeenSet =
true; m_iamUserArn = std::forward<IamUserArnT>(value); }
63 template<
typename IamUserArnT = Aws::String>
73 inline void SetAllowSsh(
bool value) { m_allowSshHasBeenSet =
true; m_allowSsh = value; }
83 inline void SetAllowSudo(
bool value) { m_allowSudoHasBeenSet =
true; m_allowSudo = value; }
99 template<
typename LevelT = Aws::String>
100 void SetLevel(LevelT&& value) { m_levelHasBeenSet =
true; m_level = std::forward<LevelT>(value); }
101 template<
typename LevelT = Aws::String>
107 bool m_stackIdHasBeenSet =
false;
110 bool m_iamUserArnHasBeenSet =
false;
112 bool m_allowSsh{
false};
113 bool m_allowSshHasBeenSet =
false;
115 bool m_allowSudo{
false};
116 bool m_allowSudoHasBeenSet =
false;
119 bool m_levelHasBeenSet =
false;
bool AllowSudoHasBeenSet() const
Permission & WithAllowSsh(bool value)
AWS_OPSWORKS_API Permission & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetLevel() const
Permission & WithIamUserArn(IamUserArnT &&value)
void SetAllowSudo(bool value)
AWS_OPSWORKS_API Permission(Aws::Utils::Json::JsonView jsonValue)
void SetLevel(LevelT &&value)
bool GetAllowSudo() const
AWS_OPSWORKS_API Permission()=default
bool IamUserArnHasBeenSet() const
Permission & WithAllowSudo(bool value)
bool LevelHasBeenSet() const
void SetStackId(StackIdT &&value)
Permission & WithStackId(StackIdT &&value)
Permission & WithLevel(LevelT &&value)
const Aws::String & GetIamUserArn() const
const Aws::String & GetStackId() const
bool AllowSshHasBeenSet() const
bool StackIdHasBeenSet() const
void SetAllowSsh(bool value)
AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetIamUserArn(IamUserArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue