AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Identity.h
1
6#pragma once
7#include <aws/eks/EKS_EXPORTS.h>
8#include <aws/eks/model/OIDC.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 EKS
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_EKS_API Identity() = default;
35 AWS_EKS_API Identity(Aws::Utils::Json::JsonView jsonValue);
38
39
41
45 inline const OIDC& GetOidc() const { return m_oidc; }
46 inline bool OidcHasBeenSet() const { return m_oidcHasBeenSet; }
47 template<typename OidcT = OIDC>
48 void SetOidc(OidcT&& value) { m_oidcHasBeenSet = true; m_oidc = std::forward<OidcT>(value); }
49 template<typename OidcT = OIDC>
50 Identity& WithOidc(OidcT&& value) { SetOidc(std::forward<OidcT>(value)); return *this;}
52 private:
53
54 OIDC m_oidc;
55 bool m_oidcHasBeenSet = false;
56 };
57
58} // namespace Model
59} // namespace EKS
60} // namespace Aws
AWS_EKS_API Identity & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetOidc(OidcT &&value)
Definition Identity.h:48
const OIDC & GetOidc() const
Definition Identity.h:45
Identity & WithOidc(OidcT &&value)
Definition Identity.h:50
AWS_EKS_API Identity()=default
bool OidcHasBeenSet() const
Definition Identity.h:46
AWS_EKS_API Identity(Aws::Utils::Json::JsonView jsonValue)
AWS_EKS_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue