AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CognitoUserPoolConfigurationItem.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/CognitoGroupConfigurationItem.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 CognitoUserPoolConfigurationItem();
45 AWS_VERIFIEDPERMISSIONS_API CognitoUserPoolConfigurationItem(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 CognitoUserPoolConfigurationItem& WithUserPoolArn(const Aws::String& value) { SetUserPoolArn(value); return *this;}
65 inline CognitoUserPoolConfigurationItem& WithUserPoolArn(Aws::String&& value) { SetUserPoolArn(std::move(value)); return *this;}
66 inline CognitoUserPoolConfigurationItem& 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 CognitoUserPoolConfigurationItem& WithClientIds(Aws::Vector<Aws::String>&& value) { SetClientIds(std::move(value)); return *this;}
81 inline CognitoUserPoolConfigurationItem& AddClientIds(const Aws::String& value) { m_clientIdsHasBeenSet = true; m_clientIds.push_back(value); return *this; }
82 inline CognitoUserPoolConfigurationItem& AddClientIds(Aws::String&& value) { m_clientIdsHasBeenSet = true; m_clientIds.push_back(std::move(value)); return *this; }
83 inline CognitoUserPoolConfigurationItem& 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 CognitoUserPoolConfigurationItem& WithIssuer(const Aws::String& value) { SetIssuer(value); return *this;}
99 inline CognitoUserPoolConfigurationItem& WithIssuer(Aws::String&& value) { SetIssuer(std::move(value)); return *this;}
100 inline CognitoUserPoolConfigurationItem& WithIssuer(const char* value) { SetIssuer(value); return *this;}
102
104
108 inline const CognitoGroupConfigurationItem& GetGroupConfiguration() const{ return m_groupConfiguration; }
109 inline bool GroupConfigurationHasBeenSet() const { return m_groupConfigurationHasBeenSet; }
110 inline void SetGroupConfiguration(const CognitoGroupConfigurationItem& value) { m_groupConfigurationHasBeenSet = true; m_groupConfiguration = value; }
111 inline void SetGroupConfiguration(CognitoGroupConfigurationItem&& 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 CognitoGroupConfigurationItem m_groupConfiguration;
127 bool m_groupConfigurationHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace VerifiedPermissions
132} // namespace Aws
CognitoUserPoolConfigurationItem & WithIssuer(const Aws::String &value)
CognitoUserPoolConfigurationItem & WithClientIds(const Aws::Vector< Aws::String > &value)
CognitoUserPoolConfigurationItem & WithGroupConfiguration(const CognitoGroupConfigurationItem &value)
CognitoUserPoolConfigurationItem & WithUserPoolArn(const Aws::String &value)
CognitoUserPoolConfigurationItem & WithIssuer(Aws::String &&value)
CognitoUserPoolConfigurationItem & WithClientIds(Aws::Vector< Aws::String > &&value)
CognitoUserPoolConfigurationItem & AddClientIds(const Aws::String &value)
CognitoUserPoolConfigurationItem & AddClientIds(Aws::String &&value)
AWS_VERIFIEDPERMISSIONS_API CognitoUserPoolConfigurationItem & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const
CognitoUserPoolConfigurationItem & WithUserPoolArn(Aws::String &&value)
CognitoUserPoolConfigurationItem & WithUserPoolArn(const char *value)
AWS_VERIFIEDPERMISSIONS_API CognitoUserPoolConfigurationItem(Aws::Utils::Json::JsonView jsonValue)
CognitoUserPoolConfigurationItem & WithGroupConfiguration(CognitoGroupConfigurationItem &&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