AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AuthMode.h
1
6#pragma once
7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/appsync/model/AuthenticationType.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
34 {
35 public:
36 AWS_APPSYNC_API AuthMode() = default;
37 AWS_APPSYNC_API AuthMode(Aws::Utils::Json::JsonView jsonValue);
38 AWS_APPSYNC_API AuthMode& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline AuthenticationType GetAuthType() const { return m_authType; }
47 inline bool AuthTypeHasBeenSet() const { return m_authTypeHasBeenSet; }
48 inline void SetAuthType(AuthenticationType value) { m_authTypeHasBeenSet = true; m_authType = value; }
49 inline AuthMode& WithAuthType(AuthenticationType value) { SetAuthType(value); return *this;}
51 private:
52
54 bool m_authTypeHasBeenSet = false;
55 };
56
57} // namespace Model
58} // namespace AppSync
59} // namespace Aws
bool AuthTypeHasBeenSet() const
Definition AuthMode.h:47
AuthenticationType GetAuthType() const
Definition AuthMode.h:46
AWS_APPSYNC_API AuthMode(Aws::Utils::Json::JsonView jsonValue)
void SetAuthType(AuthenticationType value)
Definition AuthMode.h:48
AWS_APPSYNC_API AuthMode & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPSYNC_API AuthMode()=default
AuthMode & WithAuthType(AuthenticationType value)
Definition AuthMode.h:49
AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue