AWS SDK for C++  1.9.155
AWS SDK for C++
AuthorizationConfig.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace AppSync
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
46  inline const AuthorizationType& GetAuthorizationType() const{ return m_authorizationType; }
47 
52  inline bool AuthorizationTypeHasBeenSet() const { return m_authorizationTypeHasBeenSet; }
53 
58  inline void SetAuthorizationType(const AuthorizationType& value) { m_authorizationTypeHasBeenSet = true; m_authorizationType = value; }
59 
64  inline void SetAuthorizationType(AuthorizationType&& value) { m_authorizationTypeHasBeenSet = true; m_authorizationType = std::move(value); }
65 
70  inline AuthorizationConfig& WithAuthorizationType(const AuthorizationType& value) { SetAuthorizationType(value); return *this;}
71 
76  inline AuthorizationConfig& WithAuthorizationType(AuthorizationType&& value) { SetAuthorizationType(std::move(value)); return *this;}
77 
78 
82  inline const AwsIamConfig& GetAwsIamConfig() const{ return m_awsIamConfig; }
83 
87  inline bool AwsIamConfigHasBeenSet() const { return m_awsIamConfigHasBeenSet; }
88 
92  inline void SetAwsIamConfig(const AwsIamConfig& value) { m_awsIamConfigHasBeenSet = true; m_awsIamConfig = value; }
93 
97  inline void SetAwsIamConfig(AwsIamConfig&& value) { m_awsIamConfigHasBeenSet = true; m_awsIamConfig = std::move(value); }
98 
102  inline AuthorizationConfig& WithAwsIamConfig(const AwsIamConfig& value) { SetAwsIamConfig(value); return *this;}
103 
107  inline AuthorizationConfig& WithAwsIamConfig(AwsIamConfig&& value) { SetAwsIamConfig(std::move(value)); return *this;}
108 
109  private:
110 
111  AuthorizationType m_authorizationType;
112  bool m_authorizationTypeHasBeenSet;
113 
114  AwsIamConfig m_awsIamConfig;
115  bool m_awsIamConfigHasBeenSet;
116  };
117 
118 } // namespace Model
119 } // namespace AppSync
120 } // namespace Aws
Aws::AppSync::Model::AuthorizationConfig::WithAuthorizationType
AuthorizationConfig & WithAuthorizationType(AuthorizationType &&value)
Definition: AuthorizationConfig.h:76
Aws::AppSync::Model::AuthorizationConfig::SetAuthorizationType
void SetAuthorizationType(AuthorizationType &&value)
Definition: AuthorizationConfig.h:64
Aws::AppSync::Model::AuthorizationConfig::operator=
AuthorizationConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppSync::Model::AuthorizationConfig::AuthorizationConfig
AuthorizationConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::AppSync::Model::AuthorizationConfig::AwsIamConfigHasBeenSet
bool AwsIamConfigHasBeenSet() const
Definition: AuthorizationConfig.h:87
AppSync_EXPORTS.h
Aws::AppSync::Model::AuthorizationConfig::GetAuthorizationType
const AuthorizationType & GetAuthorizationType() const
Definition: AuthorizationConfig.h:46
Aws::AppSync::Model::AuthorizationConfig::GetAwsIamConfig
const AwsIamConfig & GetAwsIamConfig() const
Definition: AuthorizationConfig.h:82
Aws::AppSync::Model::AuthorizationConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AppSync::Model::AwsIamConfig
Definition: AwsIamConfig.h:33
Aws::AppSync::Model::AuthorizationConfig::AuthorizationTypeHasBeenSet
bool AuthorizationTypeHasBeenSet() const
Definition: AuthorizationConfig.h:52
AuthorizationType.h
Aws::AppSync::Model::AuthorizationConfig::WithAwsIamConfig
AuthorizationConfig & WithAwsIamConfig(const AwsIamConfig &value)
Definition: AuthorizationConfig.h:102
AwsIamConfig.h
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AppSync::Model::AuthorizationConfig::SetAwsIamConfig
void SetAwsIamConfig(AwsIamConfig &&value)
Definition: AuthorizationConfig.h:97
Aws::AppSync::Model::AuthorizationConfig::SetAuthorizationType
void SetAuthorizationType(const AuthorizationType &value)
Definition: AuthorizationConfig.h:58
Aws::AppSync::Model::AuthorizationType
AuthorizationType
Definition: AuthorizationType.h:17
Aws::AppSync::Model::AuthorizationConfig::AuthorizationConfig
AuthorizationConfig()
Aws::AppSync::Model::AuthorizationConfig
Definition: AuthorizationConfig.h:34
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::AppSync::Model::AuthorizationConfig::WithAwsIamConfig
AuthorizationConfig & WithAwsIamConfig(AwsIamConfig &&value)
Definition: AuthorizationConfig.h:107
AWS_APPSYNC_API
#define AWS_APPSYNC_API
Definition: AppSync_EXPORTS.h:28
Aws::AppSync::Model::AuthorizationConfig::SetAwsIamConfig
void SetAwsIamConfig(const AwsIamConfig &value)
Definition: AuthorizationConfig.h:92
Aws::AppSync::Model::AuthorizationConfig::WithAuthorizationType
AuthorizationConfig & WithAuthorizationType(const AuthorizationType &value)
Definition: AuthorizationConfig.h:70