AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetGroups(const Aws::Vector<Aws::String>& value) { m_groupsHasBeenSet = true; m_groups = value; }
54 inline void SetGroups(Aws::Vector<Aws::String>&& value) { m_groupsHasBeenSet = true; m_groups = std::move(value); }
55 inline OidcMemberDefinition& WithGroups(const Aws::Vector<Aws::String>& value) { SetGroups(value); return *this;}
56 inline OidcMemberDefinition& WithGroups(Aws::Vector<Aws::String>&& value) { SetGroups(std::move(value)); return *this;}
57 inline OidcMemberDefinition& AddGroups(const Aws::String& value) { m_groupsHasBeenSet = true; m_groups.push_back(value); return *this; }
58 inline OidcMemberDefinition& AddGroups(Aws::String&& value) { m_groupsHasBeenSet = true; m_groups.push_back(std::move(value)); return *this; }
59 inline OidcMemberDefinition& AddGroups(const char* value) { m_groupsHasBeenSet = true; m_groups.push_back(value); return *this; }
61 private:
62
64 bool m_groupsHasBeenSet = false;
65 };
66
67} // namespace Model
68} // namespace SageMaker
69} // namespace Aws
const Aws::Vector< Aws::String > & GetGroups() const
OidcMemberDefinition & WithGroups(const Aws::Vector< Aws::String > &value)
AWS_SAGEMAKER_API OidcMemberDefinition(Aws::Utils::Json::JsonView jsonValue)
OidcMemberDefinition & AddGroups(const Aws::String &value)
OidcMemberDefinition & WithGroups(Aws::Vector< Aws::String > &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetGroups(Aws::Vector< Aws::String > &&value)
void SetGroups(const Aws::Vector< Aws::String > &value)
AWS_SAGEMAKER_API OidcMemberDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
OidcMemberDefinition & AddGroups(Aws::String &&value)
OidcMemberDefinition & AddGroups(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue