AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CognitoUserPoolConfiguration.h
1
6#pragma once
7#include <aws/verifiedpermissions/VerifiedPermissions_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/verifiedpermissions/model/CognitoGroupConfiguration.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace VerifiedPermissions
24{
25namespace Model
26{
27
42 {
43 public:
44 AWS_VERIFIEDPERMISSIONS_API CognitoUserPoolConfiguration() = default;
45 AWS_VERIFIEDPERMISSIONS_API CognitoUserPoolConfiguration(Aws::Utils::Json::JsonView jsonValue);
46 AWS_VERIFIEDPERMISSIONS_API CognitoUserPoolConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
47 AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
59 inline const Aws::String& GetUserPoolArn() const { return m_userPoolArn; }
60 inline bool UserPoolArnHasBeenSet() const { return m_userPoolArnHasBeenSet; }
61 template<typename UserPoolArnT = Aws::String>
62 void SetUserPoolArn(UserPoolArnT&& value) { m_userPoolArnHasBeenSet = true; m_userPoolArn = std::forward<UserPoolArnT>(value); }
63 template<typename UserPoolArnT = Aws::String>
64 CognitoUserPoolConfiguration& WithUserPoolArn(UserPoolArnT&& value) { SetUserPoolArn(std::forward<UserPoolArnT>(value)); return *this;}
66
68
73 inline const Aws::Vector<Aws::String>& GetClientIds() const { return m_clientIds; }
74 inline bool ClientIdsHasBeenSet() const { return m_clientIdsHasBeenSet; }
75 template<typename ClientIdsT = Aws::Vector<Aws::String>>
76 void SetClientIds(ClientIdsT&& value) { m_clientIdsHasBeenSet = true; m_clientIds = std::forward<ClientIdsT>(value); }
77 template<typename ClientIdsT = Aws::Vector<Aws::String>>
78 CognitoUserPoolConfiguration& WithClientIds(ClientIdsT&& value) { SetClientIds(std::forward<ClientIdsT>(value)); return *this;}
79 template<typename ClientIdsT = Aws::String>
80 CognitoUserPoolConfiguration& AddClientIds(ClientIdsT&& value) { m_clientIdsHasBeenSet = true; m_clientIds.emplace_back(std::forward<ClientIdsT>(value)); return *this; }
82
84
88 inline const CognitoGroupConfiguration& GetGroupConfiguration() const { return m_groupConfiguration; }
89 inline bool GroupConfigurationHasBeenSet() const { return m_groupConfigurationHasBeenSet; }
90 template<typename GroupConfigurationT = CognitoGroupConfiguration>
91 void SetGroupConfiguration(GroupConfigurationT&& value) { m_groupConfigurationHasBeenSet = true; m_groupConfiguration = std::forward<GroupConfigurationT>(value); }
92 template<typename GroupConfigurationT = CognitoGroupConfiguration>
93 CognitoUserPoolConfiguration& WithGroupConfiguration(GroupConfigurationT&& value) { SetGroupConfiguration(std::forward<GroupConfigurationT>(value)); return *this;}
95 private:
96
97 Aws::String m_userPoolArn;
98 bool m_userPoolArnHasBeenSet = false;
99
100 Aws::Vector<Aws::String> m_clientIds;
101 bool m_clientIdsHasBeenSet = false;
102
103 CognitoGroupConfiguration m_groupConfiguration;
104 bool m_groupConfigurationHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace VerifiedPermissions
109} // namespace Aws
CognitoUserPoolConfiguration & WithClientIds(ClientIdsT &&value)
CognitoUserPoolConfiguration & WithUserPoolArn(UserPoolArnT &&value)
AWS_VERIFIEDPERMISSIONS_API CognitoUserPoolConfiguration()=default
AWS_VERIFIEDPERMISSIONS_API CognitoUserPoolConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_VERIFIEDPERMISSIONS_API CognitoUserPoolConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
CognitoUserPoolConfiguration & WithGroupConfiguration(GroupConfigurationT &&value)
CognitoUserPoolConfiguration & AddClientIds(ClientIdsT &&value)
AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue