AWS SDK for C++  1.9.158
AWS SDK for C++
OidcMemberDefinition.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace SageMaker
23 {
24 namespace Model
25 {
26 
38  {
39  public:
44 
45 
50  inline const Aws::Vector<Aws::String>& GetGroups() const{ return m_groups; }
51 
56  inline bool GroupsHasBeenSet() const { return m_groupsHasBeenSet; }
57 
62  inline void SetGroups(const Aws::Vector<Aws::String>& value) { m_groupsHasBeenSet = true; m_groups = value; }
63 
68  inline void SetGroups(Aws::Vector<Aws::String>&& value) { m_groupsHasBeenSet = true; m_groups = std::move(value); }
69 
74  inline OidcMemberDefinition& WithGroups(const Aws::Vector<Aws::String>& value) { SetGroups(value); return *this;}
75 
80  inline OidcMemberDefinition& WithGroups(Aws::Vector<Aws::String>&& value) { SetGroups(std::move(value)); return *this;}
81 
86  inline OidcMemberDefinition& AddGroups(const Aws::String& value) { m_groupsHasBeenSet = true; m_groups.push_back(value); return *this; }
87 
92  inline OidcMemberDefinition& AddGroups(Aws::String&& value) { m_groupsHasBeenSet = true; m_groups.push_back(std::move(value)); return *this; }
93 
98  inline OidcMemberDefinition& AddGroups(const char* value) { m_groupsHasBeenSet = true; m_groups.push_back(value); return *this; }
99 
100  private:
101 
102  Aws::Vector<Aws::String> m_groups;
103  bool m_groupsHasBeenSet;
104  };
105 
106 } // namespace Model
107 } // namespace SageMaker
108 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::OidcMemberDefinition::WithGroups
OidcMemberDefinition & WithGroups(Aws::Vector< Aws::String > &&value)
Definition: OidcMemberDefinition.h:80
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::SageMaker::Model::OidcMemberDefinition::OidcMemberDefinition
OidcMemberDefinition()
Aws::SageMaker::Model::OidcMemberDefinition::OidcMemberDefinition
OidcMemberDefinition(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::OidcMemberDefinition::AddGroups
OidcMemberDefinition & AddGroups(const char *value)
Definition: OidcMemberDefinition.h:98
Aws::SageMaker::Model::OidcMemberDefinition::AddGroups
OidcMemberDefinition & AddGroups(Aws::String &&value)
Definition: OidcMemberDefinition.h:92
Aws::SageMaker::Model::OidcMemberDefinition::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::OidcMemberDefinition::AddGroups
OidcMemberDefinition & AddGroups(const Aws::String &value)
Definition: OidcMemberDefinition.h:86
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::OidcMemberDefinition::GetGroups
const Aws::Vector< Aws::String > & GetGroups() const
Definition: OidcMemberDefinition.h:50
Aws::SageMaker::Model::OidcMemberDefinition::operator=
OidcMemberDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::OidcMemberDefinition::SetGroups
void SetGroups(Aws::Vector< Aws::String > &&value)
Definition: OidcMemberDefinition.h:68
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::OidcMemberDefinition
Definition: OidcMemberDefinition.h:38
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::OidcMemberDefinition::SetGroups
void SetGroups(const Aws::Vector< Aws::String > &value)
Definition: OidcMemberDefinition.h:62
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::OidcMemberDefinition::GroupsHasBeenSet
bool GroupsHasBeenSet() const
Definition: OidcMemberDefinition.h:56
Aws::SageMaker::Model::OidcMemberDefinition::WithGroups
OidcMemberDefinition & WithGroups(const Aws::Vector< Aws::String > &value)
Definition: OidcMemberDefinition.h:74