// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetFlag`](crate::operation::get_flag::builders::GetFlagFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`application(impl Into<String>)`](crate::operation::get_flag::builders::GetFlagFluentBuilder::application) / [`set_application(Option<String>)`](crate::operation::get_flag::builders::GetFlagFluentBuilder::set_application):<br>required: **true**<br>The name or ID of the AWS AppConfig application.<br>
/// - [`environment(impl Into<String>)`](crate::operation::get_flag::builders::GetFlagFluentBuilder::environment) / [`set_environment(Option<String>)`](crate::operation::get_flag::builders::GetFlagFluentBuilder::set_environment):<br>required: **true**<br>The name or ID of the AWS AppConfig environment the configuration is deployed to.<br>
/// - [`configuration(impl Into<String>)`](crate::operation::get_flag::builders::GetFlagFluentBuilder::configuration) / [`set_configuration(Option<String>)`](crate::operation::get_flag::builders::GetFlagFluentBuilder::set_configuration):<br>required: **true**<br>The name or ID of the feature flag configuration profile.<br>
/// - [`flag(impl Into<String>)`](crate::operation::get_flag::builders::GetFlagFluentBuilder::flag) / [`set_flag(Option<String>)`](crate::operation::get_flag::builders::GetFlagFluentBuilder::set_flag):<br>required: **true**<br>The key of the flag to return.<br>
/// - [`context(impl Into<String>, impl Into<String>)`](crate::operation::get_flag::builders::GetFlagFluentBuilder::context) / [`set_context(Option<HashMap::<String, String>>)`](crate::operation::get_flag::builders::GetFlagFluentBuilder::set_context):<br>required: **false**<br>The request context that the flag's variant rules are evaluated against.<br>
/// - On success, responds with [`GetFlagOutput`](crate::operation::get_flag::GetFlagOutput) with field(s):
/// - [`enabled(bool)`](crate::operation::get_flag::GetFlagOutput::enabled): Whether the flag is enabled.
/// - [`variant(Option<String>)`](crate::operation::get_flag::GetFlagOutput::variant): The name of the variant the request context matched, absent when the flag has no variants.
/// - [`attributes(Option<HashMap::<String, FlagAttributeValue>>)`](crate::operation::get_flag::GetFlagOutput::attributes): The flag's attribute values, by attribute key, absent when the flag has none.
/// - On failure, responds with [`SdkError<GetFlagError>`](crate::operation::get_flag::GetFlagError)
pub fn get_flag(&self) -> crate::operation::get_flag::builders::GetFlagFluentBuilder {
crate::operation::get_flag::builders::GetFlagFluentBuilder::new(self.handle.clone())
}
}