7#include <aws/opsworks/OpsWorks_EXPORTS.h>
8#include <aws/opsworks/OpsWorksRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
45 inline void SetStackId(
const char* value) { m_stackIdHasBeenSet =
true; m_stackId.assign(value); }
59 inline void SetIamUserArn(
const char* value) { m_iamUserArnHasBeenSet =
true; m_iamUserArn.assign(value); }
71 inline void SetAllowSsh(
bool value) { m_allowSshHasBeenSet =
true; m_allowSsh = value; }
81 inline void SetAllowSudo(
bool value) { m_allowSudoHasBeenSet =
true; m_allowSudo = value; }
100 inline void SetLevel(
const char* value) { m_levelHasBeenSet =
true; m_level.assign(value); }
108 bool m_stackIdHasBeenSet =
false;
111 bool m_iamUserArnHasBeenSet =
false;
114 bool m_allowSshHasBeenSet =
false;
117 bool m_allowSudoHasBeenSet =
false;
120 bool m_levelHasBeenSet =
false;
SetPermissionRequest & WithIamUserArn(const Aws::String &value)
AWS_OPSWORKS_API Aws::String SerializePayload() const override
AWS_OPSWORKS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetLevel(const Aws::String &value)
const Aws::String & GetIamUserArn() const
const Aws::String & GetLevel() const
void SetIamUserArn(const Aws::String &value)
void SetLevel(const char *value)
bool AllowSudoHasBeenSet() const
void SetAllowSsh(bool value)
void SetIamUserArn(Aws::String &&value)
void SetIamUserArn(const char *value)
SetPermissionRequest & WithStackId(const Aws::String &value)
void SetStackId(const char *value)
void SetStackId(Aws::String &&value)
bool StackIdHasBeenSet() const
bool LevelHasBeenSet() const
void SetStackId(const Aws::String &value)
SetPermissionRequest & WithStackId(const char *value)
SetPermissionRequest & WithAllowSudo(bool value)
const Aws::String & GetStackId() const
SetPermissionRequest & WithLevel(Aws::String &&value)
AWS_OPSWORKS_API SetPermissionRequest()
bool GetAllowSudo() const
bool IamUserArnHasBeenSet() const
SetPermissionRequest & WithLevel(const Aws::String &value)
SetPermissionRequest & WithIamUserArn(const char *value)
bool AllowSshHasBeenSet() const
virtual const char * GetServiceRequestName() const override
SetPermissionRequest & WithAllowSsh(bool value)
void SetLevel(Aws::String &&value)
void SetAllowSudo(bool value)
SetPermissionRequest & WithLevel(const char *value)
SetPermissionRequest & WithStackId(Aws::String &&value)
SetPermissionRequest & WithIamUserArn(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String