/** * 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 AppStream { namespace Model { /** *

The application associated to an entitlement. Access is controlled based on * user attributes.

See Also:

AWS * API Reference

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

The identifier of the application.

*/ inline const Aws::String& GetApplicationIdentifier() const{ return m_applicationIdentifier; } /** *

The identifier of the application.

*/ inline bool ApplicationIdentifierHasBeenSet() const { return m_applicationIdentifierHasBeenSet; } /** *

The identifier of the application.

*/ inline void SetApplicationIdentifier(const Aws::String& value) { m_applicationIdentifierHasBeenSet = true; m_applicationIdentifier = value; } /** *

The identifier of the application.

*/ inline void SetApplicationIdentifier(Aws::String&& value) { m_applicationIdentifierHasBeenSet = true; m_applicationIdentifier = std::move(value); } /** *

The identifier of the application.

*/ inline void SetApplicationIdentifier(const char* value) { m_applicationIdentifierHasBeenSet = true; m_applicationIdentifier.assign(value); } /** *

The identifier of the application.

*/ inline EntitledApplication& WithApplicationIdentifier(const Aws::String& value) { SetApplicationIdentifier(value); return *this;} /** *

The identifier of the application.

*/ inline EntitledApplication& WithApplicationIdentifier(Aws::String&& value) { SetApplicationIdentifier(std::move(value)); return *this;} /** *

The identifier of the application.

*/ inline EntitledApplication& WithApplicationIdentifier(const char* value) { SetApplicationIdentifier(value); return *this;} private: Aws::String m_applicationIdentifier; bool m_applicationIdentifierHasBeenSet = false; }; } // namespace Model } // namespace AppStream } // namespace Aws