AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MemberDefinition.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/CognitoMemberDefinition.h>
9#include <aws/sagemaker/model/OidcMemberDefinition.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
34 {
35 public:
36 AWS_SAGEMAKER_API MemberDefinition();
37 AWS_SAGEMAKER_API MemberDefinition(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const CognitoMemberDefinition& GetCognitoMemberDefinition() const{ return m_cognitoMemberDefinition; }
47 inline bool CognitoMemberDefinitionHasBeenSet() const { return m_cognitoMemberDefinitionHasBeenSet; }
48 inline void SetCognitoMemberDefinition(const CognitoMemberDefinition& value) { m_cognitoMemberDefinitionHasBeenSet = true; m_cognitoMemberDefinition = value; }
49 inline void SetCognitoMemberDefinition(CognitoMemberDefinition&& value) { m_cognitoMemberDefinitionHasBeenSet = true; m_cognitoMemberDefinition = std::move(value); }
53
55
62 inline const OidcMemberDefinition& GetOidcMemberDefinition() const{ return m_oidcMemberDefinition; }
63 inline bool OidcMemberDefinitionHasBeenSet() const { return m_oidcMemberDefinitionHasBeenSet; }
64 inline void SetOidcMemberDefinition(const OidcMemberDefinition& value) { m_oidcMemberDefinitionHasBeenSet = true; m_oidcMemberDefinition = value; }
65 inline void SetOidcMemberDefinition(OidcMemberDefinition&& value) { m_oidcMemberDefinitionHasBeenSet = true; m_oidcMemberDefinition = std::move(value); }
69 private:
70
71 CognitoMemberDefinition m_cognitoMemberDefinition;
72 bool m_cognitoMemberDefinitionHasBeenSet = false;
73
74 OidcMemberDefinition m_oidcMemberDefinition;
75 bool m_oidcMemberDefinitionHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace SageMaker
80} // namespace Aws
const OidcMemberDefinition & GetOidcMemberDefinition() const
AWS_SAGEMAKER_API MemberDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const CognitoMemberDefinition & GetCognitoMemberDefinition() const
void SetCognitoMemberDefinition(const CognitoMemberDefinition &value)
MemberDefinition & WithOidcMemberDefinition(const OidcMemberDefinition &value)
void SetCognitoMemberDefinition(CognitoMemberDefinition &&value)
AWS_SAGEMAKER_API MemberDefinition(Aws::Utils::Json::JsonView jsonValue)
MemberDefinition & WithCognitoMemberDefinition(CognitoMemberDefinition &&value)
MemberDefinition & WithCognitoMemberDefinition(const CognitoMemberDefinition &value)
void SetOidcMemberDefinition(OidcMemberDefinition &&value)
MemberDefinition & WithOidcMemberDefinition(OidcMemberDefinition &&value)
void SetOidcMemberDefinition(const OidcMemberDefinition &value)
Aws::Utils::Json::JsonValue JsonValue