7#include <aws/opsworks/OpsWorks_EXPORTS.h>
8#include <aws/opsworks/OpsWorksRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
43 template<
typename StackIdT = Aws::String>
44 void SetStackId(StackIdT&& value) { m_stackIdHasBeenSet =
true; m_stackId = std::forward<StackIdT>(value); }
45 template<
typename StackIdT = Aws::String>
55 template<
typename IamUserArnT = Aws::String>
56 void SetIamUserArn(IamUserArnT&& value) { m_iamUserArnHasBeenSet =
true; m_iamUserArn = std::forward<IamUserArnT>(value); }
57 template<
typename IamUserArnT = Aws::String>
67 inline void SetAllowSsh(
bool value) { m_allowSshHasBeenSet =
true; m_allowSsh = value; }
77 inline void SetAllowSudo(
bool value) { m_allowSudoHasBeenSet =
true; m_allowSudo = value; }
94 template<
typename LevelT = Aws::String>
95 void SetLevel(LevelT&& value) { m_levelHasBeenSet =
true; m_level = std::forward<LevelT>(value); }
96 template<
typename LevelT = Aws::String>
102 bool m_stackIdHasBeenSet =
false;
105 bool m_iamUserArnHasBeenSet =
false;
107 bool m_allowSsh{
false};
108 bool m_allowSshHasBeenSet =
false;
110 bool m_allowSudo{
false};
111 bool m_allowSudoHasBeenSet =
false;
114 bool m_levelHasBeenSet =
false;
SetPermissionRequest & WithLevel(LevelT &&value)
SetPermissionRequest & WithIamUserArn(IamUserArnT &&value)
AWS_OPSWORKS_API Aws::String SerializePayload() const override
AWS_OPSWORKS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetIamUserArn() const
void SetLevel(LevelT &&value)
const Aws::String & GetLevel() const
bool AllowSudoHasBeenSet() const
void SetAllowSsh(bool value)
bool StackIdHasBeenSet() const
bool LevelHasBeenSet() const
SetPermissionRequest & WithAllowSudo(bool value)
const Aws::String & GetStackId() const
void SetStackId(StackIdT &&value)
bool GetAllowSudo() const
SetPermissionRequest & WithStackId(StackIdT &&value)
bool IamUserArnHasBeenSet() const
bool AllowSshHasBeenSet() const
void SetIamUserArn(IamUserArnT &&value)
virtual const char * GetServiceRequestName() const override
SetPermissionRequest & WithAllowSsh(bool value)
void SetAllowSudo(bool value)
AWS_OPSWORKS_API SetPermissionRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String