From 22fc0b5f94e815febd5ae2d5ed0953832d6ec71c Mon Sep 17 00:00:00 2001
From: aws-sdk-cpp-automation Searches AgentStatuses in an Amazon Connect instance, with optional
+ * filtering.See Also:
AWS
+ * API Reference
Searches for available phone numbers that you can claim to your Amazon * Connect instance or traffic distribution group. If the provided @@ -5295,6 +5321,35 @@ namespace Connect return SubmitAsync(&ConnectClient::SearchSecurityProfiles, request, handler, context); } + /** + *
Searches UserHierarchyGroups in an Amazon Connect instance, with optional + * filtering.
The UserHierarchyGroup with "LevelId":
+ * "0"
is the foundation for building levels on top of an instance. It is
+ * not user-definable, nor is it visible in the UI.
Searches users in an Amazon Connect instance, with optional filtering.
* The search criteria to be used to return agent statuses.AfterContactWorkTimeLimit
is returned in milliseconds.
diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/ConnectServiceClientModel.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/ConnectServiceClientModel.h
index e1895b6df31..c50dbf71365 100644
--- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/ConnectServiceClientModel.h
+++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/ConnectServiceClientModel.h
@@ -155,6 +155,7 @@
#include See
+ * Also:
AWS
+ * API Reference
A list of conditions which would be applied together with an OR
+ * condition.
A leaf node condition which can be used to specify a string condition.
+ *The currently supported values for FieldName
are
+ * name
,
description
, state
,
+ * type
, displayOrder
,
and
+ * resourceID
.
A leaf node condition which can be used to specify a string condition.
+ *The currently supported values for FieldName
are
+ * name
,
description
, state
,
+ * type
, displayOrder
,
and
+ * resourceID
.
Filters to be applied to search results.
An object that can be used to specify Tag conditions inside the
+ * SearchFilter
. This accepts an OR
of AND
+ * (List of List) input where:
The top level list specifies
+ * conditions that need to be applied with OR
operator.
The inner list specifies conditions that need to be applied with
+ * AND
operator.
A list of conditions which would be applied together with an AND
+ * condition.
A leaf node condition which can be used to specify a tag condition.
+ */ + inline const Aws::VectorA leaf node condition which can be used to specify a ProficiencyName, + * ProficiencyValue and ProficiencyLimit.
A leaf node condition which can be used to specify a string condition.
+ *The currently supported values for FieldName
are
+ * name
and
value
.
A leaf node condition which can be used to specify a numeric condition.
+ */ + inline const NumberCondition& GetNumberCondition() const{ return m_numberCondition; } + inline bool NumberConditionHasBeenSet() const { return m_numberConditionHasBeenSet; } + inline void SetNumberCondition(const NumberCondition& value) { m_numberConditionHasBeenSet = true; m_numberCondition = value; } + inline void SetNumberCondition(NumberCondition&& value) { m_numberConditionHasBeenSet = true; m_numberCondition = std::move(value); } + inline Condition& WithNumberCondition(const NumberCondition& value) { SetNumberCondition(value); return *this;} + inline Condition& WithNumberCondition(NumberCondition&& value) { SetNumberCondition(std::move(value)); return *this;} + ///@} + private: + + StringCondition m_stringCondition; + bool m_stringConditionHasBeenSet = false; + + NumberCondition m_numberCondition; + bool m_numberConditionHasBeenSet = false; + }; + +} // namespace Model +} // namespace Connect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ControlPlaneAttributeFilter.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ControlPlaneAttributeFilter.h new file mode 100644 index 00000000000..5a0a140cf88 --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ControlPlaneAttributeFilter.h @@ -0,0 +1,98 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeAn object that can be used to specify Tag conditions inside the
+ * SearchFilter
. This accepts an OR
or AND
+ * (List of List) input where:
The top level list specifies
+ * conditions that need to be applied with OR
operator.
The inner list specifies conditions that need to be applied with
+ * AND
operator.
A list of conditions which would be applied together with an OR
+ * condition.
A list of conditions which would be applied together with an AND
+ * condition.
Threshold: For ThresholdValue
, enter any whole number from 1 to
* 604800 (inclusive), in seconds. For Comparison
, you must enter
- * LT
(for "Less than").
UI name: This metric is not available - * in Amazon Connect admin website.
Unit: Count
Valid groupings and filters: Queue, Channel, Routing
+ * LT
(for "Less than").
Unit: Count
Valid groupings and filters: Queue, Channel, Routing * Profile, contact/segmentAttributes/connect:Subtype, Q in Connect
*Threshold: For A leaf node condition which can be used to specify a List condition to search
+ * users with attributes included in Lists like Proficiencies.ThresholdValue
enter any whole number from 1 to
* 604800 (inclusive), in seconds. For Comparison
, you must enter
diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ListCondition.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ListCondition.h
new file mode 100644
index 00000000000..b3426a3770e
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ListCondition.h
@@ -0,0 +1,81 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include See
+ * Also:
AWS
+ * API Reference
The type of target list that will be used to filter the users.
+ */ + inline const TargetListType& GetTargetListType() const{ return m_targetListType; } + inline bool TargetListTypeHasBeenSet() const { return m_targetListTypeHasBeenSet; } + inline void SetTargetListType(const TargetListType& value) { m_targetListTypeHasBeenSet = true; m_targetListType = value; } + inline void SetTargetListType(TargetListType&& value) { m_targetListTypeHasBeenSet = true; m_targetListType = std::move(value); } + inline ListCondition& WithTargetListType(const TargetListType& value) { SetTargetListType(value); return *this;} + inline ListCondition& WithTargetListType(TargetListType&& value) { SetTargetListType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *A list of Condition objects which would be applied together with an AND + * condition.
+ */ + inline const Aws::VectorA leaf node condition which can be used to specify a numeric condition.
+ *The currently supported value for FieldName
is
+ * limit
.
The name of the field in the number condition.
+ */ + inline const Aws::String& GetFieldName() const{ return m_fieldName; } + inline bool FieldNameHasBeenSet() const { return m_fieldNameHasBeenSet; } + inline void SetFieldName(const Aws::String& value) { m_fieldNameHasBeenSet = true; m_fieldName = value; } + inline void SetFieldName(Aws::String&& value) { m_fieldNameHasBeenSet = true; m_fieldName = std::move(value); } + inline void SetFieldName(const char* value) { m_fieldNameHasBeenSet = true; m_fieldName.assign(value); } + inline NumberCondition& WithFieldName(const Aws::String& value) { SetFieldName(value); return *this;} + inline NumberCondition& WithFieldName(Aws::String&& value) { SetFieldName(std::move(value)); return *this;} + inline NumberCondition& WithFieldName(const char* value) { SetFieldName(value); return *this;} + ///@} + + ///@{ + /** + *The minValue to be used while evaluating the number condition.
+ */ + inline int GetMinValue() const{ return m_minValue; } + inline bool MinValueHasBeenSet() const { return m_minValueHasBeenSet; } + inline void SetMinValue(int value) { m_minValueHasBeenSet = true; m_minValue = value; } + inline NumberCondition& WithMinValue(int value) { SetMinValue(value); return *this;} + ///@} + + ///@{ + /** + *The maxValue to be used while evaluating the number condition.
+ */ + inline int GetMaxValue() const{ return m_maxValue; } + inline bool MaxValueHasBeenSet() const { return m_maxValueHasBeenSet; } + inline void SetMaxValue(int value) { m_maxValueHasBeenSet = true; m_maxValue = value; } + inline NumberCondition& WithMaxValue(int value) { SetMaxValue(value); return *this;} + ///@} + + ///@{ + /** + *The type of comparison to be made when evaluating the number condition.
+ */ + inline const NumberComparisonType& GetComparisonType() const{ return m_comparisonType; } + inline bool ComparisonTypeHasBeenSet() const { return m_comparisonTypeHasBeenSet; } + inline void SetComparisonType(const NumberComparisonType& value) { m_comparisonTypeHasBeenSet = true; m_comparisonType = value; } + inline void SetComparisonType(NumberComparisonType&& value) { m_comparisonTypeHasBeenSet = true; m_comparisonType = std::move(value); } + inline NumberCondition& WithComparisonType(const NumberComparisonType& value) { SetComparisonType(value); return *this;} + inline NumberCondition& WithComparisonType(NumberComparisonType&& value) { SetComparisonType(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_fieldName; + bool m_fieldNameHasBeenSet = false; + + int m_minValue; + bool m_minValueHasBeenSet = false; + + int m_maxValue; + bool m_maxValueHasBeenSet = false; + + NumberComparisonType m_comparisonType; + bool m_comparisonTypeHasBeenSet = false; + }; + +} // namespace Model +} // namespace Connect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchAgentStatusesRequest.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchAgentStatusesRequest.h new file mode 100644 index 00000000000..032d0b13763 --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchAgentStatusesRequest.h @@ -0,0 +1,120 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeThe identifier of the Amazon Connect instance. You can find the instanceId in + * the ARN of the instance.
+ */ + inline const Aws::String& GetInstanceId() const{ return m_instanceId; } + inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; } + inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; } + inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); } + inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); } + inline SearchAgentStatusesRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;} + inline SearchAgentStatusesRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;} + inline SearchAgentStatusesRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;} + ///@} + + ///@{ + /** + *The token for the next set of results. Use the value returned in the previous + * response in the next request to retrieve the next set of results.
+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + inline SearchAgentStatusesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline SearchAgentStatusesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline SearchAgentStatusesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + ///@} + + ///@{ + /** + *The maximum number of results to return per page.
+ */ + inline int GetMaxResults() const{ return m_maxResults; } + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + inline SearchAgentStatusesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + ///@} + + ///@{ + /** + *Filters to be applied to search results.
+ */ + inline const AgentStatusSearchFilter& GetSearchFilter() const{ return m_searchFilter; } + inline bool SearchFilterHasBeenSet() const { return m_searchFilterHasBeenSet; } + inline void SetSearchFilter(const AgentStatusSearchFilter& value) { m_searchFilterHasBeenSet = true; m_searchFilter = value; } + inline void SetSearchFilter(AgentStatusSearchFilter&& value) { m_searchFilterHasBeenSet = true; m_searchFilter = std::move(value); } + inline SearchAgentStatusesRequest& WithSearchFilter(const AgentStatusSearchFilter& value) { SetSearchFilter(value); return *this;} + inline SearchAgentStatusesRequest& WithSearchFilter(AgentStatusSearchFilter&& value) { SetSearchFilter(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *The search criteria to be used to return agent statuses.
+ */ + inline const AgentStatusSearchCriteria& GetSearchCriteria() const{ return m_searchCriteria; } + inline bool SearchCriteriaHasBeenSet() const { return m_searchCriteriaHasBeenSet; } + inline void SetSearchCriteria(const AgentStatusSearchCriteria& value) { m_searchCriteriaHasBeenSet = true; m_searchCriteria = value; } + inline void SetSearchCriteria(AgentStatusSearchCriteria&& value) { m_searchCriteriaHasBeenSet = true; m_searchCriteria = std::move(value); } + inline SearchAgentStatusesRequest& WithSearchCriteria(const AgentStatusSearchCriteria& value) { SetSearchCriteria(value); return *this;} + inline SearchAgentStatusesRequest& WithSearchCriteria(AgentStatusSearchCriteria&& value) { SetSearchCriteria(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_instanceId; + bool m_instanceIdHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + AgentStatusSearchFilter m_searchFilter; + bool m_searchFilterHasBeenSet = false; + + AgentStatusSearchCriteria m_searchCriteria; + bool m_searchCriteriaHasBeenSet = false; + }; + +} // namespace Model +} // namespace Connect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchAgentStatusesResult.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchAgentStatusesResult.h new file mode 100644 index 00000000000..28bdf8c188b --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchAgentStatusesResult.h @@ -0,0 +1,96 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeThe search criteria to be used to return agent statuses.
+ */ + inline const Aws::VectorIf there are additional results, this is the token for the next set of + * results.
+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + inline SearchAgentStatusesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline SearchAgentStatusesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline SearchAgentStatusesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + ///@} + + ///@{ + /** + *The total number of agent statuses which matched your search query.
+ */ + inline long long GetApproximateTotalCount() const{ return m_approximateTotalCount; } + inline void SetApproximateTotalCount(long long value) { m_approximateTotalCount = value; } + inline SearchAgentStatusesResult& WithApproximateTotalCount(long long value) { SetApproximateTotalCount(value); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline SearchAgentStatusesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline SearchAgentStatusesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline SearchAgentStatusesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::VectorThe list of resource types to be used to search tags from. If not provided or * if any empty list is provided, this API will search from all supported resource - * types.
+ * types.Supported resource types
AGENT
ROUTING_PROFILE
STANDARD_QUEUE
+ *SECURITY_PROFILE
OPERATING_HOURS
PROMPT
CONTACT_FLOW
FLOW_MODULE
The identifier of the Amazon Connect instance. You can find the instanceId in + * the ARN of the instance.
+ */ + inline const Aws::String& GetInstanceId() const{ return m_instanceId; } + inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; } + inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; } + inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); } + inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); } + inline SearchUserHierarchyGroupsRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;} + inline SearchUserHierarchyGroupsRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;} + inline SearchUserHierarchyGroupsRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;} + ///@} + + ///@{ + /** + *The token for the next set of results. Use the value returned in the previous + * response in the next request to retrieve the next set of results.
+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + inline SearchUserHierarchyGroupsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline SearchUserHierarchyGroupsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline SearchUserHierarchyGroupsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + ///@} + + ///@{ + /** + *The maximum number of results to return per page.
+ */ + inline int GetMaxResults() const{ return m_maxResults; } + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + inline SearchUserHierarchyGroupsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + ///@} + + ///@{ + /** + *Filters to be applied to search results.
+ */ + inline const UserHierarchyGroupSearchFilter& GetSearchFilter() const{ return m_searchFilter; } + inline bool SearchFilterHasBeenSet() const { return m_searchFilterHasBeenSet; } + inline void SetSearchFilter(const UserHierarchyGroupSearchFilter& value) { m_searchFilterHasBeenSet = true; m_searchFilter = value; } + inline void SetSearchFilter(UserHierarchyGroupSearchFilter&& value) { m_searchFilterHasBeenSet = true; m_searchFilter = std::move(value); } + inline SearchUserHierarchyGroupsRequest& WithSearchFilter(const UserHierarchyGroupSearchFilter& value) { SetSearchFilter(value); return *this;} + inline SearchUserHierarchyGroupsRequest& WithSearchFilter(UserHierarchyGroupSearchFilter&& value) { SetSearchFilter(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *The search criteria to be used to return UserHierarchyGroups.
+ */ + inline const UserHierarchyGroupSearchCriteria& GetSearchCriteria() const{ return m_searchCriteria; } + inline bool SearchCriteriaHasBeenSet() const { return m_searchCriteriaHasBeenSet; } + inline void SetSearchCriteria(const UserHierarchyGroupSearchCriteria& value) { m_searchCriteriaHasBeenSet = true; m_searchCriteria = value; } + inline void SetSearchCriteria(UserHierarchyGroupSearchCriteria&& value) { m_searchCriteriaHasBeenSet = true; m_searchCriteria = std::move(value); } + inline SearchUserHierarchyGroupsRequest& WithSearchCriteria(const UserHierarchyGroupSearchCriteria& value) { SetSearchCriteria(value); return *this;} + inline SearchUserHierarchyGroupsRequest& WithSearchCriteria(UserHierarchyGroupSearchCriteria&& value) { SetSearchCriteria(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_instanceId; + bool m_instanceIdHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + UserHierarchyGroupSearchFilter m_searchFilter; + bool m_searchFilterHasBeenSet = false; + + UserHierarchyGroupSearchCriteria m_searchCriteria; + bool m_searchCriteriaHasBeenSet = false; + }; + +} // namespace Model +} // namespace Connect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchUserHierarchyGroupsResult.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchUserHierarchyGroupsResult.h new file mode 100644 index 00000000000..44b42edbad7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchUserHierarchyGroupsResult.h @@ -0,0 +1,96 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeInformation about the userHierarchyGroups.
+ */ + inline const Aws::VectorIf there are additional results, this is the token for the next set of + * results.
+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + inline SearchUserHierarchyGroupsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline SearchUserHierarchyGroupsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline SearchUserHierarchyGroupsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + ///@} + + ///@{ + /** + *The total number of userHierarchyGroups which matched your search query.
+ */ + inline long long GetApproximateTotalCount() const{ return m_approximateTotalCount; } + inline void SetApproximateTotalCount(long long value) { m_approximateTotalCount = value; } + inline SearchUserHierarchyGroupsResult& WithApproximateTotalCount(long long value) { SetApproximateTotalCount(value); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline SearchUserHierarchyGroupsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline SearchUserHierarchyGroupsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline SearchUserHierarchyGroupsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::VectorA leaf node condition which can be used to specify a string condition.
- *The currently supported values for FieldName
are
- * name
and description
.
The search criteria to be used to return userHierarchyGroup.
A list of conditions which would be applied together with an OR + * condition.
+ */ + inline const Aws::VectorA list of conditions which would be applied together with an AND + * condition.
+ */ + inline const Aws::VectorA leaf node condition which can be used to specify a string condition.
+ *The currently supported values for FieldName
are
+ * name
,
parentId
, levelId
,
+ * and resourceID
.
Filters to be applied to search results.
An object that can be used to specify Tag conditions inside the SearchFilter. + * This accepts an OR or AND (List of List) input where:
The top
+ * level list specifies conditions that need to be applied with OR
+ * operator.
The inner list specifies conditions that need to be
+ * applied with AND
operator.
A leaf node condition which can be used to specify a List condition to search + * users with attributes included in Lists like Proficiencies.
+ */ + inline const ListCondition& GetListCondition() const{ return m_listCondition; } + inline bool ListConditionHasBeenSet() const { return m_listConditionHasBeenSet; } + inline void SetListCondition(const ListCondition& value) { m_listConditionHasBeenSet = true; m_listCondition = value; } + inline void SetListCondition(ListCondition&& value) { m_listConditionHasBeenSet = true; m_listCondition = std::move(value); } + inline UserSearchCriteria& WithListCondition(const ListCondition& value) { SetListCondition(value); return *this;} + inline UserSearchCriteria& WithListCondition(ListCondition&& value) { SetListCondition(std::move(value)); return *this;} + ///@} + ///@{ /** *A leaf node condition which can be used to specify a hierarchy group
@@ -112,6 +126,9 @@ namespace Model
StringCondition m_stringCondition;
bool m_stringConditionHasBeenSet = false;
+ ListCondition m_listCondition;
+ bool m_listConditionHasBeenSet = false;
+
HierarchyGroupCondition m_hierarchyGroupCondition;
bool m_hierarchyGroupConditionHasBeenSet = false;
};
diff --git a/generated/src/aws-cpp-sdk-connect/source/ConnectClient1.cpp b/generated/src/aws-cpp-sdk-connect/source/ConnectClient1.cpp
index 446a797da49..89b9c018699 100644
--- a/generated/src/aws-cpp-sdk-connect/source/ConnectClient1.cpp
+++ b/generated/src/aws-cpp-sdk-connect/source/ConnectClient1.cpp
@@ -53,13 +53,13 @@
#include