/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace CloudWatchEvidently { namespace Model { /** *

This is a structure that defines the configuration of how your application * integrates with AppConfig to run client-side evaluation.

See * Also:

AWS * API Reference

*/ class ProjectAppConfigResource { public: AWS_CLOUDWATCHEVIDENTLY_API ProjectAppConfigResource(); AWS_CLOUDWATCHEVIDENTLY_API ProjectAppConfigResource(Aws::Utils::Json::JsonView jsonValue); AWS_CLOUDWATCHEVIDENTLY_API ProjectAppConfigResource& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The ID of the AppConfig application to use for client-side evaluation.

*/ inline const Aws::String& GetApplicationId() const{ return m_applicationId; } /** *

The ID of the AppConfig application to use for client-side evaluation.

*/ inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; } /** *

The ID of the AppConfig application to use for client-side evaluation.

*/ inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; } /** *

The ID of the AppConfig application to use for client-side evaluation.

*/ inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); } /** *

The ID of the AppConfig application to use for client-side evaluation.

*/ inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); } /** *

The ID of the AppConfig application to use for client-side evaluation.

*/ inline ProjectAppConfigResource& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;} /** *

The ID of the AppConfig application to use for client-side evaluation.

*/ inline ProjectAppConfigResource& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;} /** *

The ID of the AppConfig application to use for client-side evaluation.

*/ inline ProjectAppConfigResource& WithApplicationId(const char* value) { SetApplicationId(value); return *this;} /** *

The ID of the AppConfig profile to use for client-side evaluation.

*/ inline const Aws::String& GetConfigurationProfileId() const{ return m_configurationProfileId; } /** *

The ID of the AppConfig profile to use for client-side evaluation.

*/ inline bool ConfigurationProfileIdHasBeenSet() const { return m_configurationProfileIdHasBeenSet; } /** *

The ID of the AppConfig profile to use for client-side evaluation.

*/ inline void SetConfigurationProfileId(const Aws::String& value) { m_configurationProfileIdHasBeenSet = true; m_configurationProfileId = value; } /** *

The ID of the AppConfig profile to use for client-side evaluation.

*/ inline void SetConfigurationProfileId(Aws::String&& value) { m_configurationProfileIdHasBeenSet = true; m_configurationProfileId = std::move(value); } /** *

The ID of the AppConfig profile to use for client-side evaluation.

*/ inline void SetConfigurationProfileId(const char* value) { m_configurationProfileIdHasBeenSet = true; m_configurationProfileId.assign(value); } /** *

The ID of the AppConfig profile to use for client-side evaluation.

*/ inline ProjectAppConfigResource& WithConfigurationProfileId(const Aws::String& value) { SetConfigurationProfileId(value); return *this;} /** *

The ID of the AppConfig profile to use for client-side evaluation.

*/ inline ProjectAppConfigResource& WithConfigurationProfileId(Aws::String&& value) { SetConfigurationProfileId(std::move(value)); return *this;} /** *

The ID of the AppConfig profile to use for client-side evaluation.

*/ inline ProjectAppConfigResource& WithConfigurationProfileId(const char* value) { SetConfigurationProfileId(value); return *this;} /** *

The ID of the AppConfig environment to use for client-side evaluation. This * must be an environment that is within the application that you specify for * applicationId.

*/ inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; } /** *

The ID of the AppConfig environment to use for client-side evaluation. This * must be an environment that is within the application that you specify for * applicationId.

*/ inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; } /** *

The ID of the AppConfig environment to use for client-side evaluation. This * must be an environment that is within the application that you specify for * applicationId.

*/ inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; } /** *

The ID of the AppConfig environment to use for client-side evaluation. This * must be an environment that is within the application that you specify for * applicationId.

*/ inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); } /** *

The ID of the AppConfig environment to use for client-side evaluation. This * must be an environment that is within the application that you specify for * applicationId.

*/ inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); } /** *

The ID of the AppConfig environment to use for client-side evaluation. This * must be an environment that is within the application that you specify for * applicationId.

*/ inline ProjectAppConfigResource& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;} /** *

The ID of the AppConfig environment to use for client-side evaluation. This * must be an environment that is within the application that you specify for * applicationId.

*/ inline ProjectAppConfigResource& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;} /** *

The ID of the AppConfig environment to use for client-side evaluation. This * must be an environment that is within the application that you specify for * applicationId.

*/ inline ProjectAppConfigResource& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;} private: Aws::String m_applicationId; bool m_applicationIdHasBeenSet = false; Aws::String m_configurationProfileId; bool m_configurationProfileIdHasBeenSet = false; Aws::String m_environmentId; bool m_environmentIdHasBeenSet = false; }; } // namespace Model } // namespace CloudWatchEvidently } // namespace Aws