AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AlternateIdentifier.h
1
6#pragma once
7#include <aws/identitystore/IdentityStore_EXPORTS.h>
8#include <aws/identitystore/model/ExternalId.h>
9#include <aws/identitystore/model/UniqueAttribute.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace IdentityStore
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_IDENTITYSTORE_API AlternateIdentifier();
39 AWS_IDENTITYSTORE_API AlternateIdentifier(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IDENTITYSTORE_API AlternateIdentifier& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_IDENTITYSTORE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const ExternalId& GetExternalId() const{ return m_externalId; }
49 inline bool ExternalIdHasBeenSet() const { return m_externalIdHasBeenSet; }
50 inline void SetExternalId(const ExternalId& value) { m_externalIdHasBeenSet = true; m_externalId = value; }
51 inline void SetExternalId(ExternalId&& value) { m_externalIdHasBeenSet = true; m_externalId = std::move(value); }
52 inline AlternateIdentifier& WithExternalId(const ExternalId& value) { SetExternalId(value); return *this;}
53 inline AlternateIdentifier& WithExternalId(ExternalId&& value) { SetExternalId(std::move(value)); return *this;}
55
57
60 inline const UniqueAttribute& GetUniqueAttribute() const{ return m_uniqueAttribute; }
61 inline bool UniqueAttributeHasBeenSet() const { return m_uniqueAttributeHasBeenSet; }
62 inline void SetUniqueAttribute(const UniqueAttribute& value) { m_uniqueAttributeHasBeenSet = true; m_uniqueAttribute = value; }
63 inline void SetUniqueAttribute(UniqueAttribute&& value) { m_uniqueAttributeHasBeenSet = true; m_uniqueAttribute = std::move(value); }
64 inline AlternateIdentifier& WithUniqueAttribute(const UniqueAttribute& value) { SetUniqueAttribute(value); return *this;}
65 inline AlternateIdentifier& WithUniqueAttribute(UniqueAttribute&& value) { SetUniqueAttribute(std::move(value)); return *this;}
67 private:
68
69 ExternalId m_externalId;
70 bool m_externalIdHasBeenSet = false;
71
72 UniqueAttribute m_uniqueAttribute;
73 bool m_uniqueAttributeHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace IdentityStore
78} // namespace Aws
AlternateIdentifier & WithExternalId(ExternalId &&value)
AWS_IDENTITYSTORE_API AlternateIdentifier(Aws::Utils::Json::JsonView jsonValue)
const UniqueAttribute & GetUniqueAttribute() const
void SetUniqueAttribute(const UniqueAttribute &value)
AWS_IDENTITYSTORE_API AlternateIdentifier & operator=(Aws::Utils::Json::JsonView jsonValue)
AlternateIdentifier & WithExternalId(const ExternalId &value)
AlternateIdentifier & WithUniqueAttribute(UniqueAttribute &&value)
AWS_IDENTITYSTORE_API Aws::Utils::Json::JsonValue Jsonize() const
AlternateIdentifier & WithUniqueAttribute(const UniqueAttribute &value)
Aws::Utils::Json::JsonValue JsonValue