AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CognitoUserPoolConfigurationItem.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/CognitoGroupConfigurationItem.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 CognitoUserPoolConfigurationItem() = default;
45 AWS_VERIFIEDPERMISSIONS_API CognitoUserPoolConfigurationItem(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 CognitoUserPoolConfigurationItem& 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 CognitoUserPoolConfigurationItem& WithClientIds(ClientIdsT&& value) { SetClientIds(std::forward<ClientIdsT>(value)); return *this;}
79 template<typename ClientIdsT = Aws::String>
80 CognitoUserPoolConfigurationItem& AddClientIds(ClientIdsT&& value) { m_clientIdsHasBeenSet = true; m_clientIds.emplace_back(std::forward<ClientIdsT>(value)); return *this; }
82
84
90 inline const Aws::String& GetIssuer() const { return m_issuer; }
91 inline bool IssuerHasBeenSet() const { return m_issuerHasBeenSet; }
92 template<typename IssuerT = Aws::String>
93 void SetIssuer(IssuerT&& value) { m_issuerHasBeenSet = true; m_issuer = std::forward<IssuerT>(value); }
94 template<typename IssuerT = Aws::String>
95 CognitoUserPoolConfigurationItem& WithIssuer(IssuerT&& value) { SetIssuer(std::forward<IssuerT>(value)); return *this;}
97
99
103 inline const CognitoGroupConfigurationItem& GetGroupConfiguration() const { return m_groupConfiguration; }
104 inline bool GroupConfigurationHasBeenSet() const { return m_groupConfigurationHasBeenSet; }
105 template<typename GroupConfigurationT = CognitoGroupConfigurationItem>
106 void SetGroupConfiguration(GroupConfigurationT&& value) { m_groupConfigurationHasBeenSet = true; m_groupConfiguration = std::forward<GroupConfigurationT>(value); }
107 template<typename GroupConfigurationT = CognitoGroupConfigurationItem>
108 CognitoUserPoolConfigurationItem& WithGroupConfiguration(GroupConfigurationT&& value) { SetGroupConfiguration(std::forward<GroupConfigurationT>(value)); return *this;}
110 private:
111
112 Aws::String m_userPoolArn;
113 bool m_userPoolArnHasBeenSet = false;
114
115 Aws::Vector<Aws::String> m_clientIds;
116 bool m_clientIdsHasBeenSet = false;
117
118 Aws::String m_issuer;
119 bool m_issuerHasBeenSet = false;
120
121 CognitoGroupConfigurationItem m_groupConfiguration;
122 bool m_groupConfigurationHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace VerifiedPermissions
127} // namespace Aws
CognitoUserPoolConfigurationItem & WithClientIds(ClientIdsT &&value)
CognitoUserPoolConfigurationItem & WithUserPoolArn(UserPoolArnT &&value)
AWS_VERIFIEDPERMISSIONS_API CognitoUserPoolConfigurationItem()=default
CognitoUserPoolConfigurationItem & WithGroupConfiguration(GroupConfigurationT &&value)
AWS_VERIFIEDPERMISSIONS_API CognitoUserPoolConfigurationItem & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_VERIFIEDPERMISSIONS_API CognitoUserPoolConfigurationItem(Aws::Utils::Json::JsonView jsonValue)
CognitoUserPoolConfigurationItem & AddClientIds(ClientIdsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue