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

Specifies the political view for the style.

See Also:

AWS * API Reference

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

Specifies the political view for the style. Set to an empty string to not use * a political view, or, for styles that support specific political views, you can * choose a view, such as IND for the Indian view.

Not * all map resources or styles support political view styles. See Political * views for more information.

*/ inline const Aws::String& GetPoliticalView() const{ return m_politicalView; } /** *

Specifies the political view for the style. Set to an empty string to not use * a political view, or, for styles that support specific political views, you can * choose a view, such as IND for the Indian view.

Not * all map resources or styles support political view styles. See Political * views for more information.

*/ inline bool PoliticalViewHasBeenSet() const { return m_politicalViewHasBeenSet; } /** *

Specifies the political view for the style. Set to an empty string to not use * a political view, or, for styles that support specific political views, you can * choose a view, such as IND for the Indian view.

Not * all map resources or styles support political view styles. See Political * views for more information.

*/ inline void SetPoliticalView(const Aws::String& value) { m_politicalViewHasBeenSet = true; m_politicalView = value; } /** *

Specifies the political view for the style. Set to an empty string to not use * a political view, or, for styles that support specific political views, you can * choose a view, such as IND for the Indian view.

Not * all map resources or styles support political view styles. See Political * views for more information.

*/ inline void SetPoliticalView(Aws::String&& value) { m_politicalViewHasBeenSet = true; m_politicalView = std::move(value); } /** *

Specifies the political view for the style. Set to an empty string to not use * a political view, or, for styles that support specific political views, you can * choose a view, such as IND for the Indian view.

Not * all map resources or styles support political view styles. See Political * views for more information.

*/ inline void SetPoliticalView(const char* value) { m_politicalViewHasBeenSet = true; m_politicalView.assign(value); } /** *

Specifies the political view for the style. Set to an empty string to not use * a political view, or, for styles that support specific political views, you can * choose a view, such as IND for the Indian view.

Not * all map resources or styles support political view styles. See Political * views for more information.

*/ inline MapConfigurationUpdate& WithPoliticalView(const Aws::String& value) { SetPoliticalView(value); return *this;} /** *

Specifies the political view for the style. Set to an empty string to not use * a political view, or, for styles that support specific political views, you can * choose a view, such as IND for the Indian view.

Not * all map resources or styles support political view styles. See Political * views for more information.

*/ inline MapConfigurationUpdate& WithPoliticalView(Aws::String&& value) { SetPoliticalView(std::move(value)); return *this;} /** *

Specifies the political view for the style. Set to an empty string to not use * a political view, or, for styles that support specific political views, you can * choose a view, such as IND for the Indian view.

Not * all map resources or styles support political view styles. See Political * views for more information.

*/ inline MapConfigurationUpdate& WithPoliticalView(const char* value) { SetPoliticalView(value); return *this;} private: Aws::String m_politicalView; bool m_politicalViewHasBeenSet = false; }; } // namespace Model } // namespace LocationService } // namespace Aws