AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
UpdateCognitoUserPoolConfiguration.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/UpdateCognitoGroupConfiguration.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
31 public:
32 AWS_VERIFIEDPERMISSIONS_API UpdateCognitoUserPoolConfiguration() = default;
33 AWS_VERIFIEDPERMISSIONS_API UpdateCognitoUserPoolConfiguration(Aws::Utils::Json::JsonView jsonValue);
35 AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
44 inline const Aws::String& GetUserPoolArn() const { return m_userPoolArn; }
45 inline bool UserPoolArnHasBeenSet() const { return m_userPoolArnHasBeenSet; }
46 template <typename UserPoolArnT = Aws::String>
47 void SetUserPoolArn(UserPoolArnT&& value) {
48 m_userPoolArnHasBeenSet = true;
49 m_userPoolArn = std::forward<UserPoolArnT>(value);
50 }
51 template <typename UserPoolArnT = Aws::String>
53 SetUserPoolArn(std::forward<UserPoolArnT>(value));
54 return *this;
55 }
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) {
67 m_clientIdsHasBeenSet = true;
68 m_clientIds = std::forward<ClientIdsT>(value);
69 }
70 template <typename ClientIdsT = Aws::Vector<Aws::String>>
72 SetClientIds(std::forward<ClientIdsT>(value));
73 return *this;
74 }
75 template <typename ClientIdsT = Aws::String>
77 m_clientIdsHasBeenSet = true;
78 m_clientIds.emplace_back(std::forward<ClientIdsT>(value));
79 return *this;
80 }
82
84
88 inline const UpdateCognitoGroupConfiguration& GetGroupConfiguration() const { return m_groupConfiguration; }
89 inline bool GroupConfigurationHasBeenSet() const { return m_groupConfigurationHasBeenSet; }
90 template <typename GroupConfigurationT = UpdateCognitoGroupConfiguration>
91 void SetGroupConfiguration(GroupConfigurationT&& value) {
92 m_groupConfigurationHasBeenSet = true;
93 m_groupConfiguration = std::forward<GroupConfigurationT>(value);
94 }
95 template <typename GroupConfigurationT = UpdateCognitoGroupConfiguration>
97 SetGroupConfiguration(std::forward<GroupConfigurationT>(value));
98 return *this;
99 }
101 private:
102 Aws::String m_userPoolArn;
103
104 Aws::Vector<Aws::String> m_clientIds;
105
106 UpdateCognitoGroupConfiguration m_groupConfiguration;
107 bool m_userPoolArnHasBeenSet = false;
108 bool m_clientIdsHasBeenSet = false;
109 bool m_groupConfigurationHasBeenSet = false;
110};
111
112} // namespace Model
113} // namespace VerifiedPermissions
114} // 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