AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
CognitoMemberDefinition.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SageMaker
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SAGEMAKER_API CognitoMemberDefinition() = default;
38 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetUserPool() const { return m_userPool; }
47 inline bool UserPoolHasBeenSet() const { return m_userPoolHasBeenSet; }
48 template<typename UserPoolT = Aws::String>
49 void SetUserPool(UserPoolT&& value) { m_userPoolHasBeenSet = true; m_userPool = std::forward<UserPoolT>(value); }
50 template<typename UserPoolT = Aws::String>
51 CognitoMemberDefinition& WithUserPool(UserPoolT&& value) { SetUserPool(std::forward<UserPoolT>(value)); return *this;}
53
55
58 inline const Aws::String& GetUserGroup() const { return m_userGroup; }
59 inline bool UserGroupHasBeenSet() const { return m_userGroupHasBeenSet; }
60 template<typename UserGroupT = Aws::String>
61 void SetUserGroup(UserGroupT&& value) { m_userGroupHasBeenSet = true; m_userGroup = std::forward<UserGroupT>(value); }
62 template<typename UserGroupT = Aws::String>
63 CognitoMemberDefinition& WithUserGroup(UserGroupT&& value) { SetUserGroup(std::forward<UserGroupT>(value)); return *this;}
65
67
71 inline const Aws::String& GetClientId() const { return m_clientId; }
72 inline bool ClientIdHasBeenSet() const { return m_clientIdHasBeenSet; }
73 template<typename ClientIdT = Aws::String>
74 void SetClientId(ClientIdT&& value) { m_clientIdHasBeenSet = true; m_clientId = std::forward<ClientIdT>(value); }
75 template<typename ClientIdT = Aws::String>
76 CognitoMemberDefinition& WithClientId(ClientIdT&& value) { SetClientId(std::forward<ClientIdT>(value)); return *this;}
78 private:
79
80 Aws::String m_userPool;
81 bool m_userPoolHasBeenSet = false;
82
83 Aws::String m_userGroup;
84 bool m_userGroupHasBeenSet = false;
85
86 Aws::String m_clientId;
87 bool m_clientIdHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace SageMaker
92} // namespace Aws
AWS_SAGEMAKER_API CognitoMemberDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
CognitoMemberDefinition & WithUserGroup(UserGroupT &&value)
AWS_SAGEMAKER_API CognitoMemberDefinition()=default
CognitoMemberDefinition & WithClientId(ClientIdT &&value)
AWS_SAGEMAKER_API CognitoMemberDefinition(Aws::Utils::Json::JsonView jsonValue)
CognitoMemberDefinition & WithUserPool(UserPoolT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue