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

Property key-value pairs passed into an application.

See Also:

* AWS * API Reference

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

Describes the key of an application execution property key-value pair.

*/ inline const Aws::String& GetPropertyGroupId() const{ return m_propertyGroupId; } /** *

Describes the key of an application execution property key-value pair.

*/ inline bool PropertyGroupIdHasBeenSet() const { return m_propertyGroupIdHasBeenSet; } /** *

Describes the key of an application execution property key-value pair.

*/ inline void SetPropertyGroupId(const Aws::String& value) { m_propertyGroupIdHasBeenSet = true; m_propertyGroupId = value; } /** *

Describes the key of an application execution property key-value pair.

*/ inline void SetPropertyGroupId(Aws::String&& value) { m_propertyGroupIdHasBeenSet = true; m_propertyGroupId = std::move(value); } /** *

Describes the key of an application execution property key-value pair.

*/ inline void SetPropertyGroupId(const char* value) { m_propertyGroupIdHasBeenSet = true; m_propertyGroupId.assign(value); } /** *

Describes the key of an application execution property key-value pair.

*/ inline PropertyGroup& WithPropertyGroupId(const Aws::String& value) { SetPropertyGroupId(value); return *this;} /** *

Describes the key of an application execution property key-value pair.

*/ inline PropertyGroup& WithPropertyGroupId(Aws::String&& value) { SetPropertyGroupId(std::move(value)); return *this;} /** *

Describes the key of an application execution property key-value pair.

*/ inline PropertyGroup& WithPropertyGroupId(const char* value) { SetPropertyGroupId(value); return *this;} /** *

Describes the value of an application execution property key-value pair.

*/ inline const Aws::Map& GetPropertyMap() const{ return m_propertyMap; } /** *

Describes the value of an application execution property key-value pair.

*/ inline bool PropertyMapHasBeenSet() const { return m_propertyMapHasBeenSet; } /** *

Describes the value of an application execution property key-value pair.

*/ inline void SetPropertyMap(const Aws::Map& value) { m_propertyMapHasBeenSet = true; m_propertyMap = value; } /** *

Describes the value of an application execution property key-value pair.

*/ inline void SetPropertyMap(Aws::Map&& value) { m_propertyMapHasBeenSet = true; m_propertyMap = std::move(value); } /** *

Describes the value of an application execution property key-value pair.

*/ inline PropertyGroup& WithPropertyMap(const Aws::Map& value) { SetPropertyMap(value); return *this;} /** *

Describes the value of an application execution property key-value pair.

*/ inline PropertyGroup& WithPropertyMap(Aws::Map&& value) { SetPropertyMap(std::move(value)); return *this;} /** *

Describes the value of an application execution property key-value pair.

*/ inline PropertyGroup& AddPropertyMap(const Aws::String& key, const Aws::String& value) { m_propertyMapHasBeenSet = true; m_propertyMap.emplace(key, value); return *this; } /** *

Describes the value of an application execution property key-value pair.

*/ inline PropertyGroup& AddPropertyMap(Aws::String&& key, const Aws::String& value) { m_propertyMapHasBeenSet = true; m_propertyMap.emplace(std::move(key), value); return *this; } /** *

Describes the value of an application execution property key-value pair.

*/ inline PropertyGroup& AddPropertyMap(const Aws::String& key, Aws::String&& value) { m_propertyMapHasBeenSet = true; m_propertyMap.emplace(key, std::move(value)); return *this; } /** *

Describes the value of an application execution property key-value pair.

*/ inline PropertyGroup& AddPropertyMap(Aws::String&& key, Aws::String&& value) { m_propertyMapHasBeenSet = true; m_propertyMap.emplace(std::move(key), std::move(value)); return *this; } /** *

Describes the value of an application execution property key-value pair.

*/ inline PropertyGroup& AddPropertyMap(const char* key, Aws::String&& value) { m_propertyMapHasBeenSet = true; m_propertyMap.emplace(key, std::move(value)); return *this; } /** *

Describes the value of an application execution property key-value pair.

*/ inline PropertyGroup& AddPropertyMap(Aws::String&& key, const char* value) { m_propertyMapHasBeenSet = true; m_propertyMap.emplace(std::move(key), value); return *this; } /** *

Describes the value of an application execution property key-value pair.

*/ inline PropertyGroup& AddPropertyMap(const char* key, const char* value) { m_propertyMapHasBeenSet = true; m_propertyMap.emplace(key, value); return *this; } private: Aws::String m_propertyGroupId; bool m_propertyGroupIdHasBeenSet = false; Aws::Map m_propertyMap; bool m_propertyMapHasBeenSet = false; }; } // namespace Model } // namespace KinesisAnalyticsV2 } // namespace Aws