AWS SDK for C++

AWS SDK for C++ Version 1.11.943

Loading...
Searching...
No Matches
IdentityStoreUpdate.h
1
6#pragma once
7#include <aws/assurance/Assurance_EXPORTS.h>
8#include <aws/assurance/model/IdentityStoreConfig.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 IdentityStoreUpdate() = default;
32 AWS_ASSURANCE_API IdentityStoreUpdate(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_ASSURANCE_API IdentityStoreUpdate& 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 IdentityStoreConfig& GetConfig() const { return m_config; }
41 inline bool ConfigHasBeenSet() const { return m_configHasBeenSet; }
42 template <typename ConfigT = IdentityStoreConfig>
43 void SetConfig(ConfigT&& value) {
44 m_configHasBeenSet = true;
45 m_config = std::forward<ConfigT>(value);
46 }
47 template <typename ConfigT = IdentityStoreConfig>
48 IdentityStoreUpdate& WithConfig(ConfigT&& value) {
49 SetConfig(std::forward<ConfigT>(value));
50 return *this;
51 }
53
55
58 inline bool GetDisabled() const { return m_disabled; }
59 inline bool DisabledHasBeenSet() const { return m_disabledHasBeenSet; }
60 inline void SetDisabled(bool value) {
61 m_disabledHasBeenSet = true;
62 m_disabled = value;
63 }
64 inline IdentityStoreUpdate& WithDisabled(bool value) {
65 SetDisabled(value);
66 return *this;
67 }
69 private:
70 IdentityStoreConfig m_config;
71
72 bool m_disabled{false};
73 bool m_configHasBeenSet = false;
74 bool m_disabledHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace Assurance
79} // namespace Aws
AWS_ASSURANCE_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_ASSURANCE_API IdentityStoreUpdate(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_ASSURANCE_API IdentityStoreUpdate()=default
IdentityStoreUpdate & WithDisabled(bool value)
IdentityStoreUpdate & WithConfig(ConfigT &&value)
const IdentityStoreConfig & GetConfig() const
AWS_ASSURANCE_API IdentityStoreUpdate & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)