Skip to content

Commit 479dab2

Browse files
This release adds support for 1) highlighting relevant text in returned results for Search and SearchListings APIs and 2) returning aggregated counts of values for specified attributes for SearchListings API.
Add Git integration and README support for HealthOmics workflows
1 parent e8d6cfe commit 479dab2

File tree

70 files changed

+4246
-1032
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+4246
-1032
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.11.611
1+
1.11.612
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
/**
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
* SPDX-License-Identifier: Apache-2.0.
4+
*/
5+
6+
#pragma once
7+
#include <aws/datazone/DataZone_EXPORTS.h>
8+
#include <aws/core/utils/memory/stl/AWSString.h>
9+
#include <utility>
10+
11+
namespace Aws
12+
{
13+
namespace Utils
14+
{
15+
namespace Json
16+
{
17+
class JsonValue;
18+
class JsonView;
19+
} // namespace Json
20+
} // namespace Utils
21+
namespace DataZone
22+
{
23+
namespace Model
24+
{
25+
26+
/**
27+
* <p>An aggregation list item.</p><p><h3>See Also:</h3> <a
28+
* href="http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/AggregationListItem">AWS
29+
* API Reference</a></p>
30+
*/
31+
class AggregationListItem
32+
{
33+
public:
34+
AWS_DATAZONE_API AggregationListItem() = default;
35+
AWS_DATAZONE_API AggregationListItem(Aws::Utils::Json::JsonView jsonValue);
36+
AWS_DATAZONE_API AggregationListItem& operator=(Aws::Utils::Json::JsonView jsonValue);
37+
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
38+
39+
40+
///@{
41+
/**
42+
* <p>An attribute on which to compute aggregations.</p>
43+
*/
44+
inline const Aws::String& GetAttribute() const { return m_attribute; }
45+
inline bool AttributeHasBeenSet() const { return m_attributeHasBeenSet; }
46+
template<typename AttributeT = Aws::String>
47+
void SetAttribute(AttributeT&& value) { m_attributeHasBeenSet = true; m_attribute = std::forward<AttributeT>(value); }
48+
template<typename AttributeT = Aws::String>
49+
AggregationListItem& WithAttribute(AttributeT&& value) { SetAttribute(std::forward<AttributeT>(value)); return *this;}
50+
///@}
51+
52+
///@{
53+
/**
54+
* <p>The display value of the aggregation list item. Supported values include
55+
* <code>value</code> and <code>glossaryTerm.name</code>.</p>
56+
*/
57+
inline const Aws::String& GetDisplayValue() const { return m_displayValue; }
58+
inline bool DisplayValueHasBeenSet() const { return m_displayValueHasBeenSet; }
59+
template<typename DisplayValueT = Aws::String>
60+
void SetDisplayValue(DisplayValueT&& value) { m_displayValueHasBeenSet = true; m_displayValue = std::forward<DisplayValueT>(value); }
61+
template<typename DisplayValueT = Aws::String>
62+
AggregationListItem& WithDisplayValue(DisplayValueT&& value) { SetDisplayValue(std::forward<DisplayValueT>(value)); return *this;}
63+
///@}
64+
private:
65+
66+
Aws::String m_attribute;
67+
bool m_attributeHasBeenSet = false;
68+
69+
Aws::String m_displayValue;
70+
bool m_displayValueHasBeenSet = false;
71+
};
72+
73+
} // namespace Model
74+
} // namespace DataZone
75+
} // namespace Aws
Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
/**
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
* SPDX-License-Identifier: Apache-2.0.
4+
*/
5+
6+
#pragma once
7+
#include <aws/datazone/DataZone_EXPORTS.h>
8+
#include <aws/core/utils/memory/stl/AWSString.h>
9+
#include <aws/core/utils/memory/stl/AWSVector.h>
10+
#include <aws/datazone/model/AggregationOutputItem.h>
11+
#include <utility>
12+
13+
namespace Aws
14+
{
15+
namespace Utils
16+
{
17+
namespace Json
18+
{
19+
class JsonValue;
20+
class JsonView;
21+
} // namespace Json
22+
} // namespace Utils
23+
namespace DataZone
24+
{
25+
namespace Model
26+
{
27+
28+
/**
29+
* <p>The aggregation for an attribute.</p><p><h3>See Also:</h3> <a
30+
* href="http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/AggregationOutput">AWS
31+
* API Reference</a></p>
32+
*/
33+
class AggregationOutput
34+
{
35+
public:
36+
AWS_DATAZONE_API AggregationOutput() = default;
37+
AWS_DATAZONE_API AggregationOutput(Aws::Utils::Json::JsonView jsonValue);
38+
AWS_DATAZONE_API AggregationOutput& operator=(Aws::Utils::Json::JsonView jsonValue);
39+
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
40+
41+
42+
///@{
43+
/**
44+
* <p>The attribute for this aggregation.</p>
45+
*/
46+
inline const Aws::String& GetAttribute() const { return m_attribute; }
47+
inline bool AttributeHasBeenSet() const { return m_attributeHasBeenSet; }
48+
template<typename AttributeT = Aws::String>
49+
void SetAttribute(AttributeT&& value) { m_attributeHasBeenSet = true; m_attribute = std::forward<AttributeT>(value); }
50+
template<typename AttributeT = Aws::String>
51+
AggregationOutput& WithAttribute(AttributeT&& value) { SetAttribute(std::forward<AttributeT>(value)); return *this;}
52+
///@}
53+
54+
///@{
55+
/**
56+
* <p>The display value of the aggregation output item.</p>
57+
*/
58+
inline const Aws::String& GetDisplayValue() const { return m_displayValue; }
59+
inline bool DisplayValueHasBeenSet() const { return m_displayValueHasBeenSet; }
60+
template<typename DisplayValueT = Aws::String>
61+
void SetDisplayValue(DisplayValueT&& value) { m_displayValueHasBeenSet = true; m_displayValue = std::forward<DisplayValueT>(value); }
62+
template<typename DisplayValueT = Aws::String>
63+
AggregationOutput& WithDisplayValue(DisplayValueT&& value) { SetDisplayValue(std::forward<DisplayValueT>(value)); return *this;}
64+
///@}
65+
66+
///@{
67+
/**
68+
* <p>A list of aggregation output items.</p>
69+
*/
70+
inline const Aws::Vector<AggregationOutputItem>& GetItems() const { return m_items; }
71+
inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; }
72+
template<typename ItemsT = Aws::Vector<AggregationOutputItem>>
73+
void SetItems(ItemsT&& value) { m_itemsHasBeenSet = true; m_items = std::forward<ItemsT>(value); }
74+
template<typename ItemsT = Aws::Vector<AggregationOutputItem>>
75+
AggregationOutput& WithItems(ItemsT&& value) { SetItems(std::forward<ItemsT>(value)); return *this;}
76+
template<typename ItemsT = AggregationOutputItem>
77+
AggregationOutput& AddItems(ItemsT&& value) { m_itemsHasBeenSet = true; m_items.emplace_back(std::forward<ItemsT>(value)); return *this; }
78+
///@}
79+
private:
80+
81+
Aws::String m_attribute;
82+
bool m_attributeHasBeenSet = false;
83+
84+
Aws::String m_displayValue;
85+
bool m_displayValueHasBeenSet = false;
86+
87+
Aws::Vector<AggregationOutputItem> m_items;
88+
bool m_itemsHasBeenSet = false;
89+
};
90+
91+
} // namespace Model
92+
} // namespace DataZone
93+
} // namespace Aws
Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
/**
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
* SPDX-License-Identifier: Apache-2.0.
4+
*/
5+
6+
#pragma once
7+
#include <aws/datazone/DataZone_EXPORTS.h>
8+
#include <aws/core/utils/memory/stl/AWSString.h>
9+
#include <utility>
10+
11+
namespace Aws
12+
{
13+
namespace Utils
14+
{
15+
namespace Json
16+
{
17+
class JsonValue;
18+
class JsonView;
19+
} // namespace Json
20+
} // namespace Utils
21+
namespace DataZone
22+
{
23+
namespace Model
24+
{
25+
26+
/**
27+
* <p>An aggregation output item.</p><p><h3>See Also:</h3> <a
28+
* href="http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/AggregationOutputItem">AWS
29+
* API Reference</a></p>
30+
*/
31+
class AggregationOutputItem
32+
{
33+
public:
34+
AWS_DATAZONE_API AggregationOutputItem() = default;
35+
AWS_DATAZONE_API AggregationOutputItem(Aws::Utils::Json::JsonView jsonValue);
36+
AWS_DATAZONE_API AggregationOutputItem& operator=(Aws::Utils::Json::JsonView jsonValue);
37+
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
38+
39+
40+
///@{
41+
/**
42+
* <p>The count of the aggregation output item.</p>
43+
*/
44+
inline int GetCount() const { return m_count; }
45+
inline bool CountHasBeenSet() const { return m_countHasBeenSet; }
46+
inline void SetCount(int value) { m_countHasBeenSet = true; m_count = value; }
47+
inline AggregationOutputItem& WithCount(int value) { SetCount(value); return *this;}
48+
///@}
49+
50+
///@{
51+
/**
52+
* <p>The display value of the aggregation. If the attribute being aggregated
53+
* corresponds to the id of a public resource, the service automatically resolves
54+
* the id to the provided display value.</p>
55+
*/
56+
inline const Aws::String& GetDisplayValue() const { return m_displayValue; }
57+
inline bool DisplayValueHasBeenSet() const { return m_displayValueHasBeenSet; }
58+
template<typename DisplayValueT = Aws::String>
59+
void SetDisplayValue(DisplayValueT&& value) { m_displayValueHasBeenSet = true; m_displayValue = std::forward<DisplayValueT>(value); }
60+
template<typename DisplayValueT = Aws::String>
61+
AggregationOutputItem& WithDisplayValue(DisplayValueT&& value) { SetDisplayValue(std::forward<DisplayValueT>(value)); return *this;}
62+
///@}
63+
64+
///@{
65+
/**
66+
* <p>The attribute value of the aggregation output item.</p>
67+
*/
68+
inline const Aws::String& GetValue() const { return m_value; }
69+
inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
70+
template<typename ValueT = Aws::String>
71+
void SetValue(ValueT&& value) { m_valueHasBeenSet = true; m_value = std::forward<ValueT>(value); }
72+
template<typename ValueT = Aws::String>
73+
AggregationOutputItem& WithValue(ValueT&& value) { SetValue(std::forward<ValueT>(value)); return *this;}
74+
///@}
75+
private:
76+
77+
int m_count{0};
78+
bool m_countHasBeenSet = false;
79+
80+
Aws::String m_displayValue;
81+
bool m_displayValueHasBeenSet = false;
82+
83+
Aws::String m_value;
84+
bool m_valueHasBeenSet = false;
85+
};
86+
87+
} // namespace Model
88+
} // namespace DataZone
89+
} // namespace Aws

generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AssetItemAdditionalAttributes.h

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#include <aws/core/utils/memory/stl/AWSVector.h>
99
#include <aws/datazone/model/FormOutput.h>
1010
#include <aws/datazone/model/TimeSeriesDataPointSummaryFormOutput.h>
11+
#include <aws/datazone/model/MatchRationaleItem.h>
1112
#include <utility>
1213

1314
namespace Aws
@@ -69,6 +70,20 @@ namespace Model
6970
AssetItemAdditionalAttributes& AddLatestTimeSeriesDataPointFormsOutput(LatestTimeSeriesDataPointFormsOutputT&& value) { m_latestTimeSeriesDataPointFormsOutputHasBeenSet = true; m_latestTimeSeriesDataPointFormsOutput.emplace_back(std::forward<LatestTimeSeriesDataPointFormsOutputT>(value)); return *this; }
7071
///@}
7172

73+
///@{
74+
/**
75+
* <p>List of rationales indicating why this item was matched by search.</p>
76+
*/
77+
inline const Aws::Vector<MatchRationaleItem>& GetMatchRationale() const { return m_matchRationale; }
78+
inline bool MatchRationaleHasBeenSet() const { return m_matchRationaleHasBeenSet; }
79+
template<typename MatchRationaleT = Aws::Vector<MatchRationaleItem>>
80+
void SetMatchRationale(MatchRationaleT&& value) { m_matchRationaleHasBeenSet = true; m_matchRationale = std::forward<MatchRationaleT>(value); }
81+
template<typename MatchRationaleT = Aws::Vector<MatchRationaleItem>>
82+
AssetItemAdditionalAttributes& WithMatchRationale(MatchRationaleT&& value) { SetMatchRationale(std::forward<MatchRationaleT>(value)); return *this;}
83+
template<typename MatchRationaleT = MatchRationaleItem>
84+
AssetItemAdditionalAttributes& AddMatchRationale(MatchRationaleT&& value) { m_matchRationaleHasBeenSet = true; m_matchRationale.emplace_back(std::forward<MatchRationaleT>(value)); return *this; }
85+
///@}
86+
7287
///@{
7388
/**
7489
* <p>The read-only forms included in the additional attributes of an inventory
@@ -91,6 +106,9 @@ namespace Model
91106
Aws::Vector<TimeSeriesDataPointSummaryFormOutput> m_latestTimeSeriesDataPointFormsOutput;
92107
bool m_latestTimeSeriesDataPointFormsOutputHasBeenSet = false;
93108

109+
Aws::Vector<MatchRationaleItem> m_matchRationale;
110+
bool m_matchRationaleHasBeenSet = false;
111+
94112
Aws::Vector<FormOutput> m_readOnlyFormsOutput;
95113
bool m_readOnlyFormsOutputHasBeenSet = false;
96114
};

generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AssetListingItemAdditionalAttributes.h

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#include <aws/core/utils/memory/stl/AWSString.h>
99
#include <aws/core/utils/memory/stl/AWSVector.h>
1010
#include <aws/datazone/model/TimeSeriesDataPointSummaryFormOutput.h>
11+
#include <aws/datazone/model/MatchRationaleItem.h>
1112
#include <utility>
1213

1314
namespace Aws
@@ -65,13 +66,30 @@ namespace Model
6566
template<typename LatestTimeSeriesDataPointFormsT = TimeSeriesDataPointSummaryFormOutput>
6667
AssetListingItemAdditionalAttributes& AddLatestTimeSeriesDataPointForms(LatestTimeSeriesDataPointFormsT&& value) { m_latestTimeSeriesDataPointFormsHasBeenSet = true; m_latestTimeSeriesDataPointForms.emplace_back(std::forward<LatestTimeSeriesDataPointFormsT>(value)); return *this; }
6768
///@}
69+
70+
///@{
71+
/**
72+
* <p>List of rationales indicating why this item was matched by search.</p>
73+
*/
74+
inline const Aws::Vector<MatchRationaleItem>& GetMatchRationale() const { return m_matchRationale; }
75+
inline bool MatchRationaleHasBeenSet() const { return m_matchRationaleHasBeenSet; }
76+
template<typename MatchRationaleT = Aws::Vector<MatchRationaleItem>>
77+
void SetMatchRationale(MatchRationaleT&& value) { m_matchRationaleHasBeenSet = true; m_matchRationale = std::forward<MatchRationaleT>(value); }
78+
template<typename MatchRationaleT = Aws::Vector<MatchRationaleItem>>
79+
AssetListingItemAdditionalAttributes& WithMatchRationale(MatchRationaleT&& value) { SetMatchRationale(std::forward<MatchRationaleT>(value)); return *this;}
80+
template<typename MatchRationaleT = MatchRationaleItem>
81+
AssetListingItemAdditionalAttributes& AddMatchRationale(MatchRationaleT&& value) { m_matchRationaleHasBeenSet = true; m_matchRationale.emplace_back(std::forward<MatchRationaleT>(value)); return *this; }
82+
///@}
6883
private:
6984

7085
Aws::String m_forms;
7186
bool m_formsHasBeenSet = false;
7287

7388
Aws::Vector<TimeSeriesDataPointSummaryFormOutput> m_latestTimeSeriesDataPointForms;
7489
bool m_latestTimeSeriesDataPointFormsHasBeenSet = false;
90+
91+
Aws::Vector<MatchRationaleItem> m_matchRationale;
92+
bool m_matchRationaleHasBeenSet = false;
7593
};
7694

7795
} // namespace Model

generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateAssetRequest.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,9 @@ namespace Model
7575

7676
///@{
7777
/**
78-
* <p>The external identifier of the asset.</p>
78+
* <p>The external identifier of the asset.</p> <p>If the value for the
79+
* <code>externalIdentifier</code> parameter is specified, it must be a unique
80+
* value.</p>
7981
*/
8082
inline const Aws::String& GetExternalIdentifier() const { return m_externalIdentifier; }
8183
inline bool ExternalIdentifierHasBeenSet() const { return m_externalIdentifierHasBeenSet; }

0 commit comments

Comments
 (0)