AWS SDK for C++

AWS SDK for C++ Version 1.11.743

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace AppSync {
20namespace Model {
21
29class AuthMode {
30 public:
31 AWS_APPSYNC_API AuthMode() = default;
32 AWS_APPSYNC_API AuthMode(Aws::Utils::Json::JsonView jsonValue);
33 AWS_APPSYNC_API AuthMode& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline AuthenticationType GetAuthType() const { return m_authType; }
41 inline bool AuthTypeHasBeenSet() const { return m_authTypeHasBeenSet; }
42 inline void SetAuthType(AuthenticationType value) {
43 m_authTypeHasBeenSet = true;
44 m_authType = value;
45 }
47 SetAuthType(value);
48 return *this;
49 }
51 private:
53 bool m_authTypeHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace AppSync
58} // namespace Aws
bool AuthTypeHasBeenSet() const
Definition AuthMode.h:41
AuthenticationType GetAuthType() const
Definition AuthMode.h:40
AWS_APPSYNC_API AuthMode(Aws::Utils::Json::JsonView jsonValue)
void SetAuthType(AuthenticationType value)
Definition AuthMode.h:42
AWS_APPSYNC_API AuthMode & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPSYNC_API AuthMode()=default
AuthMode & WithAuthType(AuthenticationType value)
Definition AuthMode.h:46
AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue