AWS SDK for C++  1.9.153
AWS SDK for C++
MemberDefinition.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 
34  {
35  public:
40 
41 
45  inline const CognitoMemberDefinition& GetCognitoMemberDefinition() const{ return m_cognitoMemberDefinition; }
46 
50  inline bool CognitoMemberDefinitionHasBeenSet() const { return m_cognitoMemberDefinitionHasBeenSet; }
51 
55  inline void SetCognitoMemberDefinition(const CognitoMemberDefinition& value) { m_cognitoMemberDefinitionHasBeenSet = true; m_cognitoMemberDefinition = value; }
56 
60  inline void SetCognitoMemberDefinition(CognitoMemberDefinition&& value) { m_cognitoMemberDefinitionHasBeenSet = true; m_cognitoMemberDefinition = std::move(value); }
61 
65  inline MemberDefinition& WithCognitoMemberDefinition(const CognitoMemberDefinition& value) { SetCognitoMemberDefinition(value); return *this;}
66 
70  inline MemberDefinition& WithCognitoMemberDefinition(CognitoMemberDefinition&& value) { SetCognitoMemberDefinition(std::move(value)); return *this;}
71 
72 
80  inline const OidcMemberDefinition& GetOidcMemberDefinition() const{ return m_oidcMemberDefinition; }
81 
89  inline bool OidcMemberDefinitionHasBeenSet() const { return m_oidcMemberDefinitionHasBeenSet; }
90 
98  inline void SetOidcMemberDefinition(const OidcMemberDefinition& value) { m_oidcMemberDefinitionHasBeenSet = true; m_oidcMemberDefinition = value; }
99 
107  inline void SetOidcMemberDefinition(OidcMemberDefinition&& value) { m_oidcMemberDefinitionHasBeenSet = true; m_oidcMemberDefinition = std::move(value); }
108 
116  inline MemberDefinition& WithOidcMemberDefinition(const OidcMemberDefinition& value) { SetOidcMemberDefinition(value); return *this;}
117 
125  inline MemberDefinition& WithOidcMemberDefinition(OidcMemberDefinition&& value) { SetOidcMemberDefinition(std::move(value)); return *this;}
126 
127  private:
128 
129  CognitoMemberDefinition m_cognitoMemberDefinition;
130  bool m_cognitoMemberDefinitionHasBeenSet;
131 
132  OidcMemberDefinition m_oidcMemberDefinition;
133  bool m_oidcMemberDefinitionHasBeenSet;
134  };
135 
136 } // namespace Model
137 } // namespace SageMaker
138 } // namespace Aws
OidcMemberDefinition.h
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::MemberDefinition::WithOidcMemberDefinition
MemberDefinition & WithOidcMemberDefinition(OidcMemberDefinition &&value)
Definition: MemberDefinition.h:125
Aws::SageMaker::Model::CognitoMemberDefinition
Definition: CognitoMemberDefinition.h:33
SageMaker_EXPORTS.h
Aws::SageMaker::Model::MemberDefinition::operator=
MemberDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::MemberDefinition::SetOidcMemberDefinition
void SetOidcMemberDefinition(const OidcMemberDefinition &value)
Definition: MemberDefinition.h:98
Aws::SageMaker::Model::MemberDefinition::MemberDefinition
MemberDefinition()
Aws::SageMaker::Model::MemberDefinition::SetCognitoMemberDefinition
void SetCognitoMemberDefinition(const CognitoMemberDefinition &value)
Definition: MemberDefinition.h:55
Aws::SageMaker::Model::MemberDefinition::MemberDefinition
MemberDefinition(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::MemberDefinition::SetOidcMemberDefinition
void SetOidcMemberDefinition(OidcMemberDefinition &&value)
Definition: MemberDefinition.h:107
Aws::SageMaker::Model::MemberDefinition::SetCognitoMemberDefinition
void SetCognitoMemberDefinition(CognitoMemberDefinition &&value)
Definition: MemberDefinition.h:60
Aws::SageMaker::Model::MemberDefinition::GetOidcMemberDefinition
const OidcMemberDefinition & GetOidcMemberDefinition() const
Definition: MemberDefinition.h:80
Aws::SageMaker::Model::MemberDefinition
Definition: MemberDefinition.h:34
Aws::SageMaker::Model::MemberDefinition::OidcMemberDefinitionHasBeenSet
bool OidcMemberDefinitionHasBeenSet() const
Definition: MemberDefinition.h:89
Aws::SageMaker::Model::MemberDefinition::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::MemberDefinition::WithOidcMemberDefinition
MemberDefinition & WithOidcMemberDefinition(const OidcMemberDefinition &value)
Definition: MemberDefinition.h:116
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
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
CognitoMemberDefinition.h
Aws::SageMaker::Model::MemberDefinition::WithCognitoMemberDefinition
MemberDefinition & WithCognitoMemberDefinition(CognitoMemberDefinition &&value)
Definition: MemberDefinition.h:70
Aws::SageMaker::Model::MemberDefinition::WithCognitoMemberDefinition
MemberDefinition & WithCognitoMemberDefinition(const CognitoMemberDefinition &value)
Definition: MemberDefinition.h:65
Aws::SageMaker::Model::MemberDefinition::GetCognitoMemberDefinition
const CognitoMemberDefinition & GetCognitoMemberDefinition() const
Definition: MemberDefinition.h:45
Aws::SageMaker::Model::MemberDefinition::CognitoMemberDefinitionHasBeenSet
bool CognitoMemberDefinitionHasBeenSet() const
Definition: MemberDefinition.h:50