AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
OidcMemberDefinition.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SageMaker
23{
24namespace Model
25{
26
38 {
39 public:
40 AWS_SAGEMAKER_API OidcMemberDefinition() = default;
43 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline const Aws::Vector<Aws::String>& GetGroups() const { return m_groups; }
52 inline bool GroupsHasBeenSet() const { return m_groupsHasBeenSet; }
53 template<typename GroupsT = Aws::Vector<Aws::String>>
54 void SetGroups(GroupsT&& value) { m_groupsHasBeenSet = true; m_groups = std::forward<GroupsT>(value); }
55 template<typename GroupsT = Aws::Vector<Aws::String>>
56 OidcMemberDefinition& WithGroups(GroupsT&& value) { SetGroups(std::forward<GroupsT>(value)); return *this;}
57 template<typename GroupsT = Aws::String>
58 OidcMemberDefinition& AddGroups(GroupsT&& value) { m_groupsHasBeenSet = true; m_groups.emplace_back(std::forward<GroupsT>(value)); return *this; }
60 private:
61
63 bool m_groupsHasBeenSet = false;
64 };
65
66} // namespace Model
67} // namespace SageMaker
68} // namespace Aws
const Aws::Vector< Aws::String > & GetGroups() const
AWS_SAGEMAKER_API OidcMemberDefinition()=default
AWS_SAGEMAKER_API OidcMemberDefinition(Aws::Utils::Json::JsonView jsonValue)
OidcMemberDefinition & WithGroups(GroupsT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API OidcMemberDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
OidcMemberDefinition & AddGroups(GroupsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue