AWS SDK for C++

AWS SDK for C++ Version 1.11.868

Loading...
Searching...
No Matches
IdentitySource.h
1
6#pragma once
7#include <aws/account-access/AccountAccess_EXPORTS.h>
8#include <aws/account-access/model/IdentityCenter.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace AccountAccess {
20namespace Model {
21
29 public:
30 AWS_ACCOUNTACCESS_API IdentitySource() = default;
31 AWS_ACCOUNTACCESS_API IdentitySource(Aws::Utils::Json::JsonView jsonValue);
32 AWS_ACCOUNTACCESS_API IdentitySource& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_ACCOUNTACCESS_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const IdentityCenter& GetIdentityCenter() const { return m_identityCenter; }
40 inline bool IdentityCenterHasBeenSet() const { return m_identityCenterHasBeenSet; }
41 template <typename IdentityCenterT = IdentityCenter>
42 void SetIdentityCenter(IdentityCenterT&& value) {
43 m_identityCenterHasBeenSet = true;
44 m_identityCenter = std::forward<IdentityCenterT>(value);
45 }
46 template <typename IdentityCenterT = IdentityCenter>
47 IdentitySource& WithIdentityCenter(IdentityCenterT&& value) {
48 SetIdentityCenter(std::forward<IdentityCenterT>(value));
49 return *this;
50 }
52 private:
53 IdentityCenter m_identityCenter;
54 bool m_identityCenterHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace AccountAccess
59} // namespace Aws
AWS_ACCOUNTACCESS_API IdentitySource(Aws::Utils::Json::JsonView jsonValue)
AWS_ACCOUNTACCESS_API Aws::Utils::Json::JsonValue Jsonize() const
IdentitySource & WithIdentityCenter(IdentityCenterT &&value)
AWS_ACCOUNTACCESS_API IdentitySource & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ACCOUNTACCESS_API IdentitySource()=default
const IdentityCenter & GetIdentityCenter() const
void SetIdentityCenter(IdentityCenterT &&value)
Aws::Utils::Json::JsonValue JsonValue