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

A list of user groups that exist in your OIDC Identity Provider (IdP). One to * ten groups can be used to create a single private work team. When you add a user * group to the list of Groups, you can add that user group to one or * more private work teams. If you add a user group to a private work team, all * workers in that user group are added to the work team.

See Also:

* AWS * API Reference

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

A list of comma seperated strings that identifies user groups in your OIDC * IdP. Each user group is made up of a group of private workers.

*/ inline const Aws::Vector& GetGroups() const{ return m_groups; } /** *

A list of comma seperated strings that identifies user groups in your OIDC * IdP. Each user group is made up of a group of private workers.

*/ inline bool GroupsHasBeenSet() const { return m_groupsHasBeenSet; } /** *

A list of comma seperated strings that identifies user groups in your OIDC * IdP. Each user group is made up of a group of private workers.

*/ inline void SetGroups(const Aws::Vector& value) { m_groupsHasBeenSet = true; m_groups = value; } /** *

A list of comma seperated strings that identifies user groups in your OIDC * IdP. Each user group is made up of a group of private workers.

*/ inline void SetGroups(Aws::Vector&& value) { m_groupsHasBeenSet = true; m_groups = std::move(value); } /** *

A list of comma seperated strings that identifies user groups in your OIDC * IdP. Each user group is made up of a group of private workers.

*/ inline OidcMemberDefinition& WithGroups(const Aws::Vector& value) { SetGroups(value); return *this;} /** *

A list of comma seperated strings that identifies user groups in your OIDC * IdP. Each user group is made up of a group of private workers.

*/ inline OidcMemberDefinition& WithGroups(Aws::Vector&& value) { SetGroups(std::move(value)); return *this;} /** *

A list of comma seperated strings that identifies user groups in your OIDC * IdP. Each user group is made up of a group of private workers.

*/ inline OidcMemberDefinition& AddGroups(const Aws::String& value) { m_groupsHasBeenSet = true; m_groups.push_back(value); return *this; } /** *

A list of comma seperated strings that identifies user groups in your OIDC * IdP. Each user group is made up of a group of private workers.

*/ inline OidcMemberDefinition& AddGroups(Aws::String&& value) { m_groupsHasBeenSet = true; m_groups.push_back(std::move(value)); return *this; } /** *

A list of comma seperated strings that identifies user groups in your OIDC * IdP. Each user group is made up of a group of private workers.

*/ inline OidcMemberDefinition& AddGroups(const char* value) { m_groupsHasBeenSet = true; m_groups.push_back(value); return *this; } private: Aws::Vector m_groups; bool m_groupsHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws