AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CognitoUserPoolConfiguration.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/CognitoGroupConfiguration.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 CognitoUserPoolConfiguration();
45 AWS_VERIFIEDPERMISSIONS_API CognitoUserPoolConfiguration(Aws::Utils::Json::JsonView jsonValue);
46 AWS_VERIFIEDPERMISSIONS_API CognitoUserPoolConfiguration& operator=(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 inline void SetUserPoolArn(const Aws::String& value) { m_userPoolArnHasBeenSet = true; m_userPoolArn = value; }
62 inline void SetUserPoolArn(Aws::String&& value) { m_userPoolArnHasBeenSet = true; m_userPoolArn = std::move(value); }
63 inline void SetUserPoolArn(const char* value) { m_userPoolArnHasBeenSet = true; m_userPoolArn.assign(value); }
64 inline CognitoUserPoolConfiguration& WithUserPoolArn(const Aws::String& value) { SetUserPoolArn(value); return *this;}
65 inline CognitoUserPoolConfiguration& WithUserPoolArn(Aws::String&& value) { SetUserPoolArn(std::move(value)); return *this;}
66 inline CognitoUserPoolConfiguration& WithUserPoolArn(const char* value) { SetUserPoolArn(value); return *this;}
68
70
75 inline const Aws::Vector<Aws::String>& GetClientIds() const{ return m_clientIds; }
76 inline bool ClientIdsHasBeenSet() const { return m_clientIdsHasBeenSet; }
77 inline void SetClientIds(const Aws::Vector<Aws::String>& value) { m_clientIdsHasBeenSet = true; m_clientIds = value; }
78 inline void SetClientIds(Aws::Vector<Aws::String>&& value) { m_clientIdsHasBeenSet = true; m_clientIds = std::move(value); }
80 inline CognitoUserPoolConfiguration& WithClientIds(Aws::Vector<Aws::String>&& value) { SetClientIds(std::move(value)); return *this;}
81 inline CognitoUserPoolConfiguration& AddClientIds(const Aws::String& value) { m_clientIdsHasBeenSet = true; m_clientIds.push_back(value); return *this; }
82 inline CognitoUserPoolConfiguration& AddClientIds(Aws::String&& value) { m_clientIdsHasBeenSet = true; m_clientIds.push_back(std::move(value)); return *this; }
83 inline CognitoUserPoolConfiguration& AddClientIds(const char* value) { m_clientIdsHasBeenSet = true; m_clientIds.push_back(value); return *this; }
85
87
91 inline const CognitoGroupConfiguration& GetGroupConfiguration() const{ return m_groupConfiguration; }
92 inline bool GroupConfigurationHasBeenSet() const { return m_groupConfigurationHasBeenSet; }
93 inline void SetGroupConfiguration(const CognitoGroupConfiguration& value) { m_groupConfigurationHasBeenSet = true; m_groupConfiguration = value; }
94 inline void SetGroupConfiguration(CognitoGroupConfiguration&& value) { m_groupConfigurationHasBeenSet = true; m_groupConfiguration = std::move(value); }
98 private:
99
100 Aws::String m_userPoolArn;
101 bool m_userPoolArnHasBeenSet = false;
102
103 Aws::Vector<Aws::String> m_clientIds;
104 bool m_clientIdsHasBeenSet = false;
105
106 CognitoGroupConfiguration m_groupConfiguration;
107 bool m_groupConfigurationHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace VerifiedPermissions
112} // namespace Aws
AWS_VERIFIEDPERMISSIONS_API CognitoUserPoolConfiguration(Aws::Utils::Json::JsonView jsonValue)
CognitoUserPoolConfiguration & WithGroupConfiguration(CognitoGroupConfiguration &&value)
CognitoUserPoolConfiguration & AddClientIds(Aws::String &&value)
AWS_VERIFIEDPERMISSIONS_API CognitoUserPoolConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
CognitoUserPoolConfiguration & AddClientIds(const char *value)
CognitoUserPoolConfiguration & WithGroupConfiguration(const CognitoGroupConfiguration &value)
CognitoUserPoolConfiguration & WithUserPoolArn(const char *value)
CognitoUserPoolConfiguration & WithUserPoolArn(Aws::String &&value)
CognitoUserPoolConfiguration & WithClientIds(Aws::Vector< Aws::String > &&value)
CognitoUserPoolConfiguration & AddClientIds(const Aws::String &value)
CognitoUserPoolConfiguration & WithClientIds(const Aws::Vector< Aws::String > &value)
AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const
CognitoUserPoolConfiguration & WithUserPoolArn(const 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