7#include <aws/amp/PrometheusService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace PrometheusService
52 template<
typename SourceRoleArnT = Aws::String>
53 void SetSourceRoleArn(SourceRoleArnT&& value) { m_sourceRoleArnHasBeenSet =
true; m_sourceRoleArn = std::forward<SourceRoleArnT>(value); }
54 template<
typename SourceRoleArnT = Aws::String>
68 template<
typename TargetRoleArnT = Aws::String>
69 void SetTargetRoleArn(TargetRoleArnT&& value) { m_targetRoleArnHasBeenSet =
true; m_targetRoleArn = std::forward<TargetRoleArnT>(value); }
70 template<
typename TargetRoleArnT = Aws::String>
76 bool m_sourceRoleArnHasBeenSet =
false;
79 bool m_targetRoleArnHasBeenSet =
false;
RoleConfiguration & WithSourceRoleArn(SourceRoleArnT &&value)
AWS_PROMETHEUSSERVICE_API RoleConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTargetRoleArn() const
void SetSourceRoleArn(SourceRoleArnT &&value)
bool TargetRoleArnHasBeenSet() const
void SetTargetRoleArn(TargetRoleArnT &&value)
AWS_PROMETHEUSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetSourceRoleArn() const
RoleConfiguration & WithTargetRoleArn(TargetRoleArnT &&value)
bool SourceRoleArnHasBeenSet() const
AWS_PROMETHEUSSERVICE_API RoleConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_PROMETHEUSSERVICE_API RoleConfiguration()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue