7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace AccessAnalyzer
56 inline void SetTrustPolicy(
const char* value) { m_trustPolicyHasBeenSet =
true; m_trustPolicy.assign(value); }
64 bool m_trustPolicyHasBeenSet =
false;
IamRoleConfiguration & WithTrustPolicy(const char *value)
void SetTrustPolicy(const Aws::String &value)
void SetTrustPolicy(const char *value)
AWS_ACCESSANALYZER_API IamRoleConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_ACCESSANALYZER_API IamRoleConfiguration()
IamRoleConfiguration & WithTrustPolicy(Aws::String &&value)
IamRoleConfiguration & WithTrustPolicy(const Aws::String &value)
void SetTrustPolicy(Aws::String &&value)
bool TrustPolicyHasBeenSet() const
AWS_ACCESSANALYZER_API IamRoleConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
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