AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const AuthenticationType& GetAuthType() const{ return m_authType; }
47 inline bool AuthTypeHasBeenSet() const { return m_authTypeHasBeenSet; }
48 inline void SetAuthType(const AuthenticationType& value) { m_authTypeHasBeenSet = true; m_authType = value; }
49 inline void SetAuthType(AuthenticationType&& value) { m_authTypeHasBeenSet = true; m_authType = std::move(value); }
50 inline AuthMode& WithAuthType(const AuthenticationType& value) { SetAuthType(value); return *this;}
51 inline AuthMode& WithAuthType(AuthenticationType&& value) { SetAuthType(std::move(value)); return *this;}
53 private:
54
55 AuthenticationType m_authType;
56 bool m_authTypeHasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace AppSync
61} // namespace Aws
bool AuthTypeHasBeenSet() const
Definition AuthMode.h:47
AWS_APPSYNC_API AuthMode(Aws::Utils::Json::JsonView jsonValue)
const AuthenticationType & GetAuthType() const
Definition AuthMode.h:46
AWS_APPSYNC_API AuthMode & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAuthType(const AuthenticationType &value)
Definition AuthMode.h:48
AWS_APPSYNC_API AuthMode()
AuthMode & WithAuthType(AuthenticationType &&value)
Definition AuthMode.h:51
AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
AuthMode & WithAuthType(const AuthenticationType &value)
Definition AuthMode.h:50
void SetAuthType(AuthenticationType &&value)
Definition AuthMode.h:49
Aws::Utils::Json::JsonValue JsonValue