AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
SsoIdentity.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/eks/EKS_EXPORTS.h>
9#include <aws/eks/model/SsoIdentityType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace EKS {
21namespace Model {
22
30 public:
31 AWS_EKS_API SsoIdentity() = default;
35
37
41 inline const Aws::String& GetId() const { return m_id; }
42 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
43 template <typename IdT = Aws::String>
44 void SetId(IdT&& value) {
45 m_idHasBeenSet = true;
46 m_id = std::forward<IdT>(value);
47 }
48 template <typename IdT = Aws::String>
49 SsoIdentity& WithId(IdT&& value) {
50 SetId(std::forward<IdT>(value));
51 return *this;
52 }
54
56
60 inline SsoIdentityType GetType() const { return m_type; }
61 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
62 inline void SetType(SsoIdentityType value) {
63 m_typeHasBeenSet = true;
64 m_type = value;
65 }
67 SetType(value);
68 return *this;
69 }
71 private:
72 Aws::String m_id;
73
75 bool m_idHasBeenSet = false;
76 bool m_typeHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace EKS
81} // namespace Aws
AWS_EKS_API SsoIdentity & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_EKS_API SsoIdentity()=default
void SetId(IdT &&value)
Definition SsoIdentity.h:44
AWS_EKS_API SsoIdentity(Aws::Utils::Json::JsonView jsonValue)
SsoIdentityType GetType() const
Definition SsoIdentity.h:60
AWS_EKS_API Aws::Utils::Json::JsonValue Jsonize() const
SsoIdentity & WithId(IdT &&value)
Definition SsoIdentity.h:49
void SetType(SsoIdentityType value)
Definition SsoIdentity.h:62
SsoIdentity & WithType(SsoIdentityType value)
Definition SsoIdentity.h:66
const Aws::String & GetId() const
Definition SsoIdentity.h:41
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue