7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace AccessAnalyzer
54 template<
typename TrustPolicyT = Aws::String>
55 void SetTrustPolicy(TrustPolicyT&& value) { m_trustPolicyHasBeenSet =
true; m_trustPolicy = std::forward<TrustPolicyT>(value); }
56 template<
typename TrustPolicyT = Aws::String>
62 bool m_trustPolicyHasBeenSet =
false;
IamRoleConfiguration & WithTrustPolicy(TrustPolicyT &&value)
AWS_ACCESSANALYZER_API IamRoleConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetTrustPolicy(TrustPolicyT &&value)
bool TrustPolicyHasBeenSet() const
AWS_ACCESSANALYZER_API IamRoleConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ACCESSANALYZER_API IamRoleConfiguration()=default
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetTrustPolicy() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue