7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/signer/Signer_EXPORTS.h>
41 template <
typename ActionT = Aws::String>
43 m_actionHasBeenSet =
true;
44 m_action = std::forward<ActionT>(value);
46 template <
typename ActionT = Aws::String>
59 template <
typename PrincipalT = Aws::String>
61 m_principalHasBeenSet =
true;
62 m_principal = std::forward<PrincipalT>(value);
64 template <
typename PrincipalT = Aws::String>
77 template <
typename StatementIdT = Aws::String>
79 m_statementIdHasBeenSet =
true;
80 m_statementId = std::forward<StatementIdT>(value);
82 template <
typename StatementIdT = Aws::String>
95 template <
typename ProfileVersionT = Aws::String>
97 m_profileVersionHasBeenSet =
true;
98 m_profileVersion = std::forward<ProfileVersionT>(value);
100 template <
typename ProfileVersionT = Aws::String>
114 bool m_actionHasBeenSet =
false;
115 bool m_principalHasBeenSet =
false;
116 bool m_statementIdHasBeenSet =
false;
117 bool m_profileVersionHasBeenSet =
false;
void SetStatementId(StatementIdT &&value)
AWS_SIGNER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetAction() const
bool PrincipalHasBeenSet() const
const Aws::String & GetPrincipal() const
bool ActionHasBeenSet() const
Permission & WithPrincipal(PrincipalT &&value)
Permission & WithStatementId(StatementIdT &&value)
const Aws::String & GetStatementId() const
AWS_SIGNER_API Permission()=default
void SetProfileVersion(ProfileVersionT &&value)
bool StatementIdHasBeenSet() const
void SetAction(ActionT &&value)
const Aws::String & GetProfileVersion() const
Permission & WithAction(ActionT &&value)
bool ProfileVersionHasBeenSet() const
AWS_SIGNER_API Permission & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPrincipal(PrincipalT &&value)
Permission & WithProfileVersion(ProfileVersionT &&value)
AWS_SIGNER_API Permission(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue