AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CognitoConfig.h
1
6#pragma once
7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace AppSync
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_APPSYNC_API CognitoConfig();
35 AWS_APPSYNC_API CognitoConfig(Aws::Utils::Json::JsonView jsonValue);
37 AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetUserPoolId() const{ return m_userPoolId; }
45 inline bool UserPoolIdHasBeenSet() const { return m_userPoolIdHasBeenSet; }
46 inline void SetUserPoolId(const Aws::String& value) { m_userPoolIdHasBeenSet = true; m_userPoolId = value; }
47 inline void SetUserPoolId(Aws::String&& value) { m_userPoolIdHasBeenSet = true; m_userPoolId = std::move(value); }
48 inline void SetUserPoolId(const char* value) { m_userPoolIdHasBeenSet = true; m_userPoolId.assign(value); }
49 inline CognitoConfig& WithUserPoolId(const Aws::String& value) { SetUserPoolId(value); return *this;}
50 inline CognitoConfig& WithUserPoolId(Aws::String&& value) { SetUserPoolId(std::move(value)); return *this;}
51 inline CognitoConfig& WithUserPoolId(const char* value) { SetUserPoolId(value); return *this;}
53
55
58 inline const Aws::String& GetAwsRegion() const{ return m_awsRegion; }
59 inline bool AwsRegionHasBeenSet() const { return m_awsRegionHasBeenSet; }
60 inline void SetAwsRegion(const Aws::String& value) { m_awsRegionHasBeenSet = true; m_awsRegion = value; }
61 inline void SetAwsRegion(Aws::String&& value) { m_awsRegionHasBeenSet = true; m_awsRegion = std::move(value); }
62 inline void SetAwsRegion(const char* value) { m_awsRegionHasBeenSet = true; m_awsRegion.assign(value); }
63 inline CognitoConfig& WithAwsRegion(const Aws::String& value) { SetAwsRegion(value); return *this;}
64 inline CognitoConfig& WithAwsRegion(Aws::String&& value) { SetAwsRegion(std::move(value)); return *this;}
65 inline CognitoConfig& WithAwsRegion(const char* value) { SetAwsRegion(value); return *this;}
67
69
73 inline const Aws::String& GetAppIdClientRegex() const{ return m_appIdClientRegex; }
74 inline bool AppIdClientRegexHasBeenSet() const { return m_appIdClientRegexHasBeenSet; }
75 inline void SetAppIdClientRegex(const Aws::String& value) { m_appIdClientRegexHasBeenSet = true; m_appIdClientRegex = value; }
76 inline void SetAppIdClientRegex(Aws::String&& value) { m_appIdClientRegexHasBeenSet = true; m_appIdClientRegex = std::move(value); }
77 inline void SetAppIdClientRegex(const char* value) { m_appIdClientRegexHasBeenSet = true; m_appIdClientRegex.assign(value); }
78 inline CognitoConfig& WithAppIdClientRegex(const Aws::String& value) { SetAppIdClientRegex(value); return *this;}
79 inline CognitoConfig& WithAppIdClientRegex(Aws::String&& value) { SetAppIdClientRegex(std::move(value)); return *this;}
80 inline CognitoConfig& WithAppIdClientRegex(const char* value) { SetAppIdClientRegex(value); return *this;}
82 private:
83
84 Aws::String m_userPoolId;
85 bool m_userPoolIdHasBeenSet = false;
86
87 Aws::String m_awsRegion;
88 bool m_awsRegionHasBeenSet = false;
89
90 Aws::String m_appIdClientRegex;
91 bool m_appIdClientRegexHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace AppSync
96} // namespace Aws
AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAwsRegion(Aws::String &&value)
CognitoConfig & WithUserPoolId(Aws::String &&value)
void SetUserPoolId(const Aws::String &value)
CognitoConfig & WithAppIdClientRegex(const Aws::String &value)
void SetUserPoolId(const char *value)
void SetAwsRegion(const char *value)
void SetAppIdClientRegex(const Aws::String &value)
CognitoConfig & WithUserPoolId(const Aws::String &value)
CognitoConfig & WithAppIdClientRegex(const char *value)
AWS_APPSYNC_API CognitoConfig(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAwsRegion() const
CognitoConfig & WithAwsRegion(const Aws::String &value)
CognitoConfig & WithUserPoolId(const char *value)
const Aws::String & GetAppIdClientRegex() const
void SetAppIdClientRegex(Aws::String &&value)
const Aws::String & GetUserPoolId() const
CognitoConfig & WithAppIdClientRegex(Aws::String &&value)
AWS_APPSYNC_API CognitoConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAwsRegion(const Aws::String &value)
void SetUserPoolId(Aws::String &&value)
void SetAppIdClientRegex(const char *value)
CognitoConfig & WithAwsRegion(Aws::String &&value)
CognitoConfig & WithAwsRegion(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue