AWS SDK for C++

AWS SDK for C++ Version 1.11.760

Loading...
Searching...
No Matches
IdentityProviderConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/healthlake/HealthLake_EXPORTS.h>
9#include <aws/healthlake/model/AuthorizationStrategy.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace HealthLake {
21namespace Model {
22
30 public:
31 AWS_HEALTHLAKE_API IdentityProviderConfiguration() = default;
34 AWS_HEALTHLAKE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
49 inline AuthorizationStrategy GetAuthorizationStrategy() const { return m_authorizationStrategy; }
50 inline bool AuthorizationStrategyHasBeenSet() const { return m_authorizationStrategyHasBeenSet; }
52 m_authorizationStrategyHasBeenSet = true;
53 m_authorizationStrategy = value;
54 }
57 return *this;
58 }
60
62
66 inline bool GetFineGrainedAuthorizationEnabled() const { return m_fineGrainedAuthorizationEnabled; }
67 inline bool FineGrainedAuthorizationEnabledHasBeenSet() const { return m_fineGrainedAuthorizationEnabledHasBeenSet; }
68 inline void SetFineGrainedAuthorizationEnabled(bool value) {
69 m_fineGrainedAuthorizationEnabledHasBeenSet = true;
70 m_fineGrainedAuthorizationEnabled = value;
71 }
74 return *this;
75 }
77
79
96 inline const Aws::String& GetMetadata() const { return m_metadata; }
97 inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; }
98 template <typename MetadataT = Aws::String>
99 void SetMetadata(MetadataT&& value) {
100 m_metadataHasBeenSet = true;
101 m_metadata = std::forward<MetadataT>(value);
102 }
103 template <typename MetadataT = Aws::String>
105 SetMetadata(std::forward<MetadataT>(value));
106 return *this;
107 }
109
111
115 inline const Aws::String& GetIdpLambdaArn() const { return m_idpLambdaArn; }
116 inline bool IdpLambdaArnHasBeenSet() const { return m_idpLambdaArnHasBeenSet; }
117 template <typename IdpLambdaArnT = Aws::String>
118 void SetIdpLambdaArn(IdpLambdaArnT&& value) {
119 m_idpLambdaArnHasBeenSet = true;
120 m_idpLambdaArn = std::forward<IdpLambdaArnT>(value);
121 }
122 template <typename IdpLambdaArnT = Aws::String>
124 SetIdpLambdaArn(std::forward<IdpLambdaArnT>(value));
125 return *this;
126 }
128 private:
130
131 bool m_fineGrainedAuthorizationEnabled{false};
132
133 Aws::String m_metadata;
134
135 Aws::String m_idpLambdaArn;
136 bool m_authorizationStrategyHasBeenSet = false;
137 bool m_fineGrainedAuthorizationEnabledHasBeenSet = false;
138 bool m_metadataHasBeenSet = false;
139 bool m_idpLambdaArnHasBeenSet = false;
140};
141
142} // namespace Model
143} // namespace HealthLake
144} // namespace Aws
IdentityProviderConfiguration & WithIdpLambdaArn(IdpLambdaArnT &&value)
AWS_HEALTHLAKE_API IdentityProviderConfiguration(Aws::Utils::Json::JsonView jsonValue)
IdentityProviderConfiguration & WithMetadata(MetadataT &&value)
AWS_HEALTHLAKE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_HEALTHLAKE_API IdentityProviderConfiguration()=default
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