AWS SDK for C++

AWS SDK for C++ Version 1.11.941

Loading...
Searching...
No Matches
IdentityCenterUpdate.h
1
6#pragma once
7#include <aws/credentialbroker-control/CredentialBrokerControl_EXPORTS.h>
8#include <aws/credentialbroker-control/model/IdentityCenterConfiguration.h>
9#include <aws/credentialbroker-control/model/Unit.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace CredentialBrokerControl {
21namespace Model {
22
31 public:
32 AWS_CREDENTIALBROKERCONTROL_API IdentityCenterUpdate() = default;
33 AWS_CREDENTIALBROKERCONTROL_API IdentityCenterUpdate(Aws::Utils::Json::JsonView jsonValue);
34 AWS_CREDENTIALBROKERCONTROL_API IdentityCenterUpdate& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_CREDENTIALBROKERCONTROL_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const IdentityCenterConfiguration& GetAssociate() const { return m_associate; }
42 inline bool AssociateHasBeenSet() const { return m_associateHasBeenSet; }
43 template <typename AssociateT = IdentityCenterConfiguration>
44 void SetAssociate(AssociateT&& value) {
45 m_associateHasBeenSet = true;
46 m_associate = std::forward<AssociateT>(value);
47 }
48 template <typename AssociateT = IdentityCenterConfiguration>
49 IdentityCenterUpdate& WithAssociate(AssociateT&& value) {
50 SetAssociate(std::forward<AssociateT>(value));
51 return *this;
52 }
54
56
60 inline const Unit& GetDisassociate() const { return m_disassociate; }
61 inline bool DisassociateHasBeenSet() const { return m_disassociateHasBeenSet; }
62 template <typename DisassociateT = Unit>
63 void SetDisassociate(DisassociateT&& value) {
64 m_disassociateHasBeenSet = true;
65 m_disassociate = std::forward<DisassociateT>(value);
66 }
67 template <typename DisassociateT = Unit>
68 IdentityCenterUpdate& WithDisassociate(DisassociateT&& value) {
69 SetDisassociate(std::forward<DisassociateT>(value));
70 return *this;
71 }
73 private:
75
76 Unit m_disassociate;
77 bool m_associateHasBeenSet = false;
78 bool m_disassociateHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace CredentialBrokerControl
83} // namespace Aws
AWS_CREDENTIALBROKERCONTROL_API IdentityCenterUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
IdentityCenterUpdate & WithDisassociate(DisassociateT &&value)
AWS_CREDENTIALBROKERCONTROL_API IdentityCenterUpdate(Aws::Utils::Json::JsonView jsonValue)
AWS_CREDENTIALBROKERCONTROL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CREDENTIALBROKERCONTROL_API IdentityCenterUpdate()=default
const IdentityCenterConfiguration & GetAssociate() const
IdentityCenterUpdate & WithAssociate(AssociateT &&value)
Aws::Utils::Json::JsonValue JsonValue