AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetUserPoolArn(const Aws::String& value) { m_userPoolArnHasBeenSet = true; m_userPoolArn = value; }
53 inline void SetUserPoolArn(Aws::String&& value) { m_userPoolArnHasBeenSet = true; m_userPoolArn = std::move(value); }
54 inline void SetUserPoolArn(const char* value) { m_userPoolArnHasBeenSet = true; m_userPoolArn.assign(value); }
56 inline UpdateCognitoUserPoolConfiguration& WithUserPoolArn(Aws::String&& value) { SetUserPoolArn(std::move(value)); return *this;}
57 inline UpdateCognitoUserPoolConfiguration& WithUserPoolArn(const char* value) { SetUserPoolArn(value); return *this;}
59
61
65 inline const Aws::Vector<Aws::String>& GetClientIds() const{ return m_clientIds; }
66 inline bool ClientIdsHasBeenSet() const { return m_clientIdsHasBeenSet; }
67 inline void SetClientIds(const Aws::Vector<Aws::String>& value) { m_clientIdsHasBeenSet = true; m_clientIds = value; }
68 inline void SetClientIds(Aws::Vector<Aws::String>&& value) { m_clientIdsHasBeenSet = true; m_clientIds = std::move(value); }
71 inline UpdateCognitoUserPoolConfiguration& AddClientIds(const Aws::String& value) { m_clientIdsHasBeenSet = true; m_clientIds.push_back(value); return *this; }
72 inline UpdateCognitoUserPoolConfiguration& AddClientIds(Aws::String&& value) { m_clientIdsHasBeenSet = true; m_clientIds.push_back(std::move(value)); return *this; }
73 inline UpdateCognitoUserPoolConfiguration& AddClientIds(const char* value) { m_clientIdsHasBeenSet = true; m_clientIds.push_back(value); return *this; }
75
77
81 inline const UpdateCognitoGroupConfiguration& GetGroupConfiguration() const{ return m_groupConfiguration; }
82 inline bool GroupConfigurationHasBeenSet() const { return m_groupConfigurationHasBeenSet; }
83 inline void SetGroupConfiguration(const UpdateCognitoGroupConfiguration& value) { m_groupConfigurationHasBeenSet = true; m_groupConfiguration = value; }
84 inline void SetGroupConfiguration(UpdateCognitoGroupConfiguration&& value) { m_groupConfigurationHasBeenSet = true; m_groupConfiguration = std::move(value); }
88 private:
89
90 Aws::String m_userPoolArn;
91 bool m_userPoolArnHasBeenSet = false;
92
93 Aws::Vector<Aws::String> m_clientIds;
94 bool m_clientIdsHasBeenSet = false;
95
96 UpdateCognitoGroupConfiguration m_groupConfiguration;
97 bool m_groupConfigurationHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace VerifiedPermissions
102} // namespace Aws
UpdateCognitoUserPoolConfiguration & WithGroupConfiguration(const UpdateCognitoGroupConfiguration &value)
AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const
UpdateCognitoUserPoolConfiguration & WithClientIds(const Aws::Vector< Aws::String > &value)
UpdateCognitoUserPoolConfiguration & WithUserPoolArn(const Aws::String &value)
UpdateCognitoUserPoolConfiguration & WithGroupConfiguration(UpdateCognitoGroupConfiguration &&value)
UpdateCognitoUserPoolConfiguration & AddClientIds(Aws::String &&value)
AWS_VERIFIEDPERMISSIONS_API UpdateCognitoUserPoolConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
UpdateCognitoUserPoolConfiguration & WithUserPoolArn(const char *value)
UpdateCognitoUserPoolConfiguration & WithClientIds(Aws::Vector< Aws::String > &&value)
UpdateCognitoUserPoolConfiguration & AddClientIds(const Aws::String &value)
AWS_VERIFIEDPERMISSIONS_API UpdateCognitoUserPoolConfiguration(Aws::Utils::Json::JsonView jsonValue)
UpdateCognitoUserPoolConfiguration & WithUserPoolArn(Aws::String &&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