7#include <aws/opsworks/OpsWorks_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 inline void SetStackId(
const char* value) { m_stackIdHasBeenSet =
true; m_stackId.assign(value); }
65 inline void SetIamUserArn(
const char* value) { m_iamUserArnHasBeenSet =
true; m_iamUserArn.assign(value); }
77 inline void SetAllowSsh(
bool value) { m_allowSshHasBeenSet =
true; m_allowSsh = value; }
87 inline void SetAllowSudo(
bool value) { m_allowSudoHasBeenSet =
true; m_allowSudo = value; }
105 inline void SetLevel(
const char* value) { m_levelHasBeenSet =
true; m_level.assign(value); }
113 bool m_stackIdHasBeenSet =
false;
116 bool m_iamUserArnHasBeenSet =
false;
119 bool m_allowSshHasBeenSet =
false;
122 bool m_allowSudoHasBeenSet =
false;
125 bool m_levelHasBeenSet =
false;
bool AllowSudoHasBeenSet() const
Permission & WithAllowSsh(bool value)
AWS_OPSWORKS_API Permission & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLevel(Aws::String &&value)
void SetIamUserArn(const Aws::String &value)
Permission & WithStackId(Aws::String &&value)
const Aws::String & GetLevel() const
void SetStackId(const Aws::String &value)
void SetLevel(const char *value)
void SetAllowSudo(bool value)
AWS_OPSWORKS_API Permission(Aws::Utils::Json::JsonView jsonValue)
Permission & WithIamUserArn(const char *value)
Permission & WithLevel(Aws::String &&value)
bool GetAllowSudo() const
bool IamUserArnHasBeenSet() const
Permission & WithAllowSudo(bool value)
Permission & WithLevel(const char *value)
Permission & WithLevel(const Aws::String &value)
Permission & WithStackId(const Aws::String &value)
bool LevelHasBeenSet() const
Permission & WithIamUserArn(Aws::String &&value)
void SetStackId(Aws::String &&value)
void SetLevel(const Aws::String &value)
AWS_OPSWORKS_API Permission()
void SetStackId(const char *value)
const Aws::String & GetIamUserArn() const
const Aws::String & GetStackId() const
void SetIamUserArn(const char *value)
bool AllowSshHasBeenSet() const
void SetIamUserArn(Aws::String &&value)
bool StackIdHasBeenSet() const
void SetAllowSsh(bool value)
AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const
Permission & WithStackId(const char *value)
Permission & WithIamUserArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue