Skip to content

Commit

Permalink
QueryAssistant and GetRecommendations will be discontinued starting J…
Browse files Browse the repository at this point in the history
…une 1, 2024. To receive generative responses after March 1, 2024 you will need to create a new Assistant in the Connect console and integrate the Amazon Q in Connect JavaScript library (amazon-q-connectjs) into your applications.

Minor pattern updates for Campaign and Dial Request API fields.
Add support for account level subscription filter policies to PutAccountPolicy, DescribeAccountPolicies, and DeleteAccountPolicy APIs. Additionally, PutAccountPolicy has been modified with new optional "selectionCriteria" parameter for resource selection.
Route53 now supports geoproximity routing in AWS regions
QueryAssistant and GetRecommendations will be discontinued starting June 1, 2024. To receive generative responses after March 1, 2024 you will need to create a new Assistant in the Connect console and integrate the Amazon Q in Connect JavaScript library (amazon-q-connectjs) into your applications.
This release adds API support for custom layers for the maps service APIs: CreateMap, UpdateMap, DescribeMap.
Updates to ConfigParameter for RSS workgroup, removal of use_fips_ssl
  • Loading branch information
aws-sdk-cpp-automation committed Jan 10, 2024
1 parent eea1bbc commit 3c7a362
Show file tree
Hide file tree
Showing 65 changed files with 2,214 additions and 3,028 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.239
1.11.240

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

#pragma once
#include <aws/location/LocationService_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>

Expand Down Expand Up @@ -38,6 +39,88 @@ namespace Model
AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;


/**
* <p>Specifies the custom layers for the style. Leave unset to not enable any
* custom layer, or, for styles that support custom layers, you can enable
* layer(s), such as POI layer for the VectorEsriNavigation style. Default is
* <code>unset</code>.</p> <p>Not all map resources or styles support custom
* layers. See Custom Layers for more information.</p>
*/
inline const Aws::Vector<Aws::String>& GetCustomLayers() const{ return m_customLayers; }

/**
* <p>Specifies the custom layers for the style. Leave unset to not enable any
* custom layer, or, for styles that support custom layers, you can enable
* layer(s), such as POI layer for the VectorEsriNavigation style. Default is
* <code>unset</code>.</p> <p>Not all map resources or styles support custom
* layers. See Custom Layers for more information.</p>
*/
inline bool CustomLayersHasBeenSet() const { return m_customLayersHasBeenSet; }

/**
* <p>Specifies the custom layers for the style. Leave unset to not enable any
* custom layer, or, for styles that support custom layers, you can enable
* layer(s), such as POI layer for the VectorEsriNavigation style. Default is
* <code>unset</code>.</p> <p>Not all map resources or styles support custom
* layers. See Custom Layers for more information.</p>
*/
inline void SetCustomLayers(const Aws::Vector<Aws::String>& value) { m_customLayersHasBeenSet = true; m_customLayers = value; }

/**
* <p>Specifies the custom layers for the style. Leave unset to not enable any
* custom layer, or, for styles that support custom layers, you can enable
* layer(s), such as POI layer for the VectorEsriNavigation style. Default is
* <code>unset</code>.</p> <p>Not all map resources or styles support custom
* layers. See Custom Layers for more information.</p>
*/
inline void SetCustomLayers(Aws::Vector<Aws::String>&& value) { m_customLayersHasBeenSet = true; m_customLayers = std::move(value); }

/**
* <p>Specifies the custom layers for the style. Leave unset to not enable any
* custom layer, or, for styles that support custom layers, you can enable
* layer(s), such as POI layer for the VectorEsriNavigation style. Default is
* <code>unset</code>.</p> <p>Not all map resources or styles support custom
* layers. See Custom Layers for more information.</p>
*/
inline MapConfiguration& WithCustomLayers(const Aws::Vector<Aws::String>& value) { SetCustomLayers(value); return *this;}

/**
* <p>Specifies the custom layers for the style. Leave unset to not enable any
* custom layer, or, for styles that support custom layers, you can enable
* layer(s), such as POI layer for the VectorEsriNavigation style. Default is
* <code>unset</code>.</p> <p>Not all map resources or styles support custom
* layers. See Custom Layers for more information.</p>
*/
inline MapConfiguration& WithCustomLayers(Aws::Vector<Aws::String>&& value) { SetCustomLayers(std::move(value)); return *this;}

/**
* <p>Specifies the custom layers for the style. Leave unset to not enable any
* custom layer, or, for styles that support custom layers, you can enable
* layer(s), such as POI layer for the VectorEsriNavigation style. Default is
* <code>unset</code>.</p> <p>Not all map resources or styles support custom
* layers. See Custom Layers for more information.</p>
*/
inline MapConfiguration& AddCustomLayers(const Aws::String& value) { m_customLayersHasBeenSet = true; m_customLayers.push_back(value); return *this; }

/**
* <p>Specifies the custom layers for the style. Leave unset to not enable any
* custom layer, or, for styles that support custom layers, you can enable
* layer(s), such as POI layer for the VectorEsriNavigation style. Default is
* <code>unset</code>.</p> <p>Not all map resources or styles support custom
* layers. See Custom Layers for more information.</p>
*/
inline MapConfiguration& AddCustomLayers(Aws::String&& value) { m_customLayersHasBeenSet = true; m_customLayers.push_back(std::move(value)); return *this; }

/**
* <p>Specifies the custom layers for the style. Leave unset to not enable any
* custom layer, or, for styles that support custom layers, you can enable
* layer(s), such as POI layer for the VectorEsriNavigation style. Default is
* <code>unset</code>.</p> <p>Not all map resources or styles support custom
* layers. See Custom Layers for more information.</p>
*/
inline MapConfiguration& AddCustomLayers(const char* value) { m_customLayersHasBeenSet = true; m_customLayers.push_back(value); return *this; }


/**
* <p>Specifies the political view for the style. Leave unset to not use a
* political view, or, for styles that support specific political views, you can
Expand Down Expand Up @@ -753,6 +836,9 @@ namespace Model

private:

Aws::Vector<Aws::String> m_customLayers;
bool m_customLayersHasBeenSet = false;

Aws::String m_politicalView;
bool m_politicalViewHasBeenSet = false;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

#pragma once
#include <aws/location/LocationService_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>

Expand Down Expand Up @@ -37,6 +38,88 @@ namespace Model
AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;


/**
* <p>Specifies the custom layers for the style. Leave unset to not enable any
* custom layer, or, for styles that support custom layers, you can enable
* layer(s), such as POI layer for the VectorEsriNavigation style. Default is
* <code>unset</code>.</p> <p>Not all map resources or styles support custom
* layers. See Custom Layers for more information.</p>
*/
inline const Aws::Vector<Aws::String>& GetCustomLayers() const{ return m_customLayers; }

/**
* <p>Specifies the custom layers for the style. Leave unset to not enable any
* custom layer, or, for styles that support custom layers, you can enable
* layer(s), such as POI layer for the VectorEsriNavigation style. Default is
* <code>unset</code>.</p> <p>Not all map resources or styles support custom
* layers. See Custom Layers for more information.</p>
*/
inline bool CustomLayersHasBeenSet() const { return m_customLayersHasBeenSet; }

/**
* <p>Specifies the custom layers for the style. Leave unset to not enable any
* custom layer, or, for styles that support custom layers, you can enable
* layer(s), such as POI layer for the VectorEsriNavigation style. Default is
* <code>unset</code>.</p> <p>Not all map resources or styles support custom
* layers. See Custom Layers for more information.</p>
*/
inline void SetCustomLayers(const Aws::Vector<Aws::String>& value) { m_customLayersHasBeenSet = true; m_customLayers = value; }

/**
* <p>Specifies the custom layers for the style. Leave unset to not enable any
* custom layer, or, for styles that support custom layers, you can enable
* layer(s), such as POI layer for the VectorEsriNavigation style. Default is
* <code>unset</code>.</p> <p>Not all map resources or styles support custom
* layers. See Custom Layers for more information.</p>
*/
inline void SetCustomLayers(Aws::Vector<Aws::String>&& value) { m_customLayersHasBeenSet = true; m_customLayers = std::move(value); }

/**
* <p>Specifies the custom layers for the style. Leave unset to not enable any
* custom layer, or, for styles that support custom layers, you can enable
* layer(s), such as POI layer for the VectorEsriNavigation style. Default is
* <code>unset</code>.</p> <p>Not all map resources or styles support custom
* layers. See Custom Layers for more information.</p>
*/
inline MapConfigurationUpdate& WithCustomLayers(const Aws::Vector<Aws::String>& value) { SetCustomLayers(value); return *this;}

/**
* <p>Specifies the custom layers for the style. Leave unset to not enable any
* custom layer, or, for styles that support custom layers, you can enable
* layer(s), such as POI layer for the VectorEsriNavigation style. Default is
* <code>unset</code>.</p> <p>Not all map resources or styles support custom
* layers. See Custom Layers for more information.</p>
*/
inline MapConfigurationUpdate& WithCustomLayers(Aws::Vector<Aws::String>&& value) { SetCustomLayers(std::move(value)); return *this;}

/**
* <p>Specifies the custom layers for the style. Leave unset to not enable any
* custom layer, or, for styles that support custom layers, you can enable
* layer(s), such as POI layer for the VectorEsriNavigation style. Default is
* <code>unset</code>.</p> <p>Not all map resources or styles support custom
* layers. See Custom Layers for more information.</p>
*/
inline MapConfigurationUpdate& AddCustomLayers(const Aws::String& value) { m_customLayersHasBeenSet = true; m_customLayers.push_back(value); return *this; }

