AWS SDK for C++

AWS SDK for C++ Version 1.11.943

Loading...
Searching...
No Matches
IdentityStoreInfo.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
29 public:
30 AWS_ASSURANCE_API IdentityStoreInfo() = default;
31 AWS_ASSURANCE_API IdentityStoreInfo(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
32 AWS_ASSURANCE_API IdentityStoreInfo& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_ASSURANCE_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
34
36
40 inline const Aws::String& GetApplicationArn() const { return m_applicationArn; }
41 inline bool ApplicationArnHasBeenSet() const { return m_applicationArnHasBeenSet; }
42 template <typename ApplicationArnT = Aws::String>
43 void SetApplicationArn(ApplicationArnT&& value) {
44 m_applicationArnHasBeenSet = true;
45 m_applicationArn = std::forward<ApplicationArnT>(value);
46 }
47 template <typename ApplicationArnT = Aws::String>
48 IdentityStoreInfo& WithApplicationArn(ApplicationArnT&& value) {
49 SetApplicationArn(std::forward<ApplicationArnT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetInstanceArn() const { return m_instanceArn; }
60 inline bool InstanceArnHasBeenSet() const { return m_instanceArnHasBeenSet; }
61 template <typename InstanceArnT = Aws::String>
62 void SetInstanceArn(InstanceArnT&& value) {
63 m_instanceArnHasBeenSet = true;
64 m_instanceArn = std::forward<InstanceArnT>(value);
65 }
66 template <typename InstanceArnT = Aws::String>
67 IdentityStoreInfo& WithInstanceArn(InstanceArnT&& value) {
68 SetInstanceArn(std::forward<InstanceArnT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetRegion() const { return m_region; }
78 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
79 template <typename RegionT = Aws::String>
80 void SetRegion(RegionT&& value) {
81 m_regionHasBeenSet = true;
82 m_region = std::forward<RegionT>(value);
83 }
84 template <typename RegionT = Aws::String>
85 IdentityStoreInfo& WithRegion(RegionT&& value) {
86 SetRegion(std::forward<RegionT>(value));
87 return *this;
88 }
90
92
96 inline const Aws::String& GetIdentityCenterRole() const { return m_identityCenterRole; }
97 inline bool IdentityCenterRoleHasBeenSet() const { return m_identityCenterRoleHasBeenSet; }
98 template <typename IdentityCenterRoleT = Aws::String>
99 void SetIdentityCenterRole(IdentityCenterRoleT&& value) {
100 m_identityCenterRoleHasBeenSet = true;
101 m_identityCenterRole = std::forward<IdentityCenterRoleT>(value);
102 }
103 template <typename IdentityCenterRoleT = Aws::String>
104 IdentityStoreInfo& WithIdentityCenterRole(IdentityCenterRoleT&& value) {
105 SetIdentityCenterRole(std::forward<IdentityCenterRoleT>(value));
106 return *this;
107 }
109 private:
110 Aws::String m_applicationArn;
111
112 Aws::String m_instanceArn;
113
114 Aws::String m_region;
115
116 Aws::String m_identityCenterRole;
117 bool m_applicationArnHasBeenSet = false;
118 bool m_instanceArnHasBeenSet = false;
119 bool m_regionHasBeenSet = false;
120 bool m_identityCenterRoleHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace Assurance
125} // namespace Aws
void SetInstanceArn(InstanceArnT &&value)
const Aws::String & GetApplicationArn() const
void SetApplicationArn(ApplicationArnT &&value)
IdentityStoreInfo & WithIdentityCenterRole(IdentityCenterRoleT &&value)
AWS_ASSURANCE_API IdentityStoreInfo()=default
AWS_ASSURANCE_API IdentityStoreInfo(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_ASSURANCE_API IdentityStoreInfo & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
IdentityStoreInfo & WithApplicationArn(ApplicationArnT &&value)
void SetIdentityCenterRole(IdentityCenterRoleT &&value)
IdentityStoreInfo & WithInstanceArn(InstanceArnT &&value)
const Aws::String & GetInstanceArn() const
const Aws::String & GetIdentityCenterRole() const
AWS_ASSURANCE_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
IdentityStoreInfo & WithRegion(RegionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String