AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CognitoIdentityProvider.h
1
6#pragma once
7#include <aws/cognito-identity/CognitoIdentity_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 CognitoIdentity
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_COGNITOIDENTITY_API CognitoIdentityProvider();
36 AWS_COGNITOIDENTITY_API CognitoIdentityProvider(Aws::Utils::Json::JsonView jsonValue);
38 AWS_COGNITOIDENTITY_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetProviderName() const{ return m_providerName; }
47 inline bool ProviderNameHasBeenSet() const { return m_providerNameHasBeenSet; }
48 inline void SetProviderName(const Aws::String& value) { m_providerNameHasBeenSet = true; m_providerName = value; }
49 inline void SetProviderName(Aws::String&& value) { m_providerNameHasBeenSet = true; m_providerName = std::move(value); }
50 inline void SetProviderName(const char* value) { m_providerNameHasBeenSet = true; m_providerName.assign(value); }
51 inline CognitoIdentityProvider& WithProviderName(const Aws::String& value) { SetProviderName(value); return *this;}
52 inline CognitoIdentityProvider& WithProviderName(Aws::String&& value) { SetProviderName(std::move(value)); return *this;}
53 inline CognitoIdentityProvider& WithProviderName(const char* value) { SetProviderName(value); return *this;}
55
57
60 inline const Aws::String& GetClientId() const{ return m_clientId; }
61 inline bool ClientIdHasBeenSet() const { return m_clientIdHasBeenSet; }
62 inline void SetClientId(const Aws::String& value) { m_clientIdHasBeenSet = true; m_clientId = value; }
63 inline void SetClientId(Aws::String&& value) { m_clientIdHasBeenSet = true; m_clientId = std::move(value); }
64 inline void SetClientId(const char* value) { m_clientIdHasBeenSet = true; m_clientId.assign(value); }
65 inline CognitoIdentityProvider& WithClientId(const Aws::String& value) { SetClientId(value); return *this;}
66 inline CognitoIdentityProvider& WithClientId(Aws::String&& value) { SetClientId(std::move(value)); return *this;}
67 inline CognitoIdentityProvider& WithClientId(const char* value) { SetClientId(value); return *this;}
69
71
80 inline bool GetServerSideTokenCheck() const{ return m_serverSideTokenCheck; }
81 inline bool ServerSideTokenCheckHasBeenSet() const { return m_serverSideTokenCheckHasBeenSet; }
82 inline void SetServerSideTokenCheck(bool value) { m_serverSideTokenCheckHasBeenSet = true; m_serverSideTokenCheck = value; }
85 private:
86
87 Aws::String m_providerName;
88 bool m_providerNameHasBeenSet = false;
89
90 Aws::String m_clientId;
91 bool m_clientIdHasBeenSet = false;
92
93 bool m_serverSideTokenCheck;
94 bool m_serverSideTokenCheckHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace CognitoIdentity
99} // namespace Aws
CognitoIdentityProvider & WithClientId(const char *value)
CognitoIdentityProvider & WithClientId(Aws::String &&value)
CognitoIdentityProvider & WithProviderName(const char *value)
CognitoIdentityProvider & WithProviderName(const Aws::String &value)
AWS_COGNITOIDENTITY_API CognitoIdentityProvider & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_COGNITOIDENTITY_API CognitoIdentityProvider(Aws::Utils::Json::JsonView jsonValue)
CognitoIdentityProvider & WithClientId(const Aws::String &value)
AWS_COGNITOIDENTITY_API Aws::Utils::Json::JsonValue Jsonize() const
CognitoIdentityProvider & WithProviderName(Aws::String &&value)
CognitoIdentityProvider & WithServerSideTokenCheck(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue