AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
CognitoMemberDefinition.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMaker_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SageMaker {
20namespace Model {
21
29 public:
30 AWS_SAGEMAKER_API CognitoMemberDefinition() = default;
33 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetUserPool() const { return m_userPool; }
41 inline bool UserPoolHasBeenSet() const { return m_userPoolHasBeenSet; }
42 template <typename UserPoolT = Aws::String>
43 void SetUserPool(UserPoolT&& value) {
44 m_userPoolHasBeenSet = true;
45 m_userPool = std::forward<UserPoolT>(value);
46 }
47 template <typename UserPoolT = Aws::String>
49 SetUserPool(std::forward<UserPoolT>(value));
50 return *this;
51 }
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) {
62 m_userGroupHasBeenSet = true;
63 m_userGroup = std::forward<UserGroupT>(value);
64 }
65 template <typename UserGroupT = Aws::String>
67 SetUserGroup(std::forward<UserGroupT>(value));
68 return *this;
69 }
71
73
77 inline const Aws::String& GetClientId() const { return m_clientId; }
78 inline bool ClientIdHasBeenSet() const { return m_clientIdHasBeenSet; }
79 template <typename ClientIdT = Aws::String>
80 void SetClientId(ClientIdT&& value) {
81 m_clientIdHasBeenSet = true;
82 m_clientId = std::forward<ClientIdT>(value);
83 }
84 template <typename ClientIdT = Aws::String>
86 SetClientId(std::forward<ClientIdT>(value));
87 return *this;
88 }
90 private:
91 Aws::String m_userPool;
92
93 Aws::String m_userGroup;
94
95 Aws::String m_clientId;
96 bool m_userPoolHasBeenSet = false;
97 bool m_userGroupHasBeenSet = false;
98 bool m_clientIdHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace SageMaker
103} // 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