AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IdentityProviderConfiguration.h
1
6#pragma once
7#include <aws/healthlake/HealthLake_EXPORTS.h>
8#include <aws/healthlake/model/AuthorizationStrategy.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace HealthLake
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_HEALTHLAKE_API IdentityProviderConfiguration();
39 AWS_HEALTHLAKE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const AuthorizationStrategy& GetAuthorizationStrategy() const{ return m_authorizationStrategy; }
48 inline bool AuthorizationStrategyHasBeenSet() const { return m_authorizationStrategyHasBeenSet; }
49 inline void SetAuthorizationStrategy(const AuthorizationStrategy& value) { m_authorizationStrategyHasBeenSet = true; m_authorizationStrategy = value; }
50 inline void SetAuthorizationStrategy(AuthorizationStrategy&& value) { m_authorizationStrategyHasBeenSet = true; m_authorizationStrategy = std::move(value); }
54
56
60 inline bool GetFineGrainedAuthorizationEnabled() const{ return m_fineGrainedAuthorizationEnabled; }
61 inline bool FineGrainedAuthorizationEnabledHasBeenSet() const { return m_fineGrainedAuthorizationEnabledHasBeenSet; }
62 inline void SetFineGrainedAuthorizationEnabled(bool value) { m_fineGrainedAuthorizationEnabledHasBeenSet = true; m_fineGrainedAuthorizationEnabled = value; }
65
67
84 inline const Aws::String& GetMetadata() const{ return m_metadata; }
85 inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; }
86 inline void SetMetadata(const Aws::String& value) { m_metadataHasBeenSet = true; m_metadata = value; }
87 inline void SetMetadata(Aws::String&& value) { m_metadataHasBeenSet = true; m_metadata = std::move(value); }
88 inline void SetMetadata(const char* value) { m_metadataHasBeenSet = true; m_metadata.assign(value); }
89 inline IdentityProviderConfiguration& WithMetadata(const Aws::String& value) { SetMetadata(value); return *this;}
90 inline IdentityProviderConfiguration& WithMetadata(Aws::String&& value) { SetMetadata(std::move(value)); return *this;}
91 inline IdentityProviderConfiguration& WithMetadata(const char* value) { SetMetadata(value); return *this;}
93
95
99 inline const Aws::String& GetIdpLambdaArn() const{ return m_idpLambdaArn; }
100 inline bool IdpLambdaArnHasBeenSet() const { return m_idpLambdaArnHasBeenSet; }
101 inline void SetIdpLambdaArn(const Aws::String& value) { m_idpLambdaArnHasBeenSet = true; m_idpLambdaArn = value; }
102 inline void SetIdpLambdaArn(Aws::String&& value) { m_idpLambdaArnHasBeenSet = true; m_idpLambdaArn = std::move(value); }
103 inline void SetIdpLambdaArn(const char* value) { m_idpLambdaArnHasBeenSet = true; m_idpLambdaArn.assign(value); }
104 inline IdentityProviderConfiguration& WithIdpLambdaArn(const Aws::String& value) { SetIdpLambdaArn(value); return *this;}
105 inline IdentityProviderConfiguration& WithIdpLambdaArn(Aws::String&& value) { SetIdpLambdaArn(std::move(value)); return *this;}
106 inline IdentityProviderConfiguration& WithIdpLambdaArn(const char* value) { SetIdpLambdaArn(value); return *this;}
108 private:
109
110 AuthorizationStrategy m_authorizationStrategy;
111 bool m_authorizationStrategyHasBeenSet = false;
112
113 bool m_fineGrainedAuthorizationEnabled;
114 bool m_fineGrainedAuthorizationEnabledHasBeenSet = false;
115
116 Aws::String m_metadata;
117 bool m_metadataHasBeenSet = false;
118
119 Aws::String m_idpLambdaArn;
120 bool m_idpLambdaArnHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace HealthLake
125} // namespace Aws
IdentityProviderConfiguration & WithMetadata(const char *value)
IdentityProviderConfiguration & WithAuthorizationStrategy(const AuthorizationStrategy &value)
AWS_HEALTHLAKE_API IdentityProviderConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetAuthorizationStrategy(const AuthorizationStrategy &value)
IdentityProviderConfiguration & WithIdpLambdaArn(Aws::String &&value)
AWS_HEALTHLAKE_API Aws::Utils::Json::JsonValue Jsonize() const
IdentityProviderConfiguration & WithIdpLambdaArn(const char *value)
IdentityProviderConfiguration & WithMetadata(const Aws::String &value)
IdentityProviderConfiguration & WithMetadata(Aws::String &&value)
IdentityProviderConfiguration & WithIdpLambdaArn(const Aws::String &value)
IdentityProviderConfiguration & WithAuthorizationStrategy(AuthorizationStrategy &&value)
AWS_HEALTHLAKE_API IdentityProviderConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
IdentityProviderConfiguration & WithFineGrainedAuthorizationEnabled(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue