/** * 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 AppConfig { namespace Model { class Application { public: AWS_APPCONFIG_API Application(); AWS_APPCONFIG_API Application(Aws::Utils::Json::JsonView jsonValue); AWS_APPCONFIG_API Application& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_APPCONFIG_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The application ID.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

The application ID.

*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *

The application ID.

*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *

The application ID.

*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *

The application ID.

*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *

The application ID.

*/ inline Application& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The application ID.

*/ inline Application& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

The application ID.

*/ inline Application& WithId(const char* value) { SetId(value); return *this;} /** *

The application name.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The application name.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The application name.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The application name.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The application name.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The application name.

*/ inline Application& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The application name.

*/ inline Application& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The application name.

*/ inline Application& WithName(const char* value) { SetName(value); return *this;} /** *

The description of the application.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The description of the application.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

The description of the application.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

The description of the application.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

The description of the application.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

The description of the application.

*/ inline Application& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The description of the application.

*/ inline Application& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The description of the application.

*/ inline Application& WithDescription(const char* value) { SetDescription(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; } inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); } inline Application& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline Application& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline Application& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_requestId; bool m_requestIdHasBeenSet = false; }; } // namespace Model } // namespace AppConfig } // namespace Aws