/**
* <p>Specifies the custom layers for the style. Leave unset to not enable any
* custom layer, or, for styles that support custom layers, you can enable
* layer(s), such as POI layer for the VectorEsriNavigation style. Default is
* <code>unset</code>.</p> <p>Not all map resources or styles support custom
* layers. See Custom Layers for more information.</p>
*/
inline MapConfigurationUpdate& AddCustomLayers(Aws::String&& value) { m_customLayersHasBeenSet = true; m_customLayers.push_back(std::move(value)); return *this; }

/**
* <p>Specifies the custom layers for the style. Leave unset to not enable any
* custom layer, or, for styles that support custom layers, you can enable
* layer(s), such as POI layer for the VectorEsriNavigation style. Default is
* <code>unset</code>.</p> <p>Not all map resources or styles support custom
* layers. See Custom Layers for more information.</p>
*/
inline MapConfigurationUpdate& AddCustomLayers(const char* value) { m_customLayersHasBeenSet = true; m_customLayers.push_back(value); return *this; }


/**
* <p>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
Expand Down Expand Up @@ -119,6 +202,9 @@ namespace Model

private:

Aws::Vector<Aws::String> m_customLayers;
bool m_customLayersHasBeenSet = false;

Aws::String m_politicalView;
bool m_politicalViewHasBeenSet = false;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,14 @@ namespace Model
{

MapConfiguration::MapConfiguration() :
m_customLayersHasBeenSet(false),
m_politicalViewHasBeenSet(false),
m_styleHasBeenSet(false)
{
}

MapConfiguration::MapConfiguration(JsonView jsonValue) :
m_customLayersHasBeenSet(false),
m_politicalViewHasBeenSet(false),
m_styleHasBeenSet(false)
{
Expand All @@ -33,6 +35,16 @@ MapConfiguration::MapConfiguration(JsonView jsonValue) :

MapConfiguration& MapConfiguration::operator =(JsonView jsonValue)
{
if(jsonValue.ValueExists("CustomLayers"))
{
Aws::Utils::Array<JsonView> customLayersJsonList = jsonValue.GetArray("CustomLayers");
for(unsigned customLayersIndex = 0; customLayersIndex < customLayersJsonList.GetLength(); ++customLayersIndex)
{
m_customLayers.push_back(customLayersJsonList[customLayersIndex].AsString());
}
m_customLayersHasBeenSet = true;
}

if(jsonValue.ValueExists("PoliticalView"))
{
m_politicalView = jsonValue.GetString("PoliticalView");
Expand All @@ -54,6 +66,17 @@ JsonValue MapConfiguration::Jsonize() const
{
JsonValue payload;

if(m_customLayersHasBeenSet)
{
Aws::Utils::Array<JsonValue> customLayersJsonList(m_customLayers.size());
for(unsigned customLayersIndex = 0; customLayersIndex < customLayersJsonList.GetLength(); ++customLayersIndex)
{
customLayersJsonList[customLayersIndex].AsString(m_customLayers[customLayersIndex]);
}
payload.WithArray("CustomLayers", std::move(customLayersJsonList));

}

if(m_politicalViewHasBeenSet)
{
payload.WithString("PoliticalView", m_politicalView);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,30 @@ namespace Model
{

MapConfigurationUpdate::MapConfigurationUpdate() :
m_customLayersHasBeenSet(false),
m_politicalViewHasBeenSet(false)
{
}

MapConfigurationUpdate::MapConfigurationUpdate(JsonView jsonValue) :
m_customLayersHasBeenSet(false),
m_politicalViewHasBeenSet(false)
{
*this = jsonValue;
}

MapConfigurationUpdate& MapConfigurationUpdate::operator =(JsonView jsonValue)
{
if(jsonValue.ValueExists("CustomLayers"))
{
Aws::Utils::Array<JsonView> customLayersJsonList = jsonValue.GetArray("CustomLayers");
for(unsigned customLayersIndex = 0; customLayersIndex < customLayersJsonList.GetLength(); ++customLayersIndex)
{
m_customLayers.push_back(customLayersJsonList[customLayersIndex].AsString());
}
m_customLayersHasBeenSet = true;
}

if(jsonValue.ValueExists("PoliticalView"))
{
m_politicalView = jsonValue.GetString("PoliticalView");
Expand All @@ -45,6 +57,17 @@ JsonValue MapConfigurationUpdate::Jsonize() const
{
JsonValue payload;

if(m_customLayersHasBeenSet)
{
Aws::Utils::Array<JsonValue> customLayersJsonList(m_customLayers.size());
for(unsigned customLayersIndex = 0; customLayersIndex < customLayersJsonList.GetLength(); ++customLayersIndex)
{
customLayersJsonList[customLayersIndex].AsString(m_customLayers[customLayersIndex]);
}
payload.WithArray("CustomLayers", std::move(customLayersJsonList));

}

if(m_politicalViewHasBeenSet)
{
payload.WithString("PoliticalView", m_politicalView);
Expand Down
Loading

0 comments on commit 3c7a362

Please sign in to comment.