7#include <aws/amp/PrometheusService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
19namespace PrometheusService {
46 template <
typename SourceRoleArnT = Aws::String>
48 m_sourceRoleArnHasBeenSet =
true;
49 m_sourceRoleArn = std::forward<SourceRoleArnT>(value);
51 template <
typename SourceRoleArnT = Aws::String>
68 template <
typename TargetRoleArnT = Aws::String>
70 m_targetRoleArnHasBeenSet =
true;
71 m_targetRoleArn = std::forward<TargetRoleArnT>(value);
73 template <
typename TargetRoleArnT = Aws::String>
81 bool m_sourceRoleArnHasBeenSet =
false;
84 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