AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateCognitoUserPoolConfiguration.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/UpdateCognitoGroupConfiguration.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
35 {
36 public:
37 AWS_VERIFIEDPERMISSIONS_API UpdateCognitoUserPoolConfiguration() = default;
38 AWS_VERIFIEDPERMISSIONS_API UpdateCognitoUserPoolConfiguration(Aws::Utils::Json::JsonView jsonValue);
40 AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
50 inline const Aws::String& GetUserPoolArn() const { return m_userPoolArn; }
51 inline bool UserPoolArnHasBeenSet() const { return m_userPoolArnHasBeenSet; }
52 template<typename UserPoolArnT = Aws::String>
53 void SetUserPoolArn(UserPoolArnT&& value) { m_userPoolArnHasBeenSet = true; m_userPoolArn = std::forward<UserPoolArnT>(value); }
54 template<typename UserPoolArnT = Aws::String>
55 UpdateCognitoUserPoolConfiguration& WithUserPoolArn(UserPoolArnT&& value) { SetUserPoolArn(std::forward<UserPoolArnT>(value)); return *this;}
57
59
63 inline const Aws::Vector<Aws::String>& GetClientIds() const { return m_clientIds; }
64 inline bool ClientIdsHasBeenSet() const { return m_clientIdsHasBeenSet; }
65 template<typename ClientIdsT = Aws::Vector<Aws::String>>
66 void SetClientIds(ClientIdsT&& value) { m_clientIdsHasBeenSet = true; m_clientIds = std::forward<ClientIdsT>(value); }
67 template<typename ClientIdsT = Aws::Vector<Aws::String>>
68 UpdateCognitoUserPoolConfiguration& WithClientIds(ClientIdsT&& value) { SetClientIds(std::forward<ClientIdsT>(value)); return *this;}
69 template<typename ClientIdsT = Aws::String>
70 UpdateCognitoUserPoolConfiguration& AddClientIds(ClientIdsT&& value) { m_clientIdsHasBeenSet = true; m_clientIds.emplace_back(std::forward<ClientIdsT>(value)); return *this; }
72
74
78 inline const UpdateCognitoGroupConfiguration& GetGroupConfiguration() const { return m_groupConfiguration; }
79 inline bool GroupConfigurationHasBeenSet() const { return m_groupConfigurationHasBeenSet; }
80 template<typename GroupConfigurationT = UpdateCognitoGroupConfiguration>
81 void SetGroupConfiguration(GroupConfigurationT&& value) { m_groupConfigurationHasBeenSet = true; m_groupConfiguration = std::forward<GroupConfigurationT>(value); }
82 template<typename GroupConfigurationT = UpdateCognitoGroupConfiguration>
83 UpdateCognitoUserPoolConfiguration& WithGroupConfiguration(GroupConfigurationT&& value) { SetGroupConfiguration(std::forward<GroupConfigurationT>(value)); return *this;}
85 private:
86
87 Aws::String m_userPoolArn;
88 bool m_userPoolArnHasBeenSet = false;
89
90 Aws::Vector<Aws::String> m_clientIds;
91 bool m_clientIdsHasBeenSet = false;
92
93 UpdateCognitoGroupConfiguration m_groupConfiguration;
94 bool m_groupConfigurationHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace VerifiedPermissions
99} // namespace Aws
AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const
UpdateCognitoUserPoolConfiguration & WithGroupConfiguration(GroupConfigurationT &&value)
AWS_VERIFIEDPERMISSIONS_API UpdateCognitoUserPoolConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_VERIFIEDPERMISSIONS_API UpdateCognitoUserPoolConfiguration()=default
UpdateCognitoUserPoolConfiguration & AddClientIds(ClientIdsT &&value)
AWS_VERIFIEDPERMISSIONS_API UpdateCognitoUserPoolConfiguration(Aws::Utils::Json::JsonView jsonValue)
UpdateCognitoUserPoolConfiguration & WithClientIds(ClientIdsT &&value)
UpdateCognitoUserPoolConfiguration & WithUserPoolArn(UserPoolArnT &&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