AWS SDK for C++

AWS SDK for C++ Version 1.11.943

Loading...
Searching...
No Matches
IdentityStoreConfig.h
1
6#pragma once
7#include <aws/assurance/Assurance_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/crt/cbor/Cbor.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Cbor {
16class CborValue;
17} // namespace Cbor
18} // namespace Utils
19namespace Assurance {
20namespace Model {
21
30 public:
31 AWS_ASSURANCE_API IdentityStoreConfig() = default;
32 AWS_ASSURANCE_API IdentityStoreConfig(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_ASSURANCE_API IdentityStoreConfig& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_ASSURANCE_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
35
37
40 inline const Aws::String& GetInstanceArn() const { return m_instanceArn; }
41 inline bool InstanceArnHasBeenSet() const { return m_instanceArnHasBeenSet; }
42 template <typename InstanceArnT = Aws::String>
43 void SetInstanceArn(InstanceArnT&& value) {
44 m_instanceArnHasBeenSet = true;
45 m_instanceArn = std::forward<InstanceArnT>(value);
46 }
47 template <typename InstanceArnT = Aws::String>
48 IdentityStoreConfig& WithInstanceArn(InstanceArnT&& value) {
49 SetInstanceArn(std::forward<InstanceArnT>(value));
50 return *this;
51 }
53
55
60 inline const Aws::String& GetIdentityCenterRole() const { return m_identityCenterRole; }
61 inline bool IdentityCenterRoleHasBeenSet() const { return m_identityCenterRoleHasBeenSet; }
62 template <typename IdentityCenterRoleT = Aws::String>
63 void SetIdentityCenterRole(IdentityCenterRoleT&& value) {
64 m_identityCenterRoleHasBeenSet = true;
65 m_identityCenterRole = std::forward<IdentityCenterRoleT>(value);
66 }
67 template <typename IdentityCenterRoleT = Aws::String>
68 IdentityStoreConfig& WithIdentityCenterRole(IdentityCenterRoleT&& value) {
69 SetIdentityCenterRole(std::forward<IdentityCenterRoleT>(value));
70 return *this;
71 }
73 private:
74 Aws::String m_instanceArn;
75
76 Aws::String m_identityCenterRole;
77 bool m_instanceArnHasBeenSet = false;
78 bool m_identityCenterRoleHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace Assurance
83} // namespace Aws
AWS_ASSURANCE_API IdentityStoreConfig(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetIdentityCenterRole(IdentityCenterRoleT &&value)
AWS_ASSURANCE_API IdentityStoreConfig & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_ASSURANCE_API IdentityStoreConfig()=default
const Aws::String & GetIdentityCenterRole() const
IdentityStoreConfig & WithIdentityCenterRole(IdentityCenterRoleT &&value)
IdentityStoreConfig & WithInstanceArn(InstanceArnT &&value)
AWS_ASSURANCE_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String