AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
CognitoUserPoolConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/verifiedpermissions/VerifiedPermissions_EXPORTS.h>
10#include <aws/verifiedpermissions/model/CognitoGroupConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace VerifiedPermissions {
22namespace Model {
23
38 public:
39 AWS_VERIFIEDPERMISSIONS_API CognitoUserPoolConfiguration() = default;
40 AWS_VERIFIEDPERMISSIONS_API CognitoUserPoolConfiguration(Aws::Utils::Json::JsonView jsonValue);
41 AWS_VERIFIEDPERMISSIONS_API CognitoUserPoolConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
43
45
53 inline const Aws::String& GetUserPoolArn() const { return m_userPoolArn; }
54 inline bool UserPoolArnHasBeenSet() const { return m_userPoolArnHasBeenSet; }
55 template <typename UserPoolArnT = Aws::String>
56 void SetUserPoolArn(UserPoolArnT&& value) {
57 m_userPoolArnHasBeenSet = true;
58 m_userPoolArn = std::forward<UserPoolArnT>(value);
59 }
60 template <typename UserPoolArnT = Aws::String>
62 SetUserPoolArn(std::forward<UserPoolArnT>(value));
63 return *this;
64 }
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) {
77 m_clientIdsHasBeenSet = true;
78 m_clientIds = std::forward<ClientIdsT>(value);
79 }
80 template <typename ClientIdsT = Aws::Vector<Aws::String>>
82 SetClientIds(std::forward<ClientIdsT>(value));
83 return *this;
84 }
85 template <typename ClientIdsT = Aws::String>
87 m_clientIdsHasBeenSet = true;
88 m_clientIds.emplace_back(std::forward<ClientIdsT>(value));
89 return *this;
90 }
92
94
98 inline const CognitoGroupConfiguration& GetGroupConfiguration() const { return m_groupConfiguration; }
99 inline bool GroupConfigurationHasBeenSet() const { return m_groupConfigurationHasBeenSet; }
100 template <typename GroupConfigurationT = CognitoGroupConfiguration>
101 void SetGroupConfiguration(GroupConfigurationT&& value) {
102 m_groupConfigurationHasBeenSet = true;
103 m_groupConfiguration = std::forward<GroupConfigurationT>(value);
104 }
105 template <typename GroupConfigurationT = CognitoGroupConfiguration>
107 SetGroupConfiguration(std::forward<GroupConfigurationT>(value));
108 return *this;
109 }
111 private:
112 Aws::String m_userPoolArn;
113
114 Aws::Vector<Aws::String> m_clientIds;
115
116 CognitoGroupConfiguration m_groupConfiguration;
117 bool m_userPoolArnHasBeenSet = false;
118 bool m_clientIdsHasBeenSet = false;
119 bool m_groupConfigurationHasBeenSet = false;
120};
121
122} // namespace Model
123} // namespace VerifiedPermissions
124} // 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