AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CognitoUserPoolConfigurationDetail.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/CognitoGroupConfigurationDetail.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 CognitoUserPoolConfigurationDetail();
45 AWS_VERIFIEDPERMISSIONS_API CognitoUserPoolConfigurationDetail(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); }
65 inline CognitoUserPoolConfigurationDetail& WithUserPoolArn(Aws::String&& value) { SetUserPoolArn(std::move(value)); return *this;}
66 inline CognitoUserPoolConfigurationDetail& 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); }
81 inline CognitoUserPoolConfigurationDetail& AddClientIds(const Aws::String& value) { m_clientIdsHasBeenSet = true; m_clientIds.push_back(value); return *this; }
82 inline CognitoUserPoolConfigurationDetail& AddClientIds(Aws::String&& value) { m_clientIdsHasBeenSet = true; m_clientIds.push_back(std::move(value)); return *this; }
83 inline CognitoUserPoolConfigurationDetail& AddClientIds(const char* value) { m_clientIdsHasBeenSet = true; m_clientIds.push_back(value); return *this; }
85
87
93 inline const Aws::String& GetIssuer() const{ return m_issuer; }
94 inline bool IssuerHasBeenSet() const { return m_issuerHasBeenSet; }
95 inline void SetIssuer(const Aws::String& value) { m_issuerHasBeenSet = true; m_issuer = value; }
96 inline void SetIssuer(Aws::String&& value) { m_issuerHasBeenSet = true; m_issuer = std::move(value); }
97 inline void SetIssuer(const char* value) { m_issuerHasBeenSet = true; m_issuer.assign(value); }
98 inline CognitoUserPoolConfigurationDetail& WithIssuer(const Aws::String& value) { SetIssuer(value); return *this;}
99 inline CognitoUserPoolConfigurationDetail& WithIssuer(Aws::String&& value) { SetIssuer(std::move(value)); return *this;}
100 inline CognitoUserPoolConfigurationDetail& WithIssuer(const char* value) { SetIssuer(value); return *this;}
102
104
108 inline const CognitoGroupConfigurationDetail& GetGroupConfiguration() const{ return m_groupConfiguration; }
109 inline bool GroupConfigurationHasBeenSet() const { return m_groupConfigurationHasBeenSet; }
110 inline void SetGroupConfiguration(const CognitoGroupConfigurationDetail& value) { m_groupConfigurationHasBeenSet = true; m_groupConfiguration = value; }
111 inline void SetGroupConfiguration(CognitoGroupConfigurationDetail&& value) { m_groupConfigurationHasBeenSet = true; m_groupConfiguration = std::move(value); }
115 private:
116
117 Aws::String m_userPoolArn;
118 bool m_userPoolArnHasBeenSet = false;
119
120 Aws::Vector<Aws::String> m_clientIds;
121 bool m_clientIdsHasBeenSet = false;
122
123 Aws::String m_issuer;
124 bool m_issuerHasBeenSet = false;
125
126 CognitoGroupConfigurationDetail m_groupConfiguration;
127 bool m_groupConfigurationHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace VerifiedPermissions
132} // namespace Aws
CognitoUserPoolConfigurationDetail & WithGroupConfiguration(CognitoGroupConfigurationDetail &&value)
CognitoUserPoolConfigurationDetail & WithIssuer(Aws::String &&value)
AWS_VERIFIEDPERMISSIONS_API CognitoUserPoolConfigurationDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
CognitoUserPoolConfigurationDetail & WithGroupConfiguration(const CognitoGroupConfigurationDetail &value)
CognitoUserPoolConfigurationDetail & WithClientIds(const Aws::Vector< Aws::String > &value)
CognitoUserPoolConfigurationDetail & AddClientIds(Aws::String &&value)
CognitoUserPoolConfigurationDetail & WithIssuer(const Aws::String &value)
CognitoUserPoolConfigurationDetail & AddClientIds(const Aws::String &value)
CognitoUserPoolConfigurationDetail & WithUserPoolArn(const Aws::String &value)
CognitoUserPoolConfigurationDetail & WithUserPoolArn(const char *value)
CognitoUserPoolConfigurationDetail & WithClientIds(Aws::Vector< Aws::String > &&value)
CognitoUserPoolConfigurationDetail & WithUserPoolArn(Aws::String &&value)
AWS_VERIFIEDPERMISSIONS_API CognitoUserPoolConfigurationDetail(Aws::Utils::Json::JsonView jsonValue)
AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